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 develop (14cc19), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 00:57:25 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: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ZeeZide/CodeEditor
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 14cc191 Merge pull request #33 from lo-cafe/develop
Cloned https://github.com/ZeeZide/CodeEditor.git
Revision (git rev-parse @):
14cc19187a60a6433819d2c1564db0b4156bd55f
SUCCESS checkout https://github.com/ZeeZide/CodeEditor.git at develop
Fetching https://github.com/helje5/Highlightr
[1/1975] Fetching highlightr
Fetched https://github.com/helje5/Highlightr from cache (0.99s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (1.52s)
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.74s)
Fetching https://github.com/helje5/Highlightr from cache
Fetched https://github.com/helje5/Highlightr from cache (0.43s)
Computing version for https://github.com/helje5/Highlightr
Computed https://github.com/helje5/Highlightr at 3.0.2 (0.49s)
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 develop (14cc191)
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] Write sources
[2/94] Copying an-old-hope.min.css
[2/94] Copying arduino-light.min.css
[2/94] Copying xt256.min.css
[2/94] Copying highlight.min.js
[6/94] Copying zenburn.min.css
[6/94] Copying agate.min.css
[6/94] Copying xcode.min.css
[6/94] Copying androidstudio.min.css
[6/94] Copying xcode-dark.min.css
[6/94] Copying tomorrow-night.min.css
[11/94] Copying a11y-dark.min.css
[12/94] Copying vs2015.min.css
[12/94] Copying tomorrow-night-bright.min.css
[13/94] Copying tomorrow-night-blue.min.css
[13/94] Copying vs.min.css
[13/94] Copying sunburst.min.css
[14/94] Copying a11y-light.min.css
[18/94] Copying tomorrow-night-eighties.min.css
[18/94] Copying tomorrow.min.css
[20/94] Copying rainbow.min.css
[21/94] Copying solarized-light.min.css
[22/94] Copying school-book.min.css
[22/94] Copying routeros.min.css
[22/94] Copying solarized-dark.min.css
[22/94] Copying shades-of-purple.min.css
[22/94] Copying qtcreator_dark.min.css
[28/94] Copying purebasic.min.css
[29/94] Copying ocean.min.css
[30/94] Copying pojoaque.min.css
[31/94] Copying paraiso-dark.min.css
[31/94] Copying monokai.min.css
[31/94] Copying nord.min.css
[31/94] Copying paraiso-light.min.css
[31/94] Copying magula.min.css
[31/94] Copying obsidian.min.css
[36/94] Copying qtcreator_light.min.css
[36/94] Copying monokai-sublime.min.css
[36/94] Copying railscasts.min.css
[36/94] Copying lightfair.min.css
[37/94] Copying mono-blue.min.css
[41/94] Copying kimbie.light.min.css
[41/94] Copying idea.min.css
[41/94] Copying ir-black.min.css
[41/94] Copying isbl-editor-dark.min.css
[41/94] Copying kimbie.dark.min.css
[43/94] Copying isbl-editor-light.min.css
[44/94] Copying hybrid.min.css
[48/94] Copying hopscotch.min.css
[48/94] Copying googlecode.min.css
[49/94] Copying gruvbox-light.min.css
[49/94] Copying gruvbox-dark.min.css
[50/94] Copying github-gist.min.css
[53/94] Copying foundation.min.css
[53/94] Copying grayscale.min.css
[53/94] Copying github.min.css
[53/94] Copying far.min.css
[58/94] Copying gml.min.css
[59/94] Copying docco.min.css
[59/94] Copying default.min.css
[59/94] Copying dark.min.css
[59/94] Copying darkula.min.css
[59/94] Copying atom-one-light.min.css
[63/94] Copying darcula.min.css
[63/94] Copying dracula.min.css
[63/94] Copying codepen-embed.min.css
[64/94] Copying color-brewer.min.css
[65/94] Copying brown-paper.min.css
[68/94] Copying atom-one-dark.min.css
[69/94] Copying atelier-sulphurpool-light.min.css
[71/94] Copying atom-one-dark-reasonable.min.css
[71/94] Copying atelier-plateau-light.min.css
[71/94] Copying atelier-seaside-light.min.css
[71/94] Copying atelier-savanna-dark.min.css
[71/94] Copying atelier-savanna-light.min.css
[72/94] Copying atelier-seaside-dark.min.css
[72/94] Copying atelier-plateau-dark.min.css
[74/94] Copying atelier-lakeside-light.min.css
[78/94] Copying atelier-sulphurpool-dark.min.css
[80/94] Copying atelier-lakeside-dark.min.css
[81/94] Copying atelier-forest-light.min.css
[81/94] Copying atelier-heath-dark.min.css
[81/94] Copying atelier-estuary-dark.min.css
[81/94] Copying atelier-dune-dark.min.css
[85/94] Copying ascetic.min.css
[85/94] Copying atelier-estuary-light.min.css
[86/94] Copying atelier-forest-dark.min.css
[86/94] Copying atelier-cave-light.min.css
[86/94] Copying atelier-heath-light.min.css
[86/94] Copying atelier-cave-dark.min.css
[88/94] Copying atelier-dune-light.min.css
[92/94] Copying arta.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 Highlightr.swift
[98/101] Compiling Highlightr CodeAttributedString.swift
[99/101] Emitting module Highlightr
[100/101] Compiling Highlightr HTMLUtils.swift
[101/101] Compiling Highlightr Theme.swift
[102/108] Compiling CodeEditor ThemeName.swift
[103/108] Compiling CodeEditor UXCodeTextView.swift
[104/108] Compiling CodeEditor TypedString.swift
[105/108] Emitting module CodeEditor
[106/108] Compiling CodeEditor UXCodeTextViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:133: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
 92 |   // might be destructed and recreated in between calls to `makeCoordinator()`
 93 |   // and `updateTextView(_:)`.
 94 |   @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
    |                      `- note: property declared here
 95 |
 96 |   // MARK: - TextView Delegate  Coordinator
    :
125 |     #endif
126 |
127 |     private func textViewDidChange(textView: UXTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
128 |       // This function may be called as a consequence of updating the text string
129 |       //  in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
131 |       // turn might update a `State`, this would lead to undefined behavior.
132 |       // (Changing a `State` during a `View` update is not permitted).
133 |       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
134 |         return
135 |       }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:137: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
125 |     #endif
126 |
127 |     private func textViewDidChange(textView: UXTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChange(textView:)' part of global actor 'MainActor'
128 |       // This function may be called as a consequence of updating the text string
129 |       //  in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
135 |       }
136 |
137 |       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
138 |     }
139 |
/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:163: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
 92 |   // might be destructed and recreated in between calls to `makeCoordinator()`
 93 |   // and `updateTextView(_:)`.
 94 |   @State private var isCurrentlyUpdatingView = ReferenceTypeBool(value: false)
    |                      `- note: property declared here
 95 |
 96 |   // MARK: - TextView Delegate  Coordinator
    :
155 |     #endif
156 |
157 |     private func textViewDidChangeSelection(textView: UXCodeTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
158 |       // This function may be called as a consequence of updating the selected
159 |       // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
161 |       // turn might update a `State`, this would lead to undefined behavior.
162 |       // (Changing a `State` during a `View` update is not permitted).
163 |       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
164 |         return
165 |       }
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextViewRepresentable.swift:171: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
155 |     #endif
156 |
157 |     private func textViewDidChangeSelection(textView: UXCodeTextView) {
    |                  `- note: add '@MainActor' to make instance method 'textViewDidChangeSelection(textView:)' part of global actor 'MainActor'
158 |       // This function may be called as a consequence of updating the selected
159 |       // range in UXCodeTextViewRepresentable/updateTextView(_:)`.
    :
169 |       }
170 |
171 |       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
172 |
173 |       if selection.wrappedValue != range {
/Users/admin/builder/spi-builder-workspace/Sources/CodeEditor/UXCodeTextView.swift:285:7: note: property declared here
283 | extension UXTextView {
284 |
285 |   var swiftSelectedRange : Range<String.Index> {
    |       `- note: property declared here
286 |     let s = self.string
287 |     guard !s.isEmpty else { return s.startIndex..<s.startIndex }
[107/108] Compiling CodeEditor CodeEditor.swift
[108/108] Compiling CodeEditor Language.swift
Build complete! (10.08s)
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.