Build Information
Failed to build variable-injector, reference master (2f896a), with Swift 6.4 for Android on 18 Sep 2026 16:58:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lucianopalmeida/variable-injector.git
Reference: master
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/lucianopalmeida/variable-injector
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2f896a7 Update README.md
Cloned https://github.com/lucianopalmeida/variable-injector.git
Revision (git rev-parse @):
2f896a7cd30f63fd1b0e157403cc3352c182d22a
SUCCESS checkout https://github.com/lucianopalmeida/variable-injector.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/lucianopalmeida/variable-injector.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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.git
Fetching https://github.com/apple/swift-syntax.git
[1/18918] Fetching swift-argument-parser
[18919/98869] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (3.28s)
Fetched https://github.com/apple/swift-syntax.git (3.30s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (3.50s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.30s)
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.3.0
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 214]
[Planning deferred tasks]
[57 / 103] SwiftSyntax509
[63 / 104] SwiftSyntax
[69 / 113] SwiftSyntax509
[72 / 114] ArgumentParserToolInfo
[78 / 114] ArgumentParserToolInfo
[82 / 115] ArgumentParserToolInfo
[84 / 116] SwiftSyntax509
[85 / 125] SwiftSyntax
[88 / 125] ArgumentParser
[91 / 125] ArgumentParser
[95 / 125] ArgumentParser
[96 / 125] ArgumentParser-product
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m44 |[0;0m #else
[0;36m45 |[0;0m // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
[0;36m46 |[0;0m guard let shellVar = [4;39mgetenv[0;0m("SHELL") else { return nil }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m47 |[0;0m let shellParts = String(cString: shellVar).split(separator: "/")
[0;36m48 |[0;0m return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: [1;31merror: [1;39mcannot find 'EXIT_SUCCESS' in scope[0;0m
[0;36m64 |[0;0m /// The code for successful exit.
[0;36m65 |[0;0m static var exitCodeSuccess: Int32 {
[0;36m66 |[0;0m [4;39mEXIT_SUCCESS[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EXIT_SUCCESS' in scope[0;0m
[0;36m67 |[0;0m }
[0;36m68 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: [1;31merror: [1;39mcannot find 'EXIT_FAILURE' in scope[0;0m
[0;36m69 |[0;0m /// The code for exit with a general failure.
[0;36m70 |[0;0m static var exitCodeFailure: Int32 {
[0;36m71 |[0;0m [4;39mEXIT_FAILURE[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EXIT_FAILURE' in scope[0;0m
[0;36m72 |[0;0m }
[0;36m73 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: [1;31merror: [1;39mcannot find 'EX_USAGE' in scope[0;0m
[0;36m79 |[0;0m return EXIT_FAILURE
[0;36m80 |[0;0m #else
[0;36m81 |[0;0m return [4;39mEX_USAGE[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EX_USAGE' in scope[0;0m
[0;36m82 |[0;0m #endif
[0;36m83 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: [1;31merror: [1;39mcannot find 'putc' in scope[0;0m
[0;36m109 |[0;0m struct StandardError: TextOutputStream {
[0;36m110 |[0;0m mutating func write(_ string: String) {
[0;36m111 |[0;0m for byte in string.utf8 { [4;39mputc[0;0m(numericCast(byte), stderr) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'putc' in scope[0;0m
[0;36m112 |[0;0m }
[0;36m113 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: [1;31merror: [1;39mcannot find 'stderr' in scope[0;0m
[0;36m109 |[0;0m struct StandardError: TextOutputStream {
[0;36m110 |[0;0m mutating func write(_ string: String) {
[0;36m111 |[0;0m for byte in string.utf8 { putc(numericCast(byte), [4;39mstderr[0;0m) }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'stderr' in scope[0;0m
[0;36m112 |[0;0m }
[0;36m113 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:167:23: [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m165 |[0;0m
[0;36m166 |[0;0m #if !os(Windows) && !os(WASI)
[0;36m167 |[0;0m if let colsCStr = [4;39mgetenv[0;0m("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m168 |[0;0m width = colsVal
[0;36m169 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m168 |[0;0m width = colsVal
[0;36m169 |[0;0m }
[0;36m170 |[0;0m if let linesCStr = [4;39mgetenv[0;0m("LINES"), let linesVal = Int(String(cString: linesCStr)) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m171 |[0;0m height = linesVal
[0;36m172 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: [1;31merror: [1;39mcannot find 'winsize' in scope[0;0m
[0;36m192 |[0;0m height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
[0;36m193 |[0;0m #else
[0;36m194 |[0;0m var w = [4;39mwinsize[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'winsize' in scope[0;0m
[0;36m195 |[0;0m
[0;36m196 |[0;0m #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: [1;31merror: [1;39mcannot find 'ioctl' in scope[0;0m
[0;36m201 |[0;0m let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
[0;36m202 |[0;0m #else
[0;36m203 |[0;0m let err = [4;39mioctl[0;0m(STDOUT_FILENO, TIOCGWINSZ, &w)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'ioctl' in scope[0;0m
[0;36m204 |[0;0m #endif
[0;36m205 |[0;0m guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: [1;31merror: [1;39mcannot find 'STDOUT_FILENO' in scope[0;0m
[0;36m201 |[0;0m let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
[0;36m202 |[0;0m #else
[0;36m203 |[0;0m let err = ioctl([4;39mSTDOUT_FILENO[0;0m, TIOCGWINSZ, &w)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'STDOUT_FILENO' in scope[0;0m
[0;36m204 |[0;0m #endif
[0;36m205 |[0;0m guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: [1;31merror: [1;39mcannot find 'TIOCGWINSZ' in scope[0;0m
[0;36m201 |[0;0m let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
[0;36m202 |[0;0m #else
[0;36m203 |[0;0m let err = ioctl(STDOUT_FILENO, [4;39mTIOCGWINSZ[0;0m, &w)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'TIOCGWINSZ' in scope[0;0m
[0;36m204 |[0;0m #endif
[0;36m205 |[0;0m guard err == 0 else { return (width: nil, height: nil) }
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 /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/ArgumentHelp.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/ArgumentVisibility.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/CompletionKind.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Errors.swift /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable\ Properties/Flag.swift /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/AsyncParsableCommand.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/InputKey.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 -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/CollectionExtensions.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/SequenceExtensions.swift -primary-file /host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/StringExtensions.swift -primary-file /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-16 -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 StrictConcurrency -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/CollectionExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Platform.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/SequenceExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/StringExtensions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Tree.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/CollectionExtensions.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/Platform.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/SequenceExtensions.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-normal/aarch64/StringExtensions.o -index-unit-output-path /swift-argument-parser.build/Debug-android-aarch64/ArgumentParser-t.build/Objects-no[97 / 125] ArgumentParser-product
rmal/aarch64/Tree.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android