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 master (7791c4), with Swift 6.2 (beta) for macOS (SPM) on 18 Jun 2025 19:05:10 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/devedbox/commander.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[1/8] Write commander-sample-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-1EA4D86E10B52AF.txt
[6/14] Compiling Utility Optional+.swift
[7/14] Compiling Utility CommandLine.swift
[8/14] Compiling Utility Bool+.swift
[9/14] Emitting module Utility
[10/14] Compiling Utility Collection+.swift
[11/14] Compiling Utility String+.swift
[12/29] Compiling Commander OptionsRepresentable.swift
[13/29] Compiling Commander DefaultOptions.swift
[14/29] Compiling Commander Option.swift
[15/30] Compiling Commander Shell.swift
[16/30] Compiling Commander misc.swift
/Users/admin/builder/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) {
[17/30] Compiling Commander OptionDescription.swift
[18/30] Compiling Commander CommandRepresentable.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
[19/30] Compiling Commander Error.swift
/Users/admin/builder/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 {
/Users/admin/builder/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 |
[20/30] Compiling Commander Help.swift
[21/30] Compiling Commander Commander.swift
[22/30] Compiling Commander CommandDescriber.swift
/Users/admin/builder/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]
[23/30] Compiling Commander CommandPath.swift
/Users/admin/builder/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]
[24/30] Compiling Commander OptionsDecoder.swift
[25/30] Compiling Commander BuiltIn.swift
[26/30] Compiling Commander Complete.swift
[27/30] Emitting module Commander
/Users/admin/builder/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]
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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) {
[28/33] Compiling commander_sample main.swift
[29/33] Emitting module commander_sample
[30/33] Compiling commander_sample SampleCommand.swift
[30/33] Write Objects.LinkFileList
[31/33] Linking commander-sample
[32/33] Applying commander-sample
Build complete! (4.57s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Commander",
  "name" : "Commander",
  "path" : "/Users/admin/builder/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"
}
Done.