The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-argument-parser, reference 1.0.2 (e14650), with Swift 6.4 for Android on 24 Sep 2026 10:27:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MarcoEidinger/swift-argument-parser.git
Reference: 1.0.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/MarcoEidinger/swift-argument-parser
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at e146504 Update CHANGELOG for release 1.0.2 (#373)
Cloned https://github.com/MarcoEidinger/swift-argument-parser.git
Revision (git rev-parse @):
e1465042f195f374b94f915ba8ca49de24300a0d
SUCCESS checkout https://github.com/MarcoEidinger/swift-argument-parser.git at 1.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/MarcoEidinger/swift-argument-parser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Pre-planning 1 / 240]
[Constructing 30 / 487]
[49 / 87] ArgumentParserToolInfo
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/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 |
/host/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 {
/host/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 {
/host/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 {
/host/spi-builder-workspace/Sources/ArgumentParser/Parsable Properties/Errors.swift:61:40: error: cannot find 'EXIT_SUCCESS' in scope
 59 |
 60 |   /// An exit code that indicates successful completion of a command.
 61 |   public static let success = ExitCode(EXIT_SUCCESS)
    |                                        `- error: cannot find 'EXIT_SUCCESS' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
/host/spi-builder-workspace/Sources/ArgumentParser/Parsable Properties/Errors.swift:64:40: error: cannot find 'EXIT_FAILURE' in scope
 62 |
 63 |   /// An exit code that indicates that the command failed.
 64 |   public static let failure = ExitCode(EXIT_FAILURE)
    |                                        `- error: cannot find 'EXIT_FAILURE' in scope
 65 |
 66 |   /// An exit code that indicates that the user provided invalid input.
/host/spi-builder-workspace/Sources/ArgumentParser/Parsable Properties/Errors.swift:70:50: error: cannot find 'EX_USAGE' in scope
 68 |   public static let validationFailure = ExitCode(ERROR_BAD_ARGUMENTS)
 69 | #else
 70 |   public static let validationFailure = ExitCode(EX_USAGE)
    |                                                  `- error: cannot find 'EX_USAGE' in scope
 71 | #endif
 72 |
/host/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 {
/host/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 | }
/host/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) {
/host/spi-builder-workspace/Sources/ArgumentParserToolInfo/ToolInfo.swift:30:15: note: struct declared here
 28 | /// Top-level structure containing serialization version and information for all
 29 | /// commands in a tool.
 30 | public struct ToolInfoV0: Codable, Hashable {
    |               `- note: struct declared here
 31 |   /// A sentinel value indicating the version of the ToolInfo struct used to
 32 |   /// generate the serialized form.
/host/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>
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/ArgumentParser/Completions/BashCompletionsGenerator.swift /host/spi-builder-workspace/Sources/ArgumentParser/Completions/CompletionsGenerator.swift /host/spi-builder-workspace/Sources/ArgumentParser/Completions/FishCompletionsGenerator.swift /host/spi-builder-workspace/Sources/ArgumentParser/Completions/ZshCompletionsGenerator.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/Argument.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/ArgumentHelp.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/CompletionKind.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/Errors.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/Flag.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/NameSpecification.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/Option.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Properties/OptionGroup.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Types/CommandConfiguration.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Types/EnumerableFlag.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Types/ExpressibleByArgument.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Types/ParsableArguments.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Types/ParsableArgumentsValidation.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsable\ Types/ParsableCommand.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/ArgumentDecoder.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/ArgumentDefinition.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/ArgumentSet.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/CommandParser.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/InputOrigin.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/Name.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/Parsed.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/ParsedValues.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/ParserError.swift /host/spi-builder-workspace/Sources/ArgumentParser/Parsing/SplitArguments.swift /host/spi-builder-workspace/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift /host/spi-builder-workspace/Sources/ArgumentParser/Usage/HelpCommand.swift /host/spi-builder-workspace/Sources/ArgumentParser/Usage/HelpGenerator.swift /host/spi-builder-workspace/Sources/ArgumentParser/Usage/MessageInfo.swift /host/spi-builder-workspace/Sources/ArgumentParser/Usage/UsageGenerator.swift /host/spi-builder-workspace/Sources/ArgumentParser/Utilities/CollectionExtensions.swift /host/spi-builder-workspace/Sources/ArgumentParser/Utilities/SequenceExtensions.swift /host/spi-builder-workspace/Sources/ArgumentParser/Utilities/StringExtensions.swift /host/spi-builder-workspace/Sources/ArgumentParser/Utilities/Tree.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ArgumentParser -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentParser_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Modules/ArgumentParser.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Modules/ArgumentParser.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentParser-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentParser-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentParser-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Modules/ArgumentParser.swiftmodule
[63 / 97] ArgumentParser
error: Build failed
BUILD FAILURE 6.4 android