The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of CodeEditor, reference 1.2.6 (f5c076), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 00:57:44 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ZeeZide/CodeEditor.git
Reference: 1.2.6
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeZide/CodeEditor
 * tag               1.2.6      -> FETCH_HEAD
HEAD is now at f5c076b Merge pull request #32 from Condo97/main
Cloned https://github.com/ZeeZide/CodeEditor.git
Revision (git rev-parse @):
f5c076b94f4ceb05abff88ba91d75a8d57143f0c
SUCCESS checkout https://github.com/ZeeZide/CodeEditor.git at 1.2.6
Fetching https://github.com/helje5/Highlightr
[1/1975] Fetching highlightr
Fetched https://github.com/helje5/Highlightr from cache (1.14s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (1.64s)
Creating working copy for https://github.com/helje5/Highlightr
Working copy of https://github.com/helje5/Highlightr resolved at 3.0.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "codeeditor",
      "name": "CodeEditor",
      "url": "https://github.com/ZeeZide/CodeEditor.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CodeEditor",
      "dependencies": [
        {
          "identity": "highlightr",
          "name": "Highlightr",
          "url": "https://github.com/helje5/Highlightr",
          "version": "3.0.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Highlightr",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/ZeeZide/CodeEditor.git
[1/297] Fetching codeeditor
Fetched https://github.com/ZeeZide/CodeEditor.git from cache (0.65s)
Fetching https://github.com/helje5/Highlightr from cache
Fetched https://github.com/helje5/Highlightr from cache (0.44s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (0.51s)
Creating working copy for https://github.com/helje5/Highlightr
Working copy of https://github.com/helje5/Highlightr resolved at 3.0.2
Creating working copy for https://github.com/ZeeZide/CodeEditor.git
Working copy of https://github.com/ZeeZide/CodeEditor.git resolved at 1.2.6 (f5c076b)
warning: '.resolve-product-dependencies': dependency 'codeeditor' is not used by any target
Found 1 product dependencies
  - Highlightr
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ZeeZide/CodeEditor.git
https://github.com/ZeeZide/CodeEditor.git
{
  "dependencies" : [
    {
      "identity" : "highlightr",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.2",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/helje5/Highlightr"
    }
  ],
  "manifest_display_name" : "CodeEditor",
  "name" : "CodeEditor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CodeEditor",
      "targets" : [
        "CodeEditor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CodeEditor",
      "module_type" : "SwiftTarget",
      "name" : "CodeEditor",
      "path" : "Sources/CodeEditor",
      "product_dependencies" : [
        "Highlightr"
      ],
      "product_memberships" : [
        "CodeEditor"
      ],
      "sources" : [
        "CodeEditor.swift",
        "Language.swift",
        "ThemeName.swift",
        "TypedString.swift",
        "UXCodeTextView.swift",
        "UXCodeTextViewRepresentable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/94] Copying highlight.min.js
[1/94] Copying hopscotch.min.css
[2/94] Copying grayscale.min.css
[2/94] Copying gruvbox-light.min.css
[2/94] Copying idea.min.css
[2/94] Copying gruvbox-dark.min.css
[2/94] Copying isbl-editor-dark.min.css
[2/94] Copying hybrid.min.css
[2/94] Copying ir-black.min.css
[3/94] Copying zenburn.min.css
[9/94] Copying xt256.min.css
[9/94] Copying vs2015.min.css
[9/94] Copying tomorrow.min.css
[12/94] Copying xcode.min.css
[13/94] Copying tomorrow-night-eighties.min.css
[14/94] Copying vs.min.css
[14/94] Copying tomorrow-night.min.css
[14/94] Copying sunburst.min.css
[15/94] Copying solarized-light.min.css
[15/94] Copying xcode-dark.min.css
[15/94] Copying tomorrow-night-blue.min.css
[21/94] Copying tomorrow-night-bright.min.css
[22/94] Copying shades-of-purple.min.css
[22/94] Copying railscasts.min.css
[22/94] Copying school-book.min.css
[24/94] Copying solarized-dark.min.css
[24/94] Copying rainbow.min.css
[24/94] Copying purebasic.min.css
[24/94] Copying routeros.min.css
[24/94] Copying qtcreator_dark.min.css
[24/94] Copying pojoaque.min.css
[30/94] Copying qtcreator_light.min.css
[32/94] Copying paraiso-light.min.css
[32/94] Copying paraiso-dark.min.css
[32/94] Copying ocean.min.css
[33/94] Copying obsidian.min.css
[34/94] Copying monokai-sublime.min.css
[34/94] Copying mono-blue.min.css
[36/94] Copying magula.min.css
[36/94] Copying nord.min.css
[38/94] Copying monokai.min.css
[41/94] Copying lightfair.min.css
[42/94] Copying kimbie.dark.min.css
[42/94] Copying far.min.css
[42/94] Copying kimbie.light.min.css
[42/94] Copying gml.min.css
[42/94] Copying github.min.css
[42/94] Copying googlecode.min.css
[42/94] Copying isbl-editor-light.min.css
[42/94] Copying github-gist.min.css
[42/94] Copying foundation.min.css
[51/94] Copying dracula.min.css
[51/94] Copying darcula.min.css
[51/94] Copying docco.min.css
[51/94] Copying darkula.min.css
[51/94] Copying atom-one-light.min.css
[51/94] Copying brown-paper.min.css
[51/94] Copying atom-one-dark.min.css
[56/94] Copying default.min.css
[56/94] Copying dark.min.css
[56/94] Copying codepen-embed.min.css
[56/94] Copying color-brewer.min.css
[61/94] Copying atom-one-dark-reasonable.min.css
[61/94] Copying atelier-seaside-light.min.css
[61/94] Copying atelier-plateau-dark.min.css
[65/94] Copying atelier-sulphurpool-dark.min.css
[65/94] Copying atelier-savanna-dark.min.css
[65/94] Copying atelier-plateau-light.min.css
[65/94] Copying atelier-sulphurpool-light.min.css
[65/94] Copying atelier-lakeside-dark.min.css
[65/94] Copying atelier-seaside-dark.min.css
[65/94] Copying atelier-lakeside-light.min.css
[65/94] Copying atelier-savanna-light.min.css
[65/94] Copying atelier-heath-light.min.css
[73/94] Copying atelier-cave-light.min.css
[75/94] Copying atelier-estuary-light.min.css
[75/94] Copying atelier-estuary-dark.min.css
[75/94] Copying ascetic.min.css
[75/94] Copying atelier-heath-dark.min.css
[75/94] Copying atelier-dune-dark.min.css
[75/94] Copying atelier-cave-dark.min.css
[75/94] Copying atelier-forest-light.min.css
[75/94] Copying atelier-dune-light.min.css
[77/94] Copying atelier-forest-dark.min.css
[84/94] Copying arduino-light.min.css
[85/94] Copying arta.min.css
[86/94] Copying an-old-hope.min.css
[86/94] Write sources
[86/94] Copying agate.min.css
[88/94] Copying a11y-light.min.css
[88/94] Copying a11y-dark.min.css
[90/94] Copying androidstudio.min.css
[93/94] Write swift-version-2F0A5646E1D333AE.txt
[95/101] Compiling Highlightr resource_bundle_accessor.swift
[96/101] Compiling Highlightr Shims.swift
[97/101] Compiling Highlightr Theme.swift
[98/101] Compiling Highlightr HTMLUtils.swift
[99/101] Compiling Highlightr Highlightr.swift
[100/101] Emitting module Highlightr
[101/101] Compiling Highlightr CodeAttributedString.swift
[102/108] Compiling CodeEditor ThemeName.swift
[103/108] Emitting module CodeEditor
[104/108] Compiling CodeEditor UXCodeTextView.swift
[105/108] Compiling CodeEditor Language.swift
[106/108] Compiling CodeEditor TypedString.swift
[107/108] Compiling CodeEditor CodeEditor.swift
[108/108] Compiling CodeEditor UXCodeTextViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:129:21: warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   // might be destructed and recreated in between calls to `makeCoordinator()`
 89 |   // and `updateTextView(_:)`.
 90 |   @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
    |                      `- note: property declared here
 91 |
 92 |   // MARK: - TextView Delegate  Coordinator
    :
121 |     #endif
122 |
123 |     private func textViewDidChange(textView: UXTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
124 |       // This function may be called as a consequence of updating the text string
125 |       //  in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
127 |       // turn might update a `State`, this would lead to undefined behavior.
128 |       // (Changing a `State` during a `View` update is not permitted).
129 |       guard !parent.isCurrentlyUpdatingView.value else {
    |                     `- warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
130 |         return
131 |       }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:133:45: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
121 |     #endif
122 |
123 |     private func textViewDidChange(textView: UXTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
124 |       // This function may be called as a consequence of updating the text string
125 |       //  in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
131 |       }
132 |
133 |       parent.source.wrappedValue = textView.string
    |                                             `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
134 |     }
135 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSText.h:69:28: note: property declared here
 67 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
 68 |
 69 | @property (copy) NSString *string;
    |                            `- note: property declared here
 70 |
 71 | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)string;
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:159:21: warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   // might be destructed and recreated in between calls to `makeCoordinator()`
 89 |   // and `updateTextView(_:)`.
 90 |   @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
    |                      `- note: property declared here
 91 |
 92 |   // MARK: - TextView Delegate  Coordinator
    :
151 |     #endif
152 |
153 |     private func textViewDidChangeSelection(textView: UXCodeTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
154 |       // This function may be called as a consequence of updating the selected
155 |       // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
157 |       // turn might update a `State`, this would lead to undefined behavior.
158 |       // (Changing a `State` during a `View` update is not permitted).
159 |       guard !parent.isCurrentlyUpdatingView.value else {
    |                     `- warning: main actor-isolated property 'isCurrentlyUpdatingView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
160 |         return
161 |       }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:167:28: warning: main actor-isolated property 'swiftSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
151 |     #endif
152 |
153 |     private func textViewDidChangeSelection(textView: UXCodeTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
154 |       // This function may be called as a consequence of updating the selected
155 |       // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
165 |       }
166 |
167 |       let range = textView.swiftSelectedRange
    |                            `- warning: main actor-isolated property 'swiftSelectedRange' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 |
169 |       if selection.wrappedValue != range {
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextView.swift:283:7: note: property declared here
281 | extension UXTextView {
282 |
283 |   var swiftSelectedRange : Range<String.Index> {
    |       `- note: property declared here
284 |     let s = self.string
285 |     guard !s.isEmpty else { return s.startIndex..<s.startIndex }
Build complete! (10.96s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "highlightr",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.2",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/helje5/Highlightr"
    }
  ],
  "manifest_display_name" : "CodeEditor",
  "name" : "CodeEditor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CodeEditor",
      "targets" : [
        "CodeEditor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CodeEditor",
      "module_type" : "SwiftTarget",
      "name" : "CodeEditor",
      "path" : "Sources/CodeEditor",
      "product_dependencies" : [
        "Highlightr"
      ],
      "product_memberships" : [
        "CodeEditor"
      ],
      "sources" : [
        "CodeEditor.swift",
        "Language.swift",
        "ThemeName.swift",
        "TypedString.swift",
        "UXCodeTextView.swift",
        "UXCodeTextViewRepresentable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.