Build Information
Successful build of swift-argument-parser, reference 1.5.0 (41982a
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 04:08:52 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-argument-parser.git
Reference: 1.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/apple/swift-argument-parser
* tag 1.5.0 -> FETCH_HEAD
HEAD is now at 41982a3 Update CHANGELOG for the 1.5 release. (#654)
Cloned https://github.com/apple/swift-argument-parser.git
Revision (git rev-parse @):
41982a3656a71c768319979febd796c6fd111d5c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/apple/swift-argument-parser.git at 1.5.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.69s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0 (41982a3)
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-argument-parser.git
https://github.com/apple/swift-argument-parser.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/42] Write sources
[6/42] Write math-entitlement.plist
[6/42] Write roll-entitlement.plist
[6/42] Write repeat-entitlement.plist
[6/42] Write sources
[6/42] Write generate-manual-tool-entitlement.plist
[11/42] Write sources
[12/42] Write changelog-authors-entitlement.plist
[15/42] Write count-lines-entitlement.plist
[15/42] Write sources
[17/42] Write generate-manual-entitlement.plist
[18/42] Write sources
[20/42] Write swift-version-2F0A5646E1D333AE.txt
[22/46] Emitting module ArgumentParserToolInfo
[23/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/46] Emitting module ArgumentParserToolInfo
[25/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/124] Compiling ArgumentParser CommandConfiguration.swift
[27/124] Compiling ArgumentParser CommandGroup.swift
[28/124] Compiling ArgumentParser EnumerableFlag.swift
[29/124] Compiling ArgumentParser ExpressibleByArgument.swift
[30/124] Compiling ArgumentParser ArgumentHelp.swift
[31/124] Compiling ArgumentParser ArgumentVisibility.swift
[32/124] Compiling ArgumentParser CompletionKind.swift
[33/124] Compiling ArgumentParser Errors.swift
[34/124] Compiling ArgumentParser Flag.swift
[35/128] Emitting module ArgumentParser
[36/128] Compiling ArgumentParser Argument.swift
[41/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[42/128] Compiling ArgumentParser CompletionsGenerator.swift
[43/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[44/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[45/132] Emitting module ArgumentParser
[55/132] Compiling ArgumentParser ArgumentDefinition.swift
[56/132] Compiling ArgumentParser ArgumentSet.swift
[57/132] Compiling ArgumentParser CommandParser.swift
[58/132] Compiling ArgumentParser InputKey.swift
[59/132] Compiling ArgumentParser ParsedValues.swift
[60/132] Compiling ArgumentParser NameSpecification.swift
[61/132] Compiling ArgumentParser Option.swift
[62/132] Compiling ArgumentParser OptionGroup.swift
[63/132] Compiling ArgumentParser AsyncParsableCommand.swift
[64/132] Compiling ArgumentParser HelpGenerator.swift
[65/132] Compiling ArgumentParser MessageInfo.swift
[66/132] Compiling ArgumentParser UsageGenerator.swift
[67/132] Compiling ArgumentParser CollectionExtensions.swift
[68/132] Compiling ArgumentParser InputOrigin.swift
[69/132] Compiling ArgumentParser Name.swift
[70/132] Compiling ArgumentParser Parsed.swift
[72/132] Compiling ArgumentParser Platform.swift
[73/132] Compiling ArgumentParser SequenceExtensions.swift
[74/132] Compiling ArgumentParser StringExtensions.swift
[75/132] Compiling ArgumentParser Tree.swift
[81/132] Compiling ArgumentParser ParsableArguments.swift
[82/132] Compiling ArgumentParser ParsableArgumentsValidation.swift
[83/132] Compiling ArgumentParser ParsableCommand.swift
[84/132] Compiling ArgumentParser ParserError.swift
[85/132] Compiling ArgumentParser SplitArguments.swift
[86/132] Compiling ArgumentParser DumpHelpGenerator.swift
[87/132] Compiling ArgumentParser HelpCommand.swift
[91/132] Compiling ArgumentParser ArgumentDecoder.swift
[112/204] Emitting module roll
[113/204] Compiling generate_manual Authors.swift
[114/204] Compiling generate_manual Container.swift
[115/204] Compiling generate_manual Empty.swift
[116/206] Compiling generate_manual GenerateManual.swift
[117/206] Compiling generate_manual MDocASTNode.swift
[118/206] Compiling generate_manual MDocMacro.swift
[119/208] Compiling generate_manual ForEach.swift
[120/208] Compiling generate_manual MDocASTNodeWrapper.swift
[121/208] Compiling generate_manual MDocBuilder.swift
[122/208] Compiling generate_manual MDocComponent.swift
[123/208] Compiling generate_manual Document.swift
[124/208] Compiling generate_manual DocumentDate.swift
[125/208] Compiling generate_manual Exit.swift
[126/208] Compiling generate_manual List.swift
[127/208] Compiling generate_manual MultiPageDescription.swift
[128/208] Emitting module repeat
[129/208] Compiling repeat Repeat.swift
[130/208] Compiling changelog_authors Models.swift
[131/208] Compiling changelog_authors Util.swift
[131/208] Write Objects.LinkFileList
[136/208] Compiling generate_manual SeeAlso.swift
[137/208] Compiling generate_manual SinglePageDescription.swift
[138/208] Compiling generate_manual Synopsis.swift
[139/208] Compiling generate_manual ArgumentParser+MDoc.swift
[140/208] Compiling generate_manual Date+ExpressibleByArgument.swift
[141/208] Compiling generate_manual Process+SimpleAPI.swift
[142/208] Compiling generate_manual AuthorArgument.swift
[143/208] Compiling generate_manual ArgumentSynopsis.swift
[144/208] Compiling generate_manual Author.swift
[145/208] Emitting module generate_manual
[146/208] Compiling roll SplitMix64.swift
[147/208] Compiling roll main.swift
[147/208] Write Objects.LinkFileList
[149/208] Compiling generate_manual Name.swift
[150/208] Compiling generate_manual Preamble.swift
[151/208] Compiling generate_manual Section.swift
[152/208] Emitting module count_lines
[153/208] Compiling count_lines CountLines.swift
[160/208] Emitting module generate_manual
[160/208] Write Objects.LinkFileList
[162/208] Emitting module changelog_authors
[163/208] Compiling changelog_authors ChangelogAuthors.swift
[163/208] Write Objects.LinkFileList
[165/208] Compiling generate_manual MDocSerializationContext.swift
[166/208] Compiling generate_manual String+Escaping.swift
[180/208] Write Objects.LinkFileList
[182/208] Emitting module math
[183/208] Compiling math Math.swift
[183/208] Write Objects.LinkFileList
[184/208] Linking repeat
[185/208] Applying repeat
[192/208] Linking roll
[193/208] Write Objects.LinkFileList
[193/208] Linking count-lines
[195/208] Applying roll
[196/208] Applying count-lines
[197/208] Linking changelog-authors
[198/208] Applying changelog-authors
[199/208] Linking generate-manual-tool
[200/208] Applying generate-manual-tool
[201/208] Linking math
[202/208] Applying math
[203/208] Linking generate-manual
[204/208] Applying generate-manual
[206/208] Emitting module ArgumentParserTestHelpers
[207/208] Compiling ArgumentParserTestHelpers TestHelpers.swift
[208/208] Compiling ArgumentParserTestHelpers StringHelpers.swift
Build complete! (17.44s)
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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/apple/swift-argument-parser/1.5.0
Repository: apple/swift-argument-parser
Swift version used: 6.1
Target: ArgumentParser
Extracting symbol information for 'ArgumentParser'...
Finished extracting symbol information for 'ArgumentParser'. (3.48s)
Building documentation for 'ArgumentParser'...
warning: 'CaseIterable' doesn't exist at '/ArgumentParser/CustomizingHelp'
--> Articles/CustomizingHelp.md:118:47-118:59
116 | ### Deriving Possible Values
117 |
118 + ExpressibleByArgument types that conform to ``CaseIterable`` do not need to manually specify ``ExpressibleByArgument/allValueStrings``. Instead, a list of possible values is derived from the type's cases, as in this updated example:
119 |
120 | ```swift
warning: 'CaseIterable' doesn't exist at '/ArgumentParser/CustomizingHelp'
--> Articles/CustomizingHelp.md:151:40-151:52
149 | ```
150 |
151 + For an ``ExpressibleByArgument`` and ``CaseIterable`` type with many cases, you may still want to implement ``ExpressibleByArgument/allValueStrings`` to avoid an overly long list of values appearing in the help screen. For these types it is recommended to include the most common possible values.
152 |
153 | ## Controlling Argument Visibility
warning: 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:aliases:)' doesn't exist at '/ArgumentParser/CommandConfiguration'
--> Extensions/CommandConfiguration.md:7:5-7:119
5 | ### Creating a Configuration
6 |
7 + - ``init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:aliases:)``
| ╰─suggestion: Replace 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:defaultSubcommand:helpNames:aliases:)' with 'init(commandName:abstract:usage:discussion:version:shouldDisplay:subcommands:groupedSubcommands:defaultSubcommand:helpNames:aliases:)'
8 |
9 | ### Customizing the Help Screen
warning: Parameter 'initial' not found in initializer declaration
--> ../Parsable Properties/Argument.swift:621:9-621:61
619 | ///
620 | /// - Parameters:
621 + /// - initial: A default value to use for this property.
| ╰─suggestion: Remove 'initial' parameter documentation
622 | /// - parsingStrategy: The behavior to use when parsing multiple values from
623 | /// the command-line arguments.
warning: Parameter 'wrappedValue' is missing documentation
--> ../Parsable Properties/Argument.swift:625:79-625:79
623 | /// the command-line arguments.
624 | /// - help: Information about how to use this argument.
625 + /// - completion: Kind of completion provided to the user for this option.
626 | public init<T>(
627 | wrappedValue: Array<T>,
warning: Parameter 'command' not found in type method declaration
--> ../Parsable Properties/Errors.swift:83:7-84:31
81 | /// flags or subcommands.
82 | ///
83 + /// - Parameter command: The command type to offer help for, if different
| ╰─suggestion: Remove 'command' parameter documentation
84 + /// from the root command.
85 | public static func helpRequest(_ type: ParsableCommand.Type? = nil) -> CleanExit {
86 | self.init(base: .helpRequest(type))
warning: Parameter 'type' is missing documentation
--> ../Parsable Properties/Errors.swift:84:31-84:31
82 | ///
83 | /// - Parameter command: The command type to offer help for, if different
84 + /// from the root command.
| ╰─suggestion: Document 'type' parameter
85 | public static func helpRequest(_ type: ParsableCommand.Type? = nil) -> CleanExit {
86 | self.init(base: .helpRequest(type))
warning: Parameter 'wrappedValue' not found in initializer declaration
--> ../Parsable Properties/Flag.swift:348:9-348:142
346 | /// - Parameters:
347 | /// - name: A specification for what names are allowed for this flag.
348 + /// - wrappedValue: A default value to use for this property, provided implicitly by the compiler during property wrapper initialization.
| ╰─suggestion: Remove 'wrappedValue' parameter documentation
349 | /// - inversion: The method for converting this flag's name into an on/off pair.
350 | /// - exclusivity: The behavior to use when an on/off pair of flags is specified.
warning: Parameter 'name' not found in initializer declaration
--> ../Parsable Properties/Flag.swift:583:9-583:74
581 | ///
582 | /// - Parameters:
583 + /// - name: A specification for what names are allowed for this flag.
| ╰─suggestion: Remove 'name' parameter documentation
584 | /// - help: Information about how to use this flag.
585 | public init<Element>(
warning: Parameter 'wrappedValue' is missing documentation
--> ../Parsable Properties/Flag.swift:584:56-584:56
582 | /// - Parameters:
583 | /// - name: A specification for what names are allowed for this flag.
584 + /// - help: Information about how to use this flag.
| ╰─suggestion: Document 'wrappedValue' parameter
585 | public init<Element>(
586 | wrappedValue: [Element],
warning: Parameter 'transform' not found in initializer declaration
--> ../Parsable Properties/Option.swift:678:9-679:49
676 | /// - completion: The type of command-line completion provided for this
677 | /// option.
678 + /// - transform: A closure that converts a string into this property's
| ╰─suggestion: Remove 'transform' parameter documentation
679 + /// element type, or else throws an error.
680 | public init<T>(
681 | wrappedValue: Array<T>,
warning: Parameter 'subcommand' is missing documentation
--> ../Parsable Types/ParsableCommand.swift:120:19-120:19
118 | /// - Parameters:
119 | /// - includeHidden: Include hidden help information in the generated
| ╰─suggestion: Document 'subcommand' parameter
120 + /// message.
121 | /// - Returns: The usage text for this type.
122 | public static func usageString(
Finished building documentation for 'ArgumentParser' (0.28s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/apple/swift-argument-parser/1.5.0
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.48s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.08s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.78s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.40s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/7] Write snippet-extract-tool-entitlement.plist
[1/8] Write sources
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling SymbolKit Identifier.swift
[8/57] Compiling SymbolKit KindIdentifier.swift
[9/57] Compiling SymbolKit Location.swift
[10/57] Compiling SymbolKit Mutability.swift
[11/57] Compiling SymbolKit Names.swift
[12/57] Compiling SymbolKit SPI.swift
[13/57] Compiling SymbolKit Snippet.swift
[14/57] Compiling SymbolKit Extension.swift
[15/57] Compiling SymbolKit Mixin+Equals.swift
[16/57] Compiling SymbolKit Mixin+Hash.swift
[17/57] Compiling SymbolKit Mixin.swift
[18/57] Compiling SymbolKit LineList.swift
[19/57] Compiling SymbolKit Position.swift
[20/57] Compiling SymbolKit SemanticVersion.swift
[21/57] Compiling SymbolKit AccessControl.swift
[22/57] Compiling SymbolKit Availability.swift
[23/57] Compiling SymbolKit AvailabilityItem.swift
[24/57] Compiling SymbolKit Domain.swift
[25/57] Compiling SymbolKit GenericConstraint.swift
[26/57] Compiling SymbolKit GenericParameter.swift
[27/57] Compiling SymbolKit Generics.swift
[28/57] Compiling SymbolKit Namespace.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit DeclarationFragments.swift
[40/57] Compiling SymbolKit Fragment.swift
[41/57] Compiling SymbolKit FragmentKind.swift
[42/57] Compiling SymbolKit FunctionParameter.swift
[43/57] Compiling SymbolKit FunctionSignature.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Emitting module Snippets
[53/57] Compiling Snippets SnippetParser.swift
[54/57] Compiling Snippets Snippet.swift
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Compiling snippet_extract URL+Status.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.03s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/3] Compiling ArgumentParserToolInfo ToolInfo.swift
[3/3] Emitting module ArgumentParserToolInfo
[4/42] Compiling ArgumentParser InputOrigin.swift
[5/42] Compiling ArgumentParser Name.swift
[6/42] Compiling ArgumentParser Parsed.swift
[7/42] Compiling ArgumentParser ParsedValues.swift
[8/46] Emitting module ArgumentParser
[9/46] Compiling ArgumentParser NameSpecification.swift
[10/46] Compiling ArgumentParser Option.swift
[11/46] Compiling ArgumentParser OptionGroup.swift
[12/46] Compiling ArgumentParser AsyncParsableCommand.swift
[13/46] Compiling ArgumentParser CommandConfiguration.swift
[14/46] Compiling ArgumentParser CommandGroup.swift
[15/46] Compiling ArgumentParser EnumerableFlag.swift
[16/46] Compiling ArgumentParser ExpressibleByArgument.swift
[17/46] Compiling ArgumentParser ParsableArguments.swift
[18/46] Compiling ArgumentParser ParsableArgumentsValidation.swift
[19/46] Compiling ArgumentParser ParsableCommand.swift
[20/46] Compiling ArgumentParser ArgumentDecoder.swift
[21/46] Compiling ArgumentParser ArgumentHelp.swift
[22/46] Compiling ArgumentParser ArgumentVisibility.swift
[23/46] Compiling ArgumentParser CompletionKind.swift
[24/46] Compiling ArgumentParser Errors.swift
[25/46] Compiling ArgumentParser Flag.swift
[26/46] Compiling ArgumentParser ParserError.swift
[27/46] Compiling ArgumentParser SplitArguments.swift
[28/46] Compiling ArgumentParser DumpHelpGenerator.swift
[29/46] Compiling ArgumentParser HelpCommand.swift
[30/46] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/46] Compiling ArgumentParser CompletionsGenerator.swift
[32/46] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/46] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/46] Compiling ArgumentParser Argument.swift
[35/46] Compiling ArgumentParser Platform.swift
[36/46] Compiling ArgumentParser SequenceExtensions.swift
[37/46] Compiling ArgumentParser StringExtensions.swift
[38/46] Compiling ArgumentParser Tree.swift
[39/46] Compiling ArgumentParser HelpGenerator.swift
[40/46] Compiling ArgumentParser MessageInfo.swift
[41/46] Compiling ArgumentParser UsageGenerator.swift
[42/46] Compiling ArgumentParser CollectionExtensions.swift
[43/46] Compiling ArgumentParser ArgumentDefinition.swift
[44/46] Compiling ArgumentParser ArgumentSet.swift
[45/46] Compiling ArgumentParser CommandParser.swift
[46/46] Compiling ArgumentParser InputKey.swift
Build of target: 'ArgumentParser' complete! (1.60s)
691
6 /Users/admin/builder/spi-builder-workspace/.docs/apple/swift-argument-parser/1.5.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/apple/swift-argument-parser/1.5.0
File count: 691
Doc size: 6.0MB
Preparing doc bundle ...
Uploading prod-apple-swift-argument-parser-1.5.0-c6f0a8dd.zip to s3://spi-docs-inbox/prod-apple-swift-argument-parser-1.5.0-c6f0a8dd.zip
Copying... [12%]
Copying... [24%]
Copying... [32%]
Copying... [44%]
Copying... [52%]
Copying... [64%]
Copying... [72%]
Copying... [84%]
Copying... [92%]
Copying... [100%]
Done.