The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-argument-parser, reference main (90f76c), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 10:42:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarcoEidinger/swift-argument-parser.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MarcoEidinger/swift-argument-parser
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 90f76c1 List valid options in error messages (#382)
Cloned https://github.com/MarcoEidinger/swift-argument-parser.git
Revision (git rev-parse @):
90f76c14b43783ad3162c163ba9f6ac1b72f9a04
SUCCESS checkout https://github.com/MarcoEidinger/swift-argument-parser.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MarcoEidinger/swift-argument-parser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[51 / 104]
[52 / 105] ArgumentParserToolInfo
[56 / 109] ArgumentParserToolInfo
[63 / 110] ArgumentParserToolInfo
[72 / 153]
[75 / 153]
[80 / 153]
[82 / 153]
[86 / 153]
[88 / 153]
[91 / 153]
[94 / 153]
[96 / 153]
[97 / 153]
[108 / 153] ArgumentParser
[116 / 153]
[124 / 155]
[125 / 156]
[129 / 163] math-product
[136 / 165] math-product
[139 / 165] ArgumentParser
[139 / 165] changelog-authors-product
[141 / 167] math-product
[143 / 167] ArgumentParser
[149 / 167] changelog-authors-product
[167 / 202]
[171 / 202]
[179 / 202]
[181 / 202]
[184 / 202]
[187 / 202]
[190 / 202]
[191 / 202]
[194 / 202] ArgumentParserTestHelpers
[200 / 202] ArgumentParserTestHelpers
Build complete! (10.20 sec)
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Utilities/Tree.swift:102:10: warning: associated value 'recursiveSubcommand' of 'Sendable'-conforming enum 'InitializationError' has non-Sendable type 'any ParsableCommand.Type'
100 |
101 |   enum InitializationError: Error {
102 |     case recursiveSubcommand(ParsableCommand.Type)
    |          `- warning: associated value 'recursiveSubcommand' of 'Sendable'-conforming enum 'InitializationError' has non-Sendable type 'any ParsableCommand.Type'
103 |   }
104 | }
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 11 |
 12 | @_implementationOnly import Foundation
 13 | @_implementationOnly import ArgumentParserToolInfo
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 14 |
 15 | internal struct DumpHelpGenerator {
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/MessageInfo.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 |
 14 | enum MessageInfo {
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/UsageGenerator.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 |
 14 | struct UsageGenerator {
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Parsable Types/ParsableArgumentsValidation.swift:26:7: warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 24 |
 25 | struct ParsableArgumentsValidationError: Error, CustomStringConvertible {
 26 |   let parsableArgumentsType: ParsableArguments.Type
    |       `- warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 27 |   let underlayingErrors: [Error]
 28 |   var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Parsing/CommandParser.swift:13:7: warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 11 |
 12 | struct CommandError: Error {
 13 |   var commandStack: [ParsableCommand.Type]
    |       `- warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 14 |   var parserError: ParserError
 15 | }
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:16:17: warning: cannot use struct 'ToolInfoV0' in a property declaration member of a type not marked '@_implementationOnly'; 'ArgumentParserToolInfo' has been imported as implementation-only
 14 |
 15 | internal struct DumpHelpGenerator {
 16 |   var toolInfo: ToolInfoV0
    |                 `- warning: cannot use struct 'ToolInfoV0' in a property declaration member of a type not marked '@_implementationOnly'; 'ArgumentParserToolInfo' has been imported as implementation-only
 17 |
 18 |   init(_ type: ParsableArguments.Type) {
ArgumentParserToolInfo.ToolInfoV0:1:15: note: struct declared here
 1 | public struct ToolInfoV0 : Codable, Hashable {
   |               `- note: struct declared here
 2 |     public var serializationVersion: Int
 3 |     public var command: ArgumentParserToolInfo.CommandInfoV0
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Utilities/Tree.swift:102:10: warning: associated value 'recursiveSubcommand' of 'Sendable'-conforming enum 'InitializationError' has non-Sendable type 'any ParsableCommand.Type'
100 |
101 |   enum InitializationError: Error {
102 |     case recursiveSubcommand(ParsableCommand.Type)
    |          `- warning: associated value 'recursiveSubcommand' of 'Sendable'-conforming enum 'InitializationError' has non-Sendable type 'any ParsableCommand.Type'
103 |   }
104 | }
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Parsable Types/ParsableArgumentsValidation.swift:26:7: warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 24 |
 25 | struct ParsableArgumentsValidationError: Error, CustomStringConvertible {
 26 |   let parsableArgumentsType: ParsableArguments.Type
    |       `- warning: stored property 'parsableArgumentsType' of 'Sendable'-conforming struct 'ParsableArgumentsValidationError' has non-Sendable type 'any ParsableArguments.Type'
 27 |   let underlayingErrors: [Error]
 28 |   var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Parsing/CommandParser.swift:13:7: warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 11 |
 12 | struct CommandError: Error {
 13 |   var commandStack: [ParsableCommand.Type]
    |       `- warning: stored property 'commandStack' of 'Sendable'-conforming struct 'CommandError' contains non-Sendable type 'any ParsableCommand.Type'
 14 |   var parserError: ParserError
 15 | }
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/MessageInfo.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 |
 14 | enum MessageInfo {
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/UsageGenerator.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 |
 14 | struct UsageGenerator {
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:12:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 10 | //===----------------------------------------------------------------------===//
 11 |
 12 | @_implementationOnly import Foundation
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 13 | @_implementationOnly import ArgumentParserToolInfo
 14 |
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:13:22: warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 11 |
 12 | @_implementationOnly import Foundation
 13 | @_implementationOnly import ArgumentParserToolInfo
    |                      `- warning: safely use '@_implementationOnly' without library evolution by setting '-enable-experimental-feature CheckImplementationOnly' for 'ArgumentParser' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated\ImplementationOnlyDeprecated]8;;\]
 14 |
 15 | internal struct DumpHelpGenerator {
/Users/admin/builder/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift:16:17: warning: cannot use struct 'ToolInfoV0' in a property declaration member of a type not marked '@_implementationOnly'; 'ArgumentParserToolInfo' has been imported as implementation-only
 14 |
 15 | internal struct DumpHelpGenerator {
 16 |   var toolInfo: ToolInfoV0
    |                 `- warning: cannot use struct 'ToolInfoV0' in a property declaration member of a type not marked '@_implementationOnly'; 'ArgumentParserToolInfo' has been imported as implementation-only
 17 |
 18 |   init(_ type: ParsableArguments.Type) {
ArgumentParserToolInfo.ToolInfoV0:1:15: note: struct declared here
 1 | public struct ToolInfoV0 : Codable, Hashable {
   |               `- note: struct declared here
 2 |     public var serializationVersion: Int
 3 |     public var command: ArgumentParserToolInfo.CommandInfoV0
[#ImplementationOnlyDeprecated]: <https://docs.swift.org/compiler/documentation/diagnostics/implementation-only-deprecated>
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-argument-parser",
  "name" : "swift-argument-parser",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ArgumentParser",
      "targets" : [
        "ArgumentParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "roll",
      "targets" : [
        "roll"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "repeat",
      "targets" : [
        "repeat"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "math",
      "targets" : [
        "math"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "changelog-authors",
      "targets" : [
        "changelog-authors"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "roll",
      "module_type" : "SwiftTarget",
      "name" : "roll",
      "path" : "Examples/roll",
      "product_memberships" : [
        "roll"
      ],
      "sources" : [
        "SplitMix64.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "repeat",
      "module_type" : "SwiftTarget",
      "name" : "repeat",
      "path" : "Examples/repeat",
      "product_memberships" : [
        "repeat"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "math",
      "module_type" : "SwiftTarget",
      "name" : "math",
      "path" : "Examples/math",
      "product_memberships" : [
        "math"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "changelog_authors",
      "module_type" : "SwiftTarget",
      "name" : "changelog-authors",
      "path" : "Tools/changelog-authors",
      "product_memberships" : [
        "changelog-authors"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "ArgumentParserUnitTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserUnitTests",
      "path" : "Tests/ArgumentParserUnitTests",
      "sources" : [
        "CompletionScriptTests.swift",
        "DumpHelpGenerationTests.swift",
        "ErrorMessageTests.swift",
        "ExitCodeTests.swift",
        "HelpGenerationTests.swift",
        "InputOriginTests.swift",
        "MirrorTests.swift",
        "NameSpecificationTests.swift",
        "ParsableArgumentsValidationTests.swift",
        "SequenceExtensionTests.swift",
        "SplitArgumentTests.swift",
        "StringEditDistanceTests.swift",
        "StringSnakeCaseTests.swift",
        "StringWrappingTests.swift",
        "TreeTests.swift",
        "UsageGenerationTests.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser",
        "ArgumentParserTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArgumentParserToolInfo",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserToolInfo",
      "path" : "Sources/ArgumentParserToolInfo",
      "product_memberships" : [
        "ArgumentParser",
        "roll",
        "repeat",
        "math",
        "changelog-authors"
      ],
      "sources" : [
        "ToolInfo.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArgumentParserTestHelpers",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserTestHelpers",
      "path" : "Sources/ArgumentParserTestHelpers",
      "sources" : [
        "StringHelpers.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser",
        "ArgumentParserToolInfo"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ArgumentParserPackageManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserPackageManagerTests",
      "path" : "Tests/ArgumentParserPackageManagerTests",
      "sources" : [
        "HelpTests.swift",
        "PackageManager/Clean.swift",
        "PackageManager/Config.swift",
        "PackageManager/Describe.swift",
        "PackageManager/GenerateXcodeProject.swift",
        "PackageManager/Options.swift",
        "Tests.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser",
        "ArgumentParserTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArgumentParserExampleTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserExampleTests",
      "path" : "Tests/ArgumentParserExampleTests",
      "sources" : [
        "MathExampleTests.swift",
        "RepeatExampleTests.swift",
        "RollDiceExampleTests.swift"
      ],
      "target_dependencies" : [
        "ArgumentParserTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArgumentParserEndToEndTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserEndToEndTests",
      "path" : "Tests/ArgumentParserEndToEndTests",
      "sources" : [
        "CustomParsingEndToEndTests.swift",
        "DefaultSubcommandEndToEndTests.swift",
        "DefaultsEndToEndTests.swift",
        "EnumEndToEndTests.swift",
        "EqualsEndToEndTests.swift",
        "FlagsEndToEndTests.swift",
        "JoinedEndToEndTests.swift",
        "LongNameWithShortDashEndToEndTests.swift",
        "NestedCommandEndToEndTests.swift",
        "OptionGroupEndToEndTests.swift",
        "OptionalEndToEndTests.swift",
        "PositionalEndToEndTests.swift",
        "RawRepresentableEndToEndTests.swift",
        "RepeatingEndToEndTests.swift",
        "ShortNameEndToEndTests.swift",
        "SimpleEndToEndTests.swift",
        "SingleValueParsingStrategyTests.swift",
        "SourceCompatEndToEndTests.swift",
        "SubcommandEndToEndTests.swift",
        "TransformEndToEndTests.swift",
        "UnparsedValuesEndToEndTest.swift",
        "ValidationEndToEndTests.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser",
        "ArgumentParserTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArgumentParser",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParser",
      "path" : "Sources/ArgumentParser",
      "product_memberships" : [
        "ArgumentParser",
        "roll",
        "repeat",
        "math",
        "changelog-authors"
      ],
      "sources" : [
        "Completions/BashCompletionsGenerator.swift",
        "Completions/CompletionsGenerator.swift",
        "Completions/FishCompletionsGenerator.swift",
        "Completions/ZshCompletionsGenerator.swift",
        "Parsable Properties/Argument.swift",
        "Parsable Properties/ArgumentHelp.swift",
        "Parsable Properties/CompletionKind.swift",
        "Parsable Properties/Errors.swift",
        "Parsable Properties/Flag.swift",
        "Parsable Properties/NameSpecification.swift",
        "Parsable Properties/Option.swift",
        "Parsable Properties/OptionGroup.swift",
        "Parsable Types/CommandConfiguration.swift",
        "Parsable Types/EnumerableFlag.swift",
        "Parsable Types/ExpressibleByArgument.swift",
        "Parsable Types/ParsableArguments.swift",
        "Parsable Types/ParsableArgumentsValidation.swift",
        "Parsable Types/ParsableCommand.swift",
        "Parsing/ArgumentDecoder.swift",
        "Parsing/ArgumentDefinition.swift",
        "Parsing/ArgumentSet.swift",
        "Parsing/CommandParser.swift",
        "Parsing/InputOrigin.swift",
        "Parsing/Name.swift",
        "Parsing/Parsed.swift",
        "Parsing/ParsedValues.swift",
        "Parsing/ParserError.swift",
        "Parsing/SplitArguments.swift",
        "Usage/DumpHelpGenerator.swift",
        "Usage/HelpCommand.swift",
        "Usage/HelpGenerator.swift",
        "Usage/MessageInfo.swift",
        "Usage/UsageGenerator.swift",
        "Utilities/CollectionExtensions.swift",
        "Utilities/SequenceExtensions.swift",
        "Utilities/StringExtensions.swift",
        "Utilities/Tree.swift"
      ],
      "target_dependencies" : [
        "ArgumentParserToolInfo"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.