Build Information
Failed to build SwiftSyntax, reference main (6134c2), with Swift 6.4 for Android on 20 Sep 2026 01:49:52 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SDGGiesbrecht/swift-syntax.git
Reference: main
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/SDGGiesbrecht/swift-syntax
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6134c24 Merge pull request #1497 from andrewjl/andrewjl/fix-xctskip-warning
Cloned https://github.com/SDGGiesbrecht/swift-syntax.git
Revision (git rev-parse @):
6134c24cebdbf8f123c981fd3c3e30583a3064f9
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/SDGGiesbrecht/swift-syntax.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/SDGGiesbrecht/swift-syntax.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
Fetching https://github.com/apple/swift-argument-parser.git
[1/18918] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git (0.73s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (0.94s)
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.2.3
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 909]
[Planning deferred tasks]
[144 / 278] SwiftSyntax
[147 / 278] ArgumentParserToolInfo
[152 / 279]
/host/spi-builder-workspace/Sources/SwiftSyntax/generated/Keyword.swift:16:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Make `StaticString` equatable so we can use it as the raw value for Keyword.
[0;36m16 |[0;0m extension StaticString: Equatable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m17 |[0;0m public static func == (lhs: StaticString, rhs: StaticString) -> Bool {
[0;36m18 |[0;0m return SyntaxText(lhs) == SyntaxText(rhs)
[155 / 289] ArgumentParserToolInfo
[156 / 289] ArgumentParser
[159 / 289] ArgumentParserToolInfo
/host/spi-builder-workspace/Sources/SwiftSyntax/generated/Keyword.swift:16:1: [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// Make `StaticString` equatable so we can use it as the raw value for Keyword.
[0;36m16 |[0;0m extension StaticString: Equatable {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension declares a conformance of imported type 'StaticString' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m17 |[0;0m public static func == (lhs: StaticString, rhs: StaticString) -> Bool {
[0;36m18 |[0;0m return SyntaxText(lhs) == SyntaxText(rhs)
[163 / 289] SwiftSyntax
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:36:26: [1;31merror: [1;39mcannot find 'getenv' in scope[0;0m
[0;36m34 |[0;0m #else
[0;36m35 |[0;0m // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
[0;36m36 |[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;36m37 |[0;0m let shellParts = String(cString: shellVar).split(separator: "/")
[0;36m38 |[0;0m return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: [1;31merror: [1;39mcannot find 'EXIT_SUCCESS' in scope[0;0m
[0;36m54 |[0;0m /// The code for successful exit.
[0;36m55 |[0;0m static var exitCodeSuccess: Int32 {
[0;36m56 |[0;0m [4;39mEXIT_SUCCESS[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EXIT_SUCCESS' in scope[0;0m
[0;36m57 |[0;0m }
[0;36m58 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: [1;31merror: [1;39mcannot find 'EXIT_FAILURE' in scope[0;0m
[0;36m59 |[0;0m /// The code for exit with a general failure.
[0;36m60 |[0;0m static var exitCodeFailure: Int32 {
[0;36m61 |[0;0m [4;39mEXIT_FAILURE[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EXIT_FAILURE' in scope[0;0m
[0;36m62 |[0;0m }
[0;36m63 |[0;0m
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: [1;31merror: [1;39mcannot find 'EX_USAGE' in scope[0;0m
[0;36m69 |[0;0m return EXIT_FAILURE
[0;36m70 |[0;0m #else
[0;36m71 |[0;0m return [4;39mEX_USAGE[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'EX_USAGE' in scope[0;0m
[0;36m72 |[0;0m #endif
[0;36m73 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: [1;31merror: [1;39mcannot find 'putc' in scope[0;0m
[0;36m99 |[0;0m struct StandardError: TextOutputStream {
[0;36m100 |[0;0m mutating func write(_ string: String) {
[0;36m101 |[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;36m102 |[0;0m }
[0;36m103 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: [1;31merror: [1;39mcannot find 'stderr' in scope[0;0m
[0;36m99 |[0;0m struct StandardError: TextOutputStream {
[0;36m100 |[0;0m mutating func write(_ string: String) {
[0;36m101 |[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;36m102 |[0;0m }
[0;36m103 |[0;0m }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: [1;31merror: [1;39mcannot find 'winsize' in scope[0;0m
[0;36m135 |[0;0m height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
[0;36m136 |[0;0m #else
[0;36m137 |[0;0m var w = [4;39mwinsize[0;0m()
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'winsize' in scope[0;0m
[0;36m138 |[0;0m #if os(OpenBSD)
[0;36m139 |[0;0m // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: [1;31merror: [1;39mcannot find 'ioctl' in scope[0;0m
[0;36m143 |[0;0m let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
[0;36m144 |[0;0m #else
[0;36m145 |[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;36m146 |[0;0m #endif
[0;36m147 |[0;0m let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: [1;31merror: [1;39mcannot find 'STDOUT_FILENO' in scope[0;0m
[0;36m143 |[0;0m let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
[0;36m144 |[0;0m #else
[0;36m145 |[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;36m146 |[0;0m #endif
[0;36m147 |[0;0m let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: [1;31merror: [1;39mcannot find 'TIOCGWINSZ' in scope[0;0m
[0;36m143 |[0;0m let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
[0;36m144 |[0;0m #else
[0;36m145 |[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;36m146 |[0;0m #endif
[0;36m147 |[0;0m let width = Int(w.ws_col)
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 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-normal/aarch64/Tree.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
[169 / 289] SwiftSyntax
error: Build failed
BUILD FAILURE 6.4 android