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 Commandant 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/Carthage/Commandant.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Carthage/Commandant
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 0a192d3 Merge pull request #156 from Carthage/module-stability
Submodule path 'Carthage/Checkouts/Nimble': checked out 'e491a6731307bb23783bf664d003be9b2fa59ab5'
Submodule path 'Carthage/Checkouts/Quick': checked out '8a10ae40b78d2360ca56638f15fe721be8529993'
Submodule path 'Carthage/Checkouts/Quick/Externals/Nimble': checked out 'e491a6731307bb23783bf664d003be9b2fa59ab5'
Submodule path 'Carthage/Checkouts/xcconfigs': checked out '4ced0ad5a971220917994a4edfa6abf9702e3818'
Submodule 'Carthage/Checkouts/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Nimble'
Submodule 'Carthage/Checkouts/Quick' (https://github.com/Quick/Quick.git) registered for path 'Carthage/Checkouts/Quick'
Submodule 'Carthage/Checkouts/xcconfigs' (https://github.com/jspahrsummers/xcconfigs.git) registered for path 'Carthage/Checkouts/xcconfigs'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Nimble'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Quick'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/xcconfigs'...
Submodule 'Externals/Nimble' (https://github.com/Quick/Nimble.git) registered for path 'Carthage/Checkouts/Quick/Externals/Nimble'
Cloning into '/Users/admin/builder/spi-builder-workspace/Carthage/Checkouts/Quick/Externals/Nimble'...
Cloned https://github.com/Carthage/Commandant.git
Revision (git rev-parse @):
0a192d39714dff52b48ca88795ad6175119fc120
SUCCESS checkout https://github.com/Carthage/Commandant.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/Carthage/Commandant.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling Commandant OrderedSet.swift
[4/12] Compiling Commandant Result+Additions.swift
[5/12] Compiling Commandant Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Commandant/Errors.swift:20:7: warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 13 | /// `ClientError` should be the type of error (if any) that can occur when
 14 | /// running commands.
 15 | public enum CommandantError<ClientError>: Error {
    |                             `- note: consider making generic parameter 'ClientError' conform to the 'Sendable' protocol
 16 | 	/// An option was used incorrectly.
 17 | 	case usageError(description: String)
 18 |
 19 | 	/// An error occurred while running a command.
 20 | 	case commandError(ClientError)
    |       `- warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 21 | }
 22 |
[6/13] Compiling Commandant HelpCommand.swift
[7/13] Compiling Commandant Command.swift
[8/13] Emitting module Commandant
/Users/admin/builder/spi-builder-workspace/Sources/Commandant/Errors.swift:20:7: warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 13 | /// `ClientError` should be the type of error (if any) that can occur when
 14 | /// running commands.
 15 | public enum CommandantError<ClientError>: Error {
    |                             `- note: consider making generic parameter 'ClientError' conform to the 'Sendable' protocol
 16 | 	/// An option was used incorrectly.
 17 | 	case usageError(description: String)
 18 |
 19 | 	/// An error occurred while running a command.
 20 | 	case commandError(ClientError)
    |       `- warning: associated value 'commandError' of 'Sendable'-conforming generic enum 'CommandantError' has non-sendable type 'ClientError'; this is an error in the Swift 6 language mode
 21 | }
 22 |
[9/13] Compiling Commandant Argument.swift
[10/13] Compiling Commandant ArgumentProtocol.swift
[11/13] Compiling Commandant ArgumentParser.swift
[12/13] Compiling Commandant Option.swift
[13/13] Compiling Commandant Switch.swift
Build complete! (31.47s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/439] Fetching cwlcatchexception
[155/1686] Fetching cwlcatchexception, cwlpreconditiontesting
[815/16235] Fetching cwlcatchexception, cwlpreconditiontesting, quick
[16236/34875] Fetching cwlcatchexception, cwlpreconditiontesting, quick, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.63s)
Fetched https://github.com/Quick/Quick.git from cache (2.63s)
Fetched https://github.com/Quick/Nimble.git from cache (2.63s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (2.63s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.0.0 (0.71s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.0 (0.70s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.0.0 (0.69s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.0.0 (0.65s)
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.0.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.0.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.0.0
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/Info.plist
Build complete.
{
  "dependencies" : [
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    },
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    }
  ],
  "manifest_display_name" : "Commandant",
  "name" : "Commandant",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commandant",
      "targets" : [
        "Commandant"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CommandantTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandantTests",
      "path" : "Tests/CommandantTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "CommandSpec.swift",
        "OptionSpec.swift",
        "OptionsWithEnumProtocolSpec.swift",
        "OrderedSetSpec.swift"
      ],
      "target_dependencies" : [
        "Commandant"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Commandant",
      "module_type" : "SwiftTarget",
      "name" : "Commandant",
      "path" : "Sources/Commandant",
      "product_memberships" : [
        "Commandant"
      ],
      "sources" : [
        "Argument.swift",
        "ArgumentParser.swift",
        "ArgumentProtocol.swift",
        "Command.swift",
        "Errors.swift",
        "HelpCommand.swift",
        "Option.swift",
        "OrderedSet.swift",
        "Result+Additions.swift",
        "Switch.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.2"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.