The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Commander, reference master (7791c4), with Swift 6.3 for Linux on 11 Apr 2026 22:41:19 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/devedbox/commander.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/9] Write sources
[0/9] Write swift-version-24593BA9C3E375BF.txt
[0/9] Write sources
[5/15] Compiling Utility Bool+.swift
[6/15] Emitting module Utility
[7/15] Compiling Utility String+.swift
[8/15] Compiling Utility Optional+.swift
[9/15] Compiling Utility Collection+.swift
[10/15] Compiling Utility CommandLine.swift
[11/16] Wrapping AST for Utility for debugging
[13/31] Compiling Commander OptionsRepresentable.swift
[14/31] Compiling Commander Shell.swift
[15/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]
[16/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]
[17/32] Compiling Commander BuiltIn.swift
[18/32] Compiling Commander Complete.swift
[19/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' contains 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' contains 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' contains 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' contains 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) {
[20/32] Compiling Commander Help.swift
[21/32] Compiling Commander Commander.swift
[22/32] Compiling Commander OptionDescription.swift
[23/32] Compiling Commander OptionsDecoder.swift
[24/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' contains 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' contains 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' contains 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' contains non-Sendable type 'CommandPath'
68 | }
69 |
[25/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' contains 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' contains 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' contains 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' contains non-Sendable type 'CommandPath'
68 | }
69 |
[26/32] Compiling Commander DefaultOptions.swift
[27/32] Compiling Commander Option.swift
[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/36] Wrapping AST for Commander for debugging
[31/36] Emitting module commander_sample
[32/36] Compiling commander_sample main.swift
[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! (16.22s)
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.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Done.