The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of Commander, reference 0.9.2 (4a1f2f), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 13:47:56 UTC.

Swift 6 data race errors: 5

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylef/Commander.git
Reference: 0.9.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kylef/Commander
 * tag               0.9.2      -> FETCH_HEAD
HEAD is now at 4a1f2fb release: 0.9.2
Cloned https://github.com/kylef/Commander.git
Revision (git rev-parse @):
4a1f2fb82fb6cef613c4a25d2e38f702e4d812c2
SUCCESS checkout https://github.com/kylef/Commander.git at 0.9.2
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.95s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.0 (2.44s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.0
========================================
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": "commander",
      "name": "Commander",
      "url": "https://github.com/kylef/Commander.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
      "dependencies": [
        {
          "identity": "spectre",
          "name": "Spectre",
          "url": "https://github.com/kylef/Spectre.git",
          "version": "0.10.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kylef/Commander.git
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander.git from cache (0.90s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.45s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.55s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.2 (4a1f2fb)
warning: '.resolve-product-dependencies': dependency 'commander' is not used by any target
Found 1 product dependencies
  - Spectre
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kylef/Commander.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling Commander CommandType.swift
[4/12] Compiling Commander Commands.swift
[5/12] Compiling Commander Command.swift
[6/12] Compiling Commander ArgumentConvertible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentConvertible.swift:149:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
147 | extension Array : ArgumentConvertible where Element : ArgumentConvertible {}
148 | extension Optional : ArgumentConvertible where Wrapped : ArgumentConvertible {}
149 | extension Optional : CustomStringConvertible where Wrapped : CustomStringConvertible {}
    | |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
150 |
[7/12] Emitting module Commander
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentConvertible.swift:149:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
147 | extension Array : ArgumentConvertible where Element : ArgumentConvertible {}
148 | extension Optional : ArgumentConvertible where Wrapped : ArgumentConvertible {}
149 | extension Optional : CustomStringConvertible where Wrapped : CustomStringConvertible {}
    | |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
150 |
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:333:7: warning: non-final class 'UsageError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
331 |
332 |
333 | class UsageError : Error, ANSIConvertible, CustomStringConvertible {
    |       `- warning: non-final class 'UsageError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
334 |   let message: String
335 |   let help: Help
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:352:7: warning: non-final class 'Help' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
350 |
351 |
352 | class Help : Error, ANSIConvertible, CustomStringConvertible {
    |       `- warning: non-final class 'Help' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
353 |   let command: String?
354 |   let group: Group?
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:354:7: warning: stored property 'group' of 'Sendable'-conforming class 'Help' has non-sendable type 'Group?'; this is an error in the Swift 6 language mode
352 | class Help : Error, ANSIConvertible, CustomStringConvertible {
353 |   let command: String?
354 |   let group: Group?
    |       `- warning: stored property 'group' of 'Sendable'-conforming class 'Help' has non-sendable type 'Group?'; this is an error in the Swift 6 language mode
355 |   let descriptors: [BoxedArgumentDescriptor]
356 |
/Users/admin/builder/spi-builder-workspace/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:355:7: warning: stored property 'descriptors' of 'Sendable'-conforming class 'Help' has non-sendable type '[BoxedArgumentDescriptor]'; this is an error in the Swift 6 language mode
265 |
266 |
267 | class BoxedArgumentDescriptor {
    |       `- note: class 'BoxedArgumentDescriptor' does not conform to the 'Sendable' protocol
268 |   let name: String
269 |   let description: String?
    :
353 |   let command: String?
354 |   let group: Group?
355 |   let descriptors: [BoxedArgumentDescriptor]
    |       `- warning: stored property 'descriptors' of 'Sendable'-conforming class 'Help' has non-sendable type '[BoxedArgumentDescriptor]'; this is an error in the Swift 6 language mode
356 |
357 |   init(_ descriptors: [BoxedArgumentDescriptor], command: String? = nil, group: Group? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/Commander/Group.swift:8:8: warning: associated value 'noCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'Group'; this is an error in the Swift 6 language mode
  6 |   /// :param: The current path to the command (i.e, all the group names)
  7 |   /// :param: The group raising the error
  8 |   case noCommand(String?, Group)
    |        `- warning: associated value 'noCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'Group'; this is an error in the Swift 6 language mode
  9 |
 10 |   public var description:String {
    :
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
[8/12] Compiling Commander ArgumentParser.swift
[9/12] Compiling Commander ArgumentDescription.swift
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:333:7: warning: non-final class 'UsageError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
331 |
332 |
333 | class UsageError : Error, ANSIConvertible, CustomStringConvertible {
    |       `- warning: non-final class 'UsageError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
334 |   let message: String
335 |   let help: Help
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:352:7: warning: non-final class 'Help' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
350 |
351 |
352 | class Help : Error, ANSIConvertible, CustomStringConvertible {
    |       `- warning: non-final class 'Help' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
353 |   let command: String?
354 |   let group: Group?
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:354:7: warning: stored property 'group' of 'Sendable'-conforming class 'Help' has non-sendable type 'Group?'; this is an error in the Swift 6 language mode
352 | class Help : Error, ANSIConvertible, CustomStringConvertible {
353 |   let command: String?
354 |   let group: Group?
    |       `- warning: stored property 'group' of 'Sendable'-conforming class 'Help' has non-sendable type 'Group?'; this is an error in the Swift 6 language mode
355 |   let descriptors: [BoxedArgumentDescriptor]
356 |
/Users/admin/builder/spi-builder-workspace/Sources/Commander/Group.swift:37:12: note: class 'Group' does not conform to the 'Sendable' protocol
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Commander/ArgumentDescription.swift:355:7: warning: stored property 'descriptors' of 'Sendable'-conforming class 'Help' has non-sendable type '[BoxedArgumentDescriptor]'; this is an error in the Swift 6 language mode
265 |
266 |
267 | class BoxedArgumentDescriptor {
    |       `- note: class 'BoxedArgumentDescriptor' does not conform to the 'Sendable' protocol
268 |   let name: String
269 |   let description: String?
    :
353 |   let command: String?
354 |   let group: Group?
355 |   let descriptors: [BoxedArgumentDescriptor]
    |       `- warning: stored property 'descriptors' of 'Sendable'-conforming class 'Help' has non-sendable type '[BoxedArgumentDescriptor]'; this is an error in the Swift 6 language mode
356 |
357 |   init(_ descriptors: [BoxedArgumentDescriptor], command: String? = nil, group: Group? = nil) {
[10/12] Compiling Commander CommandRunner.swift
[11/12] Compiling Commander Group.swift
/Users/admin/builder/spi-builder-workspace/Sources/Commander/Group.swift:8:8: warning: associated value 'noCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'Group'; this is an error in the Swift 6 language mode
  6 |   /// :param: The current path to the command (i.e, all the group names)
  7 |   /// :param: The group raising the error
  8 |   case noCommand(String?, Group)
    |        `- warning: associated value 'noCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'Group'; this is an error in the Swift 6 language mode
  9 |
 10 |   public var description:String {
    :
 35 |
 36 | /// Represents a group of commands
 37 | open class Group : CommandType {
    |            `- note: class 'Group' does not conform to the 'Sendable' protocol
 38 |   struct SubCommand {
 39 |     let name: String
[12/12] Compiling Commander Error.swift
Build complete! (11.21s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.10.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    }
  ],
  "manifest_display_name" : "Commander",
  "name" : "Commander",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Commander",
      "targets" : [
        "Commander"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommanderTests",
      "module_type" : "SwiftTarget",
      "name" : "CommanderTests",
      "path" : "Tests/CommanderTests",
      "product_dependencies" : [
        "Spectre"
      ],
      "sources" : [
        "ArgumentConvertibleSpec.swift",
        "ArgumentDescriptionSpec.swift",
        "ArgumentParserSpec.swift",
        "CommandSpec.swift",
        "CommandTypeSpec.swift",
        "GroupSpec.swift",
        "XCTest.swift"
      ],
      "target_dependencies" : [
        "Commander"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Commander",
      "module_type" : "SwiftTarget",
      "name" : "Commander",
      "path" : "Sources/Commander",
      "product_memberships" : [
        "Commander"
      ],
      "sources" : [
        "ArgumentConvertible.swift",
        "ArgumentDescription.swift",
        "ArgumentParser.swift",
        "Command.swift",
        "CommandRunner.swift",
        "CommandType.swift",
        "Commands.swift",
        "Error.swift",
        "Group.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.