This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 xcframework with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jeffctown/xcframework.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jeffctown/xcframework
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dc509d4 Merge pull request #2 from antonino-u/assemble-command
Cloned https://github.com/jeffctown/xcframework.git
Revision (git rev-parse @):
dc509d42747990860a0535511f404970d29e79d2
SUCCESS checkout https://github.com/jeffctown/xcframework.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/jeffctown/xcframework.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[3/9] Write xcframework-entitlement.plist
[5/9] Write swift-version-6F35C1178C84523A.txt
[7/23] Compiling Commandant OrderedSet.swift
[8/24] Compiling Commandant Result+Additions.swift
[9/24] Compiling Commandant Switch.swift
[10/24] Compiling Commandant Option.swift
[11/24] Compiling Shell Shell.swift
[12/24] Compiling Commandant HelpCommand.swift
[13/24] Compiling Commandant Argument.swift
[14/24] Compiling Commandant Command.swift
[15/24] Compiling Commandant ArgumentProtocol.swift
[16/24] Emitting module Commandant
[17/24] Compiling Commandant Errors.swift
[18/24] Compiling Commandant ArgumentParser.swift
[19/24] Emitting module Shell
[20/24] Compiling Shell ProcessHelper.swift
[21/24] Compiling Shell EnvironmentTrampoline.swift
[22/28] Compiling XCFrameworkKit XCFrameworkBuilder.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:103:12: warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 | @dynamicMemberLookup
 56 | public struct ShellTrampoline {
    |               `- note: consider making struct 'ShellTrampoline' conform to the 'Sendable' protocol
 57 |
 58 |     public let root : ShellPathTrampoline
    :
101 | }
102 |
103 | public let shell = ShellTrampoline()
    |            |- warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'shell' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
[23/28] Compiling XCFrameworkKit Version.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCFrameworkKit/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct Version {
   |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |     public let value: String
12 |     public static let current = Version(value: "0.2.3")
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[24/28] Emitting module XCFrameworkKit
/Users/admin/builder/spi-builder-workspace/Sources/XCFrameworkKit/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct Version {
   |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |     public let value: String
12 |     public static let current = Version(value: "0.2.3")
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[25/28] Compiling XCFrameworkKit XCFrameworkAssembler.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Shell/Sources/Shell/Shell.swift:103:12: warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
 54 |
 55 | @dynamicMemberLookup
 56 | public struct ShellTrampoline {
    |               `- note: consider making struct 'ShellTrampoline' conform to the 'Sendable' protocol
 57 |
 58 |     public let root : ShellPathTrampoline
    :
101 | }
102 |
103 | public let shell = ShellTrampoline()
    |            |- warning: let 'shell' is not concurrency-safe because non-'Sendable' type 'ShellTrampoline' may have shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: annotate 'shell' with '@MainActor' if property should only be accessed from the main actor
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
104 |
[26/33] Compiling xcframework VersionCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCFrameworkKit/Version.swift:12:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
 8 | import Foundation
 9 |
10 | public struct Version {
   |               `- note: consider making struct 'Version' conform to the 'Sendable' protocol
11 |     public let value: String
12 |     public static let current = Version(value: "0.2.3")
   |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | }
14 |
[27/33] Compiling xcframework main.swift
[28/33] Compiling xcframework BuildCommand.swift
[29/33] Emitting module xcframework
[30/33] Compiling xcframework AssembleCommand.swift
[30/33] Write Objects.LinkFileList
[31/33] Linking xcframework
[32/33] Applying xcframework
Build complete! (59.16s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/AlwaysRightInstitute/Shell
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Carthage/Commandant
[1/81] Fetching shell
[82/2404] Fetching shell, commandant
Fetched https://github.com/Carthage/Commandant from cache (0.94s)
Fetched https://github.com/AlwaysRightInstitute/Shell from cache (0.94s)
Computing version for https://github.com/Carthage/Commandant
[1/14549] Fetching quick
Computed https://github.com/Carthage/Commandant at 0.17.0 (0.69s)
[14550/33189] Fetching quick, nimble
Fetched https://github.com/Quick/Nimble.git from cache (5.53s)
Fetched https://github.com/Quick/Quick.git from cache (5.53s)
Computing version for https://github.com/AlwaysRightInstitute/Shell
Computed https://github.com/AlwaysRightInstitute/Shell at 0.1.4 (0.69s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.0.1 (2.58s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.1.0 (0.69s)
Creating working copy for https://github.com/Carthage/Commandant
Working copy of https://github.com/Carthage/Commandant resolved at 0.17.0
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.0.1
Creating working copy for https://github.com/AlwaysRightInstitute/Shell
Working copy of https://github.com/AlwaysRightInstitute/Shell resolved at 0.1.4
Build complete.
{
  "dependencies" : [
    {
      "identity" : "shell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AlwaysRightInstitute/Shell"
    },
    {
      "identity" : "commandant",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.17.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Carthage/Commandant"
    }
  ],
  "manifest_display_name" : "xcframework",
  "name" : "xcframework",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "XCFrameworkKit",
      "targets" : [
        "XCFrameworkKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "xcframework",
      "targets" : [
        "xcframework"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcframework",
      "module_type" : "SwiftTarget",
      "name" : "xcframework",
      "path" : "Sources/xcframework",
      "product_dependencies" : [
        "Commandant"
      ],
      "product_memberships" : [
        "xcframework"
      ],
      "sources" : [
        "Commands/AssembleCommand.swift",
        "Commands/BuildCommand.swift",
        "Commands/VersionCommand.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "XCFrameworkKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "XCFrameworkKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XCFrameworkKitTests",
      "path" : "Tests/XCFrameworkKitTests",
      "sources" : [
        "test.swift"
      ],
      "target_dependencies" : [
        "XCFrameworkKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XCFrameworkKit",
      "module_type" : "SwiftTarget",
      "name" : "XCFrameworkKit",
      "path" : "Sources/XCFrameworkKit",
      "product_dependencies" : [
        "Shell"
      ],
      "product_memberships" : [
        "XCFrameworkKit",
        "xcframework"
      ],
      "sources" : [
        "Version.swift",
        "XCFrameworkAssembler.swift",
        "XCFrameworkBuilder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.