Build Information
Successful build of Commander, reference master (f22f0a
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 07:28:54 UTC.
Swift 6 data race errors: 6
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kylef/Commander.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kylef/Commander
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at f22f0a0 feat: support using = with options
Cloned https://github.com/kylef/Commander.git
Revision (git rev-parse @):
f22f0a07e02d924406a539d06c0d59402886de56
SUCCESS checkout https://github.com/kylef/Commander.git at master
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.58s)
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.93s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.75s)
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 master (f22f0a0)
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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/17] Compiling Commander Group.swift
[4/17] Compiling Commander CommandType.swift
[5/17] Compiling Commander Commands.swift
[6/18] Compiling Commander CommandError.swift
[7/18] Compiling Commander CommandRunner.swift
[8/18] Compiling Commander ArgumentParser.swift
[9/18] Compiling Commander AsyncCommand.swift
[10/18] Compiling Commander AsyncGroup.swift
[11/18] Compiling Commander Command.swift
[12/18] Compiling Commander GroupError.swift
/Users/admin/builder/spi-builder-workspace/Sources/Commander/GroupError.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 | #if compiler(>=5.5)
/Users/admin/builder/spi-builder-workspace/Sources/Commander/Group.swift:2:12: note: class 'Group' does not conform to the 'Sendable' protocol
1 | /// Represents a group of commands
2 | open class Group : CommandType {
| `- note: class 'Group' does not conform to the 'Sendable' protocol
3 | struct SubCommand {
4 | let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Commander/GroupError.swift:11:8: warning: associated value 'noAsyncCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'AsyncGroup'; this is an error in the Swift 6 language mode
9 |
10 | #if compiler(>=5.5)
11 | case noAsyncCommand(String?, AsyncGroup)
| `- warning: associated value 'noAsyncCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'AsyncGroup'; this is an error in the Swift 6 language mode
12 | #endif
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Commander/AsyncGroup.swift:4:12: note: class 'AsyncGroup' does not conform to the 'Sendable' protocol
2 | /// Represents a group of commands
3 |
4 | open class AsyncGroup : AsyncCommandType {
| `- note: class 'AsyncGroup' does not conform to the 'Sendable' protocol
5 | struct AsyncSubCommand {
6 | let name: String
[13/18] Compiling Commander Error.swift
[14/18] 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:2:12: note: class 'Group' does not conform to the 'Sendable' protocol
1 | /// Represents a group of commands
2 | open class Group : CommandType {
| `- note: class 'Group' does not conform to the 'Sendable' protocol
3 | struct SubCommand {
4 | 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/GroupError.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 | #if compiler(>=5.5)
/Users/admin/builder/spi-builder-workspace/Sources/Commander/Group.swift:2:12: note: class 'Group' does not conform to the 'Sendable' protocol
1 | /// Represents a group of commands
2 | open class Group : CommandType {
| `- note: class 'Group' does not conform to the 'Sendable' protocol
3 | struct SubCommand {
4 | let name: String
/Users/admin/builder/spi-builder-workspace/Sources/Commander/GroupError.swift:11:8: warning: associated value 'noAsyncCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'AsyncGroup'; this is an error in the Swift 6 language mode
9 |
10 | #if compiler(>=5.5)
11 | case noAsyncCommand(String?, AsyncGroup)
| `- warning: associated value 'noAsyncCommand' of 'Sendable'-conforming enum 'GroupError' has non-sendable type 'AsyncGroup'; this is an error in the Swift 6 language mode
12 | #endif
13 |
/Users/admin/builder/spi-builder-workspace/Sources/Commander/AsyncGroup.swift:4:12: note: class 'AsyncGroup' does not conform to the 'Sendable' protocol
2 | /// Represents a group of commands
3 |
4 | open class AsyncGroup : AsyncCommandType {
| `- note: class 'AsyncGroup' does not conform to the 'Sendable' protocol
5 | struct AsyncSubCommand {
6 | let name: String
[15/18] 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 |
/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:2:12: note: class 'Group' does not conform to the 'Sendable' protocol
1 | /// Represents a group of commands
2 | open class Group : CommandType {
| `- note: class 'Group' does not conform to the 'Sendable' protocol
3 | struct SubCommand {
4 | 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) {
[16/18] Compiling Commander ArgumentDescription.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 |
/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:2:12: note: class 'Group' does not conform to the 'Sendable' protocol
1 | /// Represents a group of commands
2 | open class Group : CommandType {
| `- note: class 'Group' does not conform to the 'Sendable' protocol
3 | struct SubCommand {
4 | 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) {
[17/18] Compiling Commander AsyncCommandType.swift
[18/18] Compiling Commander AsyncCommands.swift
Build complete! (12.11s)
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",
"AsyncCommand.swift",
"AsyncCommandType.swift",
"AsyncCommands.swift",
"AsyncGroup.swift",
"Command.swift",
"CommandError.swift",
"CommandRunner.swift",
"CommandType.swift",
"Commands.swift",
"Error.swift",
"Group.swift",
"GroupError.swift"
],
"type" : "library"
}
],
"tools_version" : "4.0"
}
Done.