The Swift Package Index logo.Swift Package Index

Build Information

Failed to build XCResource, reference 0.1.4 (a044a3), with Swift 6.4 for Android on 26 Sep 2026 15:08:51 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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/gaetanzanella/xcresource-cli.git
Reference: 0.1.4
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/gaetanzanella/xcresource-cli
 * tag               0.1.4      -> FETCH_HEAD
HEAD is now at a044a32 Update changelog
Cloned https://github.com/gaetanzanella/xcresource-cli.git
Revision (git rev-parse @):
a044a3247f7fa07d8cef9ab0509505c59b166b1d
SUCCESS checkout https://github.com/gaetanzanella/xcresource-cli.git at 0.1.4
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/gaetanzanella/xcresource-cli.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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
Fetching https://github.com/apple/swift-argument-parser
[1/18946] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.74s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.95s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Building for debugging...
[Pre-planning 1 / 154]
[Starting]
[45 / 73] XCResource
[46 / 73] ArgumentParserToolInfo
[56 / 73] XCResource-product
[57 / 74] XCResource-product
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:37:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
35 |     func execute(_ command: String) throws -> String {
36 |         let task = Process()
37 |         task.launchPath = "/bin/bash"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |              `- note: use 'executableURL' instead
38 |         task.currentDirectoryPath = currentDirectoryPath
39 |         task.arguments = ["-c", command]
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:38:14: warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
36 |         let task = Process()
37 |         task.launchPath = "/bin/bash"
38 |         task.currentDirectoryPath = currentDirectoryPath
   |              |- warning: 'currentDirectoryPath' is deprecated: renamed to 'currentDirectoryURL' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |              `- note: use 'currentDirectoryURL' instead
39 |         task.arguments = ["-c", command]
40 |         let pipe = Pipe()
/host/spi-builder-workspace/Sources/XCResource/Shared/Shell.swift:43:14: warning: 'launch()' is deprecated: renamed to 'run' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
41 |         task.standardOutput = pipe
42 |         task.standardError = pipe
43 |         task.launch()
   |              |- warning: 'launch()' is deprecated: renamed to 'run' [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
   |              `- note: use 'run' instead
44 |         let data = pipe.fileHandleForReading.readDataToEndOfFile()
45 |         let output = String(data: data, encoding: .utf8) ?? ""
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Errors.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/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/.build/checkouts/swift-argument-parser/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/.build/checkouts/swift-argument-parser/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 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/BashCompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/CompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/FishCompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Completions/ZshCompletionsGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Argument.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/ArgumentHelp.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/CompletionKind.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Errors.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Flag.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/NameSpecification.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Option.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/OptionGroup.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/CommandConfiguration.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/EnumerableFlag.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ExpressibleByArgument.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ParsableArguments.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ParsableArgumentsValidation.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Types/ParsableCommand.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ArgumentDecoder.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ArgumentDefinition.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ArgumentSet.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/CommandParser.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/InputOrigin.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/Name.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/Parsed.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ParsedValues.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/ParserError.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsing/SplitArguments.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/DumpHelpGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpCommand.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/HelpGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/MessageInfo.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Usage/UsageGenerator.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/CollectionExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/SequenceExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/StringExtensions.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Tree.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/supplementaryOutputs-10 -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 -suppress-warnings -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 -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/ArgumentHelp.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/CompletionKind.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Errors.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Flag.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/NameSpecification.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/ArgumentHelp.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/CompletionKind.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Errors.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Flag.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/NameSpecification.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[71 / 85] XCResource
error: Build failed
BUILD FAILURE 6.4 android