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 swift-argument-parser, reference 1.5.1 (011f0c), with Swift 6.0 for macOS (SPM) on 31 May 2025 13:23:34 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-argument-parser.git
Reference: 1.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-argument-parser
 * tag               1.5.1      -> FETCH_HEAD
HEAD is now at 011f0c7 Update changelog for 1.5.1, along with unreleased changes (#784)
Cloned https://github.com/apple/swift-argument-parser.git
Revision (git rev-parse @):
011f0c765fb46d9cac61bca19be0527e99c98c8b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-argument-parser.git at 1.5.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/apple/swift-argument-parser.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/35] Write sources
[2/35] Write generate-manual-entitlement.plist
[4/35] Write sources
[4/35] Write roll-entitlement.plist
[4/35] Write sources
[7/35] Write repeat-entitlement.plist
[9/35] Write math-entitlement.plist
[10/35] Write sources
[11/35] Write changelog-authors-entitlement.plist
[11/35] Write count-lines-entitlement.plist
[14/35] Write sources
[16/35] Write swift-version-5BDAB9E9C0126B9D.txt
[18/37] Emitting module ArgumentParserToolInfo
[19/37] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/76] Emitting module ArgumentParser
[21/80] Compiling ArgumentParser CommandConfiguration.swift
[22/80] Compiling ArgumentParser CommandGroup.swift
[23/80] Compiling ArgumentParser EnumerableFlag.swift
[24/80] Compiling ArgumentParser ExpressibleByArgument.swift
[25/80] Compiling ArgumentParser InputOrigin.swift
[26/80] Compiling ArgumentParser Name.swift
[27/80] Compiling ArgumentParser Parsed.swift
[28/80] Compiling ArgumentParser ParsedValues.swift
[29/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/80] Compiling ArgumentParser CompletionsGenerator.swift
[31/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/80] Compiling ArgumentParser Argument.swift
[34/80] Compiling ArgumentParser ArgumentHelp.swift
[35/80] Compiling ArgumentParser ArgumentVisibility.swift
[36/80] Compiling ArgumentParser CompletionKind.swift
[37/80] Compiling ArgumentParser Errors.swift
[38/80] Compiling ArgumentParser Flag.swift
[39/80] Compiling ArgumentParser ParsableArguments.swift
[40/80] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/80] Compiling ArgumentParser ParsableCommand.swift
[42/80] Compiling ArgumentParser ArgumentDecoder.swift
[43/80] Compiling ArgumentParser Platform.swift
[44/80] Compiling ArgumentParser SequenceExtensions.swift
[45/80] Compiling ArgumentParser StringExtensions.swift
[46/80] Compiling ArgumentParser Tree.swift
[47/80] Compiling ArgumentParser ParserError.swift
[48/80] Compiling ArgumentParser SplitArguments.swift
[49/80] Compiling ArgumentParser DumpHelpGenerator.swift
[50/80] Compiling ArgumentParser HelpCommand.swift
[51/80] Compiling ArgumentParser ArgumentDefinition.swift
[52/80] Compiling ArgumentParser ArgumentSet.swift
[53/80] Compiling ArgumentParser CommandParser.swift
[54/80] Compiling ArgumentParser InputKey.swift
[55/80] Compiling ArgumentParser NameSpecification.swift
[56/80] Compiling ArgumentParser Option.swift
[57/80] Compiling ArgumentParser OptionGroup.swift
[58/80] Compiling ArgumentParser AsyncParsableCommand.swift
[59/80] Compiling ArgumentParser HelpGenerator.swift
[60/80] Compiling ArgumentParser MessageInfo.swift
[61/80] Compiling ArgumentParser UsageGenerator.swift
[62/80] Compiling ArgumentParser CollectionExtensions.swift
[63/124] Compiling changelog_authors Util.swift
[64/124] Emitting module repeat
[65/124] Compiling repeat Repeat.swift
[65/124] Write Objects.LinkFileList
[67/124] Compiling changelog_authors Models.swift
[68/124] Compiling generate_manual ForEach.swift
[69/124] Compiling generate_manual MDocASTNodeWrapper.swift
[70/124] Compiling generate_manual MDocBuilder.swift
[71/124] Compiling generate_manual Authors.swift
[72/124] Compiling generate_manual Container.swift
[73/124] Compiling generate_manual Empty.swift
[74/126] Compiling generate_manual MDocComponent.swift
[75/126] Compiling generate_manual Document.swift
[76/126] Compiling generate_manual DocumentDate.swift
[77/126] Compiling roll main.swift
[78/126] Emitting module roll
[79/126] Compiling roll SplitMix64.swift
[79/126] Write Objects.LinkFileList
[81/126] Compiling generate_manual AuthorArgument.swift
[82/126] Compiling generate_manual ArgumentSynopsis.swift
[83/126] Compiling generate_manual Author.swift
[84/126] Emitting module count_lines
[85/126] Compiling count_lines CountLines.swift
[86/126] Emitting module changelog_authors
[87/126] Compiling changelog_authors ChangelogAuthors.swift
[88/126] Emitting module generate_manual
[88/126] Write Objects.LinkFileList
[90/126] Compiling generate_manual Name.swift
[91/126] Compiling generate_manual Preamble.swift
[92/126] Compiling generate_manual Section.swift
[92/126] Write Objects.LinkFileList
[93/126] Compiling generate_manual Exit.swift
[95/126] Compiling generate_manual List.swift
[96/126] Compiling generate_manual MultiPageDescription.swift
[97/126] Compiling generate_manual SeeAlso.swift
[98/126] Compiling generate_manual SinglePageDescription.swift
[99/126] Compiling generate_manual Synopsis.swift
[100/126] Compiling generate_manual ArgumentParser+MDoc.swift
[101/126] Compiling generate_manual Date+ExpressibleByArgument.swift
[102/126] Compiling generate_manual Process+SimpleAPI.swift
[103/126] Emitting module math
[104/126] Compiling math Math.swift
[104/126] Write Objects.LinkFileList
[106/126] Compiling generate_manual MDocSerializationContext.swift
[107/126] Compiling generate_manual String+Escaping.swift
[107/126] Linking repeat
[108/126] Applying repeat
[110/126] Compiling generate_manual GenerateManual.swift
[111/126] Compiling generate_manual MDocASTNode.swift
[112/126] Compiling generate_manual MDocMacro.swift
[112/126] Linking roll
[113/126] Write Objects.LinkFileList
[114/126] Applying roll
[115/126] Linking count-lines
[116/126] Linking changelog-authors
[117/126] Applying count-lines
[118/126] Applying changelog-authors
[119/126] Linking math
[120/126] Applying math
[121/126] Linking generate-manual
[122/126] Applying generate-manual
[124/126] Emitting module ArgumentParserTestHelpers
[125/126] Compiling ArgumentParserTestHelpers StringHelpers.swift
[126/126] Compiling ArgumentParserTestHelpers TestHelpers.swift
Build complete! (18.23s)
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" : "GenerateManual",
      "targets" : [
        "GenerateManual"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "roll",
      "targets" : [
        "roll"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "repeat",
      "targets" : [
        "repeat"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "math",
      "targets" : [
        "math"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "generate-manual",
      "targets" : [
        "generate-manual"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "count-lines",
      "targets" : [
        "count-lines"
      ],
      "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" : [
        "Repeat.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "math",
      "module_type" : "SwiftTarget",
      "name" : "math",
      "path" : "Examples/math",
      "product_memberships" : [
        "math"
      ],
      "sources" : [
        "Math.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "generate_manual",
      "module_type" : "SwiftTarget",
      "name" : "generate-manual",
      "path" : "Tools/generate-manual",
      "product_memberships" : [
        "GenerateManual",
        "generate-manual"
      ],
      "sources" : [
        "AuthorArgument.swift",
        "DSL/ArgumentSynopsis.swift",
        "DSL/Author.swift",
        "DSL/Authors.swift",
        "DSL/Core/Container.swift",
        "DSL/Core/Empty.swift",
        "DSL/Core/ForEach.swift",
        "DSL/Core/MDocASTNodeWrapper.swift",
        "DSL/Core/MDocBuilder.swift",
        "DSL/Core/MDocComponent.swift",
        "DSL/Document.swift",
        "DSL/DocumentDate.swift",
        "DSL/Exit.swift",
        "DSL/List.swift",
        "DSL/MultiPageDescription.swift",
        "DSL/Name.swift",
        "DSL/Preamble.swift",
        "DSL/Section.swift",
        "DSL/SeeAlso.swift",
        "DSL/SinglePageDescription.swift",
        "DSL/Synopsis.swift",
        "Extensions/ArgumentParser+MDoc.swift",
        "Extensions/Date+ExpressibleByArgument.swift",
        "Extensions/Process+SimpleAPI.swift",
        "GenerateManual.swift",
        "MDoc/MDocASTNode.swift",
        "MDoc/MDocMacro.swift",
        "MDoc/MDocSerializationContext.swift",
        "MDoc/String+Escaping.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser",
        "ArgumentParserToolInfo"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "count_lines",
      "module_type" : "SwiftTarget",
      "name" : "count-lines",
      "path" : "Examples/count-lines",
      "product_memberships" : [
        "count-lines"
      ],
      "sources" : [
        "CountLines.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "changelog_authors",
      "module_type" : "SwiftTarget",
      "name" : "changelog-authors",
      "path" : "Tools/changelog-authors",
      "product_memberships" : [
        "changelog-authors"
      ],
      "sources" : [
        "ChangelogAuthors.swift",
        "Models.swift",
        "Util.swift"
      ],
      "target_dependencies" : [
        "ArgumentParser"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GenerateManual",
      "module_type" : "PluginTarget",
      "name" : "GenerateManual",
      "path" : "Plugins/GenerateManual",
      "plugin_capability" : {
        "intent" : {
          "description" : "Generate a manual entry for a specified target.",
          "type" : "custom",
          "verb" : "generate-manual"
        },
        "permissions" : [
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "GenerateManual"
      ],
      "sources" : [
        "GenerateManualPlugin.swift",
        "GenerateManualPluginError.swift",
        "PackagePlugin+Helpers.swift"
      ],
      "target_dependencies" : [
        "generate-manual"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "ArgumentParserUnitTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserUnitTests",
      "path" : "Tests/ArgumentParserUnitTests",
      "sources" : [
        "CompletionScriptTests.swift",
        "DumpHelpGenerationTests.swift",
        "ErrorMessageTests.swift",
        "ExitCodeTests.swift",
        "HelpGenerationTests+AtArgument.swift",
        "HelpGenerationTests+AtOption.swift",
        "HelpGenerationTests+GroupName.swift",
        "HelpGenerationTests.swift",
        "InputOriginTests.swift",
        "MirrorTests.swift",
        "NameSpecificationTests.swift",
        "ParsableArgumentsValidationTests.swift",
        "SendableTests.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",
        "GenerateManual",
        "roll",
        "repeat",
        "math",
        "generate-manual",
        "count-lines",
        "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" : "ArgumentParserGenerateManualTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserGenerateManualTests",
      "path" : "Tests/ArgumentParserGenerateManualTests",
      "sources" : [
        "CountLinesGenerateManualTests.swift",
        "MathGenerateManualTests.swift",
        "RepeatGenerateManualTests.swift",
        "RollDiceGenerateManualTests.swift"
      ],
      "target_dependencies" : [
        "ArgumentParserTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArgumentParserExampleTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserExampleTests",
      "path" : "Tests/ArgumentParserExampleTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/ArgumentParserExampleTests/CountLinesTest.txt",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "CountLinesExampleTests.swift",
        "MathExampleTests.swift",
        "RepeatExampleTests.swift",
        "RollDiceExampleTests.swift"
      ],
      "target_dependencies" : [
        "ArgumentParserTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ArgumentParserEndToEndTests",
      "module_type" : "SwiftTarget",
      "name" : "ArgumentParserEndToEndTests",
      "path" : "Tests/ArgumentParserEndToEndTests",
      "sources" : [
        "AsyncCommandEndToEndTests.swift",
        "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+ParsingStrategy.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",
        "GenerateManual",
        "roll",
        "repeat",
        "math",
        "generate-manual",
        "count-lines",
        "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/ArgumentVisibility.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/AsyncParsableCommand.swift",
        "Parsable Types/CommandConfiguration.swift",
        "Parsable Types/CommandGroup.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/InputKey.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/Platform.swift",
        "Utilities/SequenceExtensions.swift",
        "Utilities/StringExtensions.swift",
        "Utilities/Tree.swift"
      ],
      "target_dependencies" : [
        "ArgumentParserToolInfo"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Done.