Build Information
Successful build of Commander, reference master (7791c4
), with Swift 6.2 (beta) for Linux on 18 Jun 2025 19:05:00 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devedbox/commander.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/devedbox/commander
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7791c48 feat: Updates the type alias for subcommands.
Cloned https://github.com/devedbox/commander.git
Revision (git rev-parse @):
7791c480a2e508229a14275630612bfea3d3c0b2
SUCCESS checkout https://github.com/devedbox/commander.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/devedbox/commander.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/15] Emitting module Utility
[6/15] Compiling Utility Optional+.swift
[7/15] Compiling Utility Bool+.swift
[8/15] Compiling Utility Collection+.swift
[9/15] Compiling Utility CommandLine.swift
[10/15] Compiling Utility String+.swift
[11/16] Wrapping AST for Utility for debugging
[13/31] Compiling Commander OptionsRepresentable.swift
[14/31] Compiling Commander Shell.swift
[15/32] Emitting module Commander
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:33:18: warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-Sendable type 'CommandPath'
31 | internal struct Dispatcher: Swift.Error {
32 | /// Running command path.
33 | internal let path: CommandPath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-Sendable type 'CommandPath'
34 | /// The unrecognized options keys.
35 | internal let options: [String]
/host/spi-builder-workspace/Sources/Commander/Error.swift:42:8: warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'CommandPath'
40 | case emptyCommand
41 | case unrecognizedCommands(commands: [String])
42 | case unrecognizedOptions([String], path: CommandPath?, underlyingError: Swift.Error?)
| `- warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'CommandPath'
43 |
44 | public var description: String {
/host/spi-builder-workspace/Sources/Commander/Error.swift:67:8: warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-Sendable type 'CommandPath'
65 | internal enum InternalError: Swift.Error {
66 | /// Indicates the command path need print help info.
67 | case needsHelp(path: CommandPath)
| `- warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-Sendable type 'CommandPath'
68 | }
69 |
/host/spi-builder-workspace/Sources/Commander/misc.swift:78:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | // MARK: - FileHandle.
77 |
78 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
79 | /// Write the string to file handle.
80 | public func write(_ string: String) {
[16/32] Compiling Commander CommandDescriber.swift
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:33:18: warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-Sendable type 'CommandPath'
31 | internal struct Dispatcher: Swift.Error {
32 | /// Running command path.
33 | internal let path: CommandPath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-Sendable type 'CommandPath'
34 | /// The unrecognized options keys.
35 | internal let options: [String]
[17/32] Compiling Commander CommandPath.swift
/host/spi-builder-workspace/Sources/Commander/Commands/CommandPath.swift:33:18: warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-Sendable type 'CommandPath'
31 | internal struct Dispatcher: Swift.Error {
32 | /// Running command path.
33 | internal let path: CommandPath
| `- warning: stored property 'path' of 'Sendable'-conforming struct 'Dispatcher' has non-Sendable type 'CommandPath'
34 | /// The unrecognized options keys.
35 | internal let options: [String]
[18/32] Compiling Commander BuiltIn.swift
[19/32] Compiling Commander Complete.swift
[20/32] Compiling Commander Help.swift
[21/32] Compiling Commander Commander.swift
[22/32] Compiling Commander DefaultOptions.swift
[23/32] Compiling Commander Option.swift
[24/32] Compiling Commander OptionDescription.swift
[25/32] Compiling Commander OptionsDecoder.swift
[26/32] Compiling Commander CommandRepresentable.swift
/host/spi-builder-workspace/Sources/Commander/Error.swift:42:8: warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'CommandPath'
40 | case emptyCommand
41 | case unrecognizedCommands(commands: [String])
42 | case unrecognizedOptions([String], path: CommandPath?, underlyingError: Swift.Error?)
| `- warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'CommandPath'
43 |
44 | public var description: String {
/host/spi-builder-workspace/Sources/Commander/Error.swift:67:8: warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-Sendable type 'CommandPath'
65 | internal enum InternalError: Swift.Error {
66 | /// Indicates the command path need print help info.
67 | case needsHelp(path: CommandPath)
| `- warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-Sendable type 'CommandPath'
68 | }
69 |
[27/32] Compiling Commander Error.swift
/host/spi-builder-workspace/Sources/Commander/Error.swift:42:8: warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'CommandPath'
40 | case emptyCommand
41 | case unrecognizedCommands(commands: [String])
42 | case unrecognizedOptions([String], path: CommandPath?, underlyingError: Swift.Error?)
| `- warning: associated value 'unrecognizedOptions(_:path:underlyingError:)' of 'Sendable'-conforming enum 'Error' has non-Sendable type 'CommandPath'
43 |
44 | public var description: String {
/host/spi-builder-workspace/Sources/Commander/Error.swift:67:8: warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-Sendable type 'CommandPath'
65 | internal enum InternalError: Swift.Error {
66 | /// Indicates the command path need print help info.
67 | case needsHelp(path: CommandPath)
| `- warning: associated value 'needsHelp(path:)' of 'Sendable'-conforming enum 'InternalError' has non-Sendable type 'CommandPath'
68 | }
69 |
[28/32] Compiling Commander misc.swift
/host/spi-builder-workspace/Sources/Commander/misc.swift:78:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
76 | // MARK: - FileHandle.
77 |
78 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
79 | /// Write the string to file handle.
80 | public func write(_ string: String) {
[29/33] Wrapping AST for Commander for debugging
[31/36] Compiling commander_sample main.swift
[32/36] Emitting module commander_sample
[33/36] Compiling commander_sample SampleCommand.swift
[34/37] Wrapping AST for commander-sample for debugging
[35/37] Write Objects.LinkFileList
[36/37] Linking commander-sample
Build complete! (25.27s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Commander",
"name" : "Commander",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Commander",
"targets" : [
"Commander"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "commander-sample",
"targets" : [
"commander-sample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "commander_sample",
"module_type" : "SwiftTarget",
"name" : "commander-sample",
"path" : "Sources/commander-sample",
"product_memberships" : [
"commander-sample"
],
"sources" : [
"SampleCommand.swift",
"main.swift"
],
"target_dependencies" : [
"Commander"
],
"type" : "executable"
},
{
"c99name" : "UtilityTests",
"module_type" : "SwiftTarget",
"name" : "UtilityTests",
"path" : "Tests/UtilityTests",
"sources" : [
"Bool+Tests.swift",
"CommandLineTests.swift",
"Optional+Tests.swift",
"String+Tests.swift",
"UtilityTests.swift"
],
"target_dependencies" : [
"Utility"
],
"type" : "test"
},
{
"c99name" : "Utility",
"module_type" : "SwiftTarget",
"name" : "Utility",
"path" : "Sources/Utility",
"product_memberships" : [
"Commander",
"commander-sample"
],
"sources" : [
"Bool+.swift",
"Collection+.swift",
"CommandLine.swift",
"Optional+.swift",
"String+.swift"
],
"type" : "library"
},
{
"c99name" : "CommanderTests",
"module_type" : "SwiftTarget",
"name" : "CommanderTests",
"path" : "Tests/CommanderTests",
"sources" : [
"CommandPathTests.swift",
"CommandTests.swift",
"CommanderTests.swift",
"GlobalOptionsTests.swift",
"OptionsDecoderTests.swift",
"WrappedCommandTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Commander"
],
"type" : "test"
},
{
"c99name" : "Commander",
"module_type" : "SwiftTarget",
"name" : "Commander",
"path" : "Sources/Commander",
"product_memberships" : [
"Commander",
"commander-sample"
],
"sources" : [
"Built-Ins/BuiltIn.swift",
"Built-Ins/Commands/Complete.swift",
"Built-Ins/Commands/Help.swift",
"Commander.swift",
"Commands/CommandDescriber.swift",
"Commands/CommandPath.swift",
"Commands/CommandRepresentable.swift",
"Error.swift",
"Options/DefaultOptions.swift",
"Options/Option.swift",
"Options/OptionDescription.swift",
"Options/OptionsDecoder.swift",
"Options/OptionsRepresentable.swift",
"Shell.swift",
"misc.swift"
],
"target_dependencies" : [
"Utility"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Done.