Build Information
Failed to build xcsift, reference master (a4c385), with Swift 6.4 for Android on 12 Nov 2026 21:31:52 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ldomaradzki/xcsift.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/ldomaradzki/xcsift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a4c3853 fix: skip the duration of a test result line with log glued after it (#107)
Cloned https://github.com/ldomaradzki/xcsift.git
Revision (git rev-parse @):
a4c38538a9d83c889b893db9e1b12ba780e14904
SUCCESS checkout https://github.com/ldomaradzki/xcsift.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/ldomaradzki/xcsift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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:5786ce9fe651d178a8ae5aad38bfdff9cc1f1e4cbb801ddf8386deb4894fa46b
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
Fetching https://github.com/mattt/swift-toml
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/toon-format/toon-swift.git
[1/2345] Fetching swift-docc-plugin
[213/3825] Fetching swift-docc-plugin, toon-swift
[1397/4180] Fetching swift-docc-plugin, toon-swift, swift-toml
Fetched https://github.com/toon-format/toon-swift.git (0.50s)
Fetched https://github.com/mattt/swift-toml (0.54s)
Fetched https://github.com/swiftlang/swift-docc-plugin (0.54s)
[1/19384] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.98s)
Computing version for https://github.com/toon-format/toon-swift.git
Computed https://github.com/toon-format/toon-swift.git at 0.5.1 (1.14s)
Computing version for https://github.com/mattt/swift-toml
Computed https://github.com/mattt/swift-toml at 2.1.0 (0.16s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (1.00s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3866] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.63s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/toon-format/toon-swift.git
Working copy of https://github.com/toon-format/toon-swift.git resolved at 0.5.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/mattt/swift-toml
Working copy of https://github.com/mattt/swift-toml resolved at 2.1.0
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
Building for debugging...
[Computing dependencies]
[Provisioning 2 / 14]
[Pre-planning 1 / 302]
[Planning deferred tasks]
[71 / 119] xcsift_XCSiftCoreTests
[79 / 145] TOML
[90 / 145] ToonFormat
[91 / 145] CTomlPlusPlus
[99 / 145] XCSiftCore
[100 / 145] XCSiftCore
[101 / 145] XCSiftCore
[103 / 145] XCSiftCore
[103 / 145] ArgumentParserToolInfo
[106 / 146] XCSiftCore
[110 / 146] XCSiftCore
[112 / 146] ToonFormat
[113 / 146] TestUtils
[115 / 146] ToonFormat
[118 / 146] TOML-product
[119 / 146]
[123 / 149] ArgumentParserToolInfo
[129 / 149]
[130 / 150] ArgumentParser
[134 / 160] TestUtils
[136 / 161] TestUtils
[138 / 161] ToonFormat
[140 / 161] ArgumentParser
[141 / 161] ArgumentParser
[144 / 161] ArgumentParser
[148 / 161] ArgumentParser
[149 / 161] ArgumentParser-product
[150 / 162] ArgumentParser-product
[152 / 162] XCSiftCore
[154 / 164]
[158 / 173] xcsift-product
[159 / 173] xcsift-product
[162 / 173] xcsift-product
[166 / 173] AllExcludingTests
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile StreamingLineReader.swift
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/xcsift/main.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile main.swift
/host/spi-builder-workspace/Sources/xcsift/main.swift:191:12: [1;31merror: [1;39mcannot find 'isatty' in scope[0;0m
[0;36m189 |[0;0m
[0;36m190 |[0;0m // Check if stdin is a terminal (no piped input) before trying to read
[0;36m191 |[0;0m if [4;39misatty[0;0m(STDIN_FILENO) == 1 {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'isatty' in scope[0;0m
[0;36m192 |[0;0m throw ValidationError(
[0;36m193 |[0;0m "No input provided. Please pipe xcodebuild output to xcsift.\n\nExample: xcodebuild build | xcsift"
/host/spi-builder-workspace/Sources/xcsift/main.swift:191:19: [1;31merror: [1;39mcannot find 'STDIN_FILENO' in scope[0;0m
[0;36m189 |[0;0m
[0;36m190 |[0;0m // Check if stdin is a terminal (no piped input) before trying to read
[0;36m191 |[0;0m if isatty([4;39mSTDIN_FILENO[0;0m) == 1 {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'STDIN_FILENO' in scope[0;0m
[0;36m192 |[0;0m throw ValidationError(
[0;36m193 |[0;0m "No input provided. Please pipe xcodebuild output to xcsift.\n\nExample: xcodebuild build | xcsift"
/host/spi-builder-workspace/Sources/xcsift/main.swift:208:60: [1;31merror: [1;39mcannot find 'STDIN_FILENO' in scope[0;0m
[0;36m206 |[0;0m xcbeautify: resolved.parse.xcbeautify
[0;36m207 |[0;0m )
[0;36m208 |[0;0m var inputSource = POSIXInputSource(fileDescriptor: [4;39mSTDIN_FILENO[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'STDIN_FILENO' in scope[0;0m
[0;36m209 |[0;0m var lineReader = StreamingLineReader()
[0;36m210 |[0;0m let inputScan: InputScan
/host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift:22:17: [1;33mwarning: [1;39mconstant 'bytesRead' inferred to have type '()', which may be unexpected[0;0m
[0;36m20 |[0;0m
[0;36m21 |[0;0m while true {
[0;36m22 |[0;0m let bytesRead = data.withUnsafeMutableBytes { buffer in
[0;36m|[0;0m |- [1;33mwarning: [1;39mconstant 'bytesRead' inferred to have type '()', which may be unexpected[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd an explicit type annotation to silence this warning[0;0m
[0;36m23 |[0;0m #if canImport(Darwin)
[0;36m24 |[0;0m Darwin.read(fileDescriptor, buffer.baseAddress, count)
/host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift:32:26: [1;31merror: [1;39mbinary operator '>' cannot be applied to operands of type '()' and 'Int'[0;0m
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[0;36m32 |[0;0m if bytesRead > 0 {
[0;36m|[0;0m `- [1;31merror: [1;39mbinary operator '>' cannot be applied to operands of type '()' and 'Int'[0;0m
[0;36m33 |[0;0m data.removeSubrange(bytesRead ..< data.count)
[0;36m34 |[0;0m return data
Swift.BinaryInteger:1:11: [1;39mnote: [1;39mcandidate requires that '()' conform to 'BinaryInteger' (requirement specified as 'Self' : 'BinaryInteger')[0;0m
[0;36m1 |[0;0m extension BinaryInteger {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate requires that '()' conform to 'BinaryInteger' (requirement specified as 'Self' : 'BinaryInteger')[0;0m
[0;36m2 |[0;0m public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
[0;36m3 |[0;0m public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
/host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift:33:37: [1;31merror: [1;39mcannot convert value of type '()' to expected argument type 'Data.Index' (aka 'Int')[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m if bytesRead > 0 {
[0;36m33 |[0;0m data.removeSubrange(bytesRead ..< data.count)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot convert value of type '()' to expected argument type 'Data.Index' (aka 'Int')[0;0m
[0;36m34 |[0;0m return data
[0;36m35 |[0;0m }
/host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift:36:26: [1;31merror: [1;39mbinary operator '==' cannot be applied to operands of type '()' and 'Int'[0;0m
[0;36m34 |[0;0m return data
[0;36m35 |[0;0m }
[0;36m36 |[0;0m if bytesRead == 0 {
[0;36m|[0;0m `- [1;31merror: [1;39mbinary operator '==' cannot be applied to operands of type '()' and 'Int'[0;0m
[0;36m37 |[0;0m return nil
[0;36m38 |[0;0m }
Swift.BinaryInteger:1:11: [1;39mnote: [1;39mcandidate requires that '()' conform to 'BinaryInteger' (requirement specified as 'Self' : 'BinaryInteger')[0;0m
[0;36m1 |[0;0m extension BinaryInteger {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate requires that '()' conform to 'BinaryInteger' (requirement specified as 'Self' : 'BinaryInteger')[0;0m
[0;36m2 |[0;0m public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
[0;36m3 |[0;0m public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
/host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift:39:16: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m37 |[0;0m return nil
[0;36m38 |[0;0m }
[0;36m39 |[0;0m if [4;39merrno[0;0m == EINTR {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m40 |[0;0m continue
[0;36m41 |[0;0m }
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m56 |[0;0m * thread.
[0;36m57 |[0;0m */
[0;36m58 |[0;0m #define errno (*__errno())
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m __END_DECLS
/host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift:43:65: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m41 |[0;0m }
[0;36m42 |[0;0m
[0;36m43 |[0;0m throw NSError(domain: NSPOSIXErrorDomain, code: Int([4;39merrno[0;0m))
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m44 |[0;0m }
[0;36m45 |[0;0m }
/android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/errno.h:58:9: [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m56 |[0;0m * thread.
[0;36m57 |[0;0m */
[0;36m58 |[0;0m #define errno (*__errno())
[0;36m|[0;0m `- [1;39mnote: [1;39mmacro 'errno' unavailable: structure not supported[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m __END_DECLS
/host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift:118:19: [1;31merror: [1;39mcannot find 'match' in scope[0;0m
[0;36m116 |[0;0m #endif
[0;36m117 |[0;0m
[0;36m118 |[0;0m guard let [4;39mmatch[0;0m else { return nil }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'match' in scope[0;0m
[0;36m119 |[0;0m return baseAddress.distance(to: UnsafeRawPointer(match))
[0;36m120 |[0;0m }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/xcsift/ConfigLoader.swift /host/spi-builder-workspace/Sources/xcsift/ConfigMerger.swift /host/spi-builder-workspace/Sources/xcsift/Configuration.swift /host/spi-builder-workspace/Sources/xcsift/Install/ClaudeCodeInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/CodexInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/CursorInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/InstallCommands.swift /host/spi-builder-workspace/Sources/xcsift/Install/MCPServerInstaller.swift /host/spi-builder-workspace/Sources/xcsift/Install/Templates/CodexTemplates.swift /host/spi-builder-workspace/Sources/xcsift/Install/Templates/CursorTemplates.swift /host/spi-builder-workspace/Sources/xcsift/Install/Templates/SharedTemplates.swift /host/spi-builder-workspace/Sources/xcsift/MCP/BuildLogReference.swift /host/spi-builder-workspace/Sources/xcsift/MCP/BuildOutputSifter.swift /host/spi-builder-workspace/Sources/xcsift/MCP/JSONValue.swift /host/spi-builder-workspace/Sources/xcsift/MCP/MCPCommand.swift /host/spi-builder-workspace/Sources/xcsift/MCP/MCPMessageFramer.swift /host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxyRunner.swift /host/spi-builder-workspace/Sources/xcsift/MCP/MCPProxySession.swift /host/spi-builder-workspace/Sources/xcsift/ResultRenderer.swift /host/spi-builder-workspace/Sources/xcsift/SiftingOptions.swift -primary-file /host/spi-builder-workspace/Sources/xcsift/StreamingLineReader.swift -primary-file /host/spi-builder-workspace/Sources/xcsift/main.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/StreamingLineReader.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/StreamingLineReader.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/StreamingLineReader.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/StreamingLineReader.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/main.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/main.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/main.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/main.dia -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/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.0-RELEASE_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-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-android-aarch64/CTomlPlusPlus.modulemap -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/checkouts/swift-toml/Sources/CTomlPlusPlus/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name xcsift -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/xcsift_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/StreamingLineReader.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/main.o -index-unit-output-path /xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/StreamingLineReader.o -index-unit-output-path /xcsift.build/Debug-android-aarch64/xcsift-p.build/Objects-normal/aarch64/main.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android