Build Information
Failed to build Exhaust, reference v1.9.0 (1c3ae3), with Swift 6.4 for Android on 30 Oct 2026 23:22:14 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.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nesevis/exhaust.git
Reference: v1.9.0
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/nesevis/exhaust
* tag v1.9.0 -> FETCH_HEAD
HEAD is now at 1c3ae3e Update Package.swift with xcframework URL for v1.9.0
Cloned https://github.com/nesevis/exhaust.git
Revision (git rev-parse @):
1c3ae3e7d4110a578fbce26afb5b47b4b9fedb91
SUCCESS checkout https://github.com/nesevis/exhaust.git at v1.9.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/nesevis/exhaust.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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/nesevis/exhaust-macros.git
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5669] Fetching swift-custom-dump
[2/7159] Fetching swift-custom-dump, swift-benchmark
[235/9504] Fetching swift-custom-dump, swift-benchmark, swift-docc-plugin
[5015/9657] Fetching swift-custom-dump, swift-benchmark, swift-docc-plugin, exhaust-macros
Fetched https://github.com/nesevis/exhaust-macros.git (0.45s)
[7417/9504] Fetching swift-custom-dump, swift-benchmark, swift-docc-plugin
Fetched https://github.com/google/swift-benchmark (0.47s)
[7428/8014] Fetching swift-custom-dump, swift-docc-plugin
Fetched https://github.com/pointfreeco/swift-custom-dump (0.47s)
[1830/2345] Fetching swift-docc-plugin
[2346/8525] Fetching swift-docc-plugin, swift-issue-reporting
[8526/72389] Fetching swift-docc-plugin, swift-issue-reporting, swiftformat
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.74s)
[6816/66209] Fetching swift-docc-plugin, swiftformat
Fetched https://github.com/swiftlang/swift-docc-plugin (25.04s)
Fetched https://github.com/nicklockwood/SwiftFormat (25.31s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (25.49s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.91s)
Fetching https://github.com/apple/swift-argument-parser
[1/19320] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (1.11s)
Computing version for https://github.com/nesevis/exhaust-macros.git
Computed https://github.com/nesevis/exhaust-macros.git at 1.9.0 (1.29s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/81369] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (4.82s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (6.04s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.65s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.82s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.26s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.64.4 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.16s)
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
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.2
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/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/nesevis/exhaust-macros.git
Working copy of https://github.com/nesevis/exhaust-macros.git resolved at 1.9.0
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/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.64.4
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.18s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/ExhaustTests/ReplayStability/ReplayCorpus.jsonl
Building for debugging...
[Computing dependencies]
[Provisioning 3 / 33]
[Pre-planning 1 / 797]
[Planning deferred tasks]
[135 / 261] ArgumentParserToolInfo
[144 / 294] ExhaustMacros
[144 / 294] ExhaustCore
[147 / 312] ExhaustCore
[148 / 312] ExhaustMacros
[160 / 312] ExhaustSupport
[171 / 312] IssueReporting
[172 / 312] IssueReporting
[173 / 312] IssueReporting
[174 / 312] IssueReporting
[175 / 312] ExhaustSupport
[175 / 312] ExhaustCore
[176 / 312] IssueReporting
[178 / 312] ExhaustSupport
[184 / 312] ExhaustSupport
[185 / 313] IssueReportingTestSupport
[187 / 313] IssueReportingTestSupport
[190 / 313] ExhaustMacros
[193 / 313] ExhaustMacros
[194 / 313] ExhaustMacros
[195 / 313] ExhaustMacros
[196 / 313] ExhaustMacros
error: SwiftCompile normal aarch64 /host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile FileLock.swift
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:60:26: [1;31merror: [1;39mcannot find 'open' in scope[0;0m
[0;36m58 |[0;0m handle = opened
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m let opened = [4;39mopen[0;0m(path, O_CREAT | O_RDWR | O_CLOEXEC, 0o600)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'open' in scope[0;0m
[0;36m61 |[0;0m guard opened >= 0 else {
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \(errno)).")
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:60:37: [1;31merror: [1;39mcannot find 'O_CREAT' in scope[0;0m
[0;36m58 |[0;0m handle = opened
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m let opened = open(path, [4;39mO_CREAT[0;0m | O_RDWR | O_CLOEXEC, 0o600)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_CREAT' in scope[0;0m
[0;36m61 |[0;0m guard opened >= 0 else {
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \(errno)).")
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:60:47: [1;31merror: [1;39mcannot find 'O_RDWR' in scope[0;0m
[0;36m58 |[0;0m handle = opened
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m let opened = open(path, O_CREAT | [4;39mO_RDWR[0;0m | O_CLOEXEC, 0o600)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_RDWR' in scope[0;0m
[0;36m61 |[0;0m guard opened >= 0 else {
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \(errno)).")
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:60:56: [1;31merror: [1;39mcannot find 'O_CLOEXEC' in scope[0;0m
[0;36m58 |[0;0m handle = opened
[0;36m59 |[0;0m #else
[0;36m60 |[0;0m let opened = open(path, O_CREAT | O_RDWR | [4;39mO_CLOEXEC[0;0m, 0o600)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'O_CLOEXEC' in scope[0;0m
[0;36m61 |[0;0m guard opened >= 0 else {
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \(errno)).")
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:62:77: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m60 |[0;0m let opened = open(path, O_CREAT | O_RDWR | O_CLOEXEC, 0o600)
[0;36m61 |[0;0m guard opened >= 0 else {
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \([4;39merrno[0;0m)).")
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard flock(opened, LOCK_EX | LOCK_NB) == 0 else {
/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/ExhaustSupport/FileLock.swift:64:19: [1;31merror: [1;39mcannot find 'flock' in scope[0;0m
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \(errno)).")
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard [4;39mflock[0;0m(opened, LOCK_EX | LOCK_NB) == 0 else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'flock' in scope[0;0m
[0;36m65 |[0;0m let error = errno
[0;36m66 |[0;0m close(opened)
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:64:33: [1;31merror: [1;39mcannot find 'LOCK_EX' in scope[0;0m
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \(errno)).")
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard flock(opened, [4;39mLOCK_EX[0;0m | LOCK_NB) == 0 else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'LOCK_EX' in scope[0;0m
[0;36m65 |[0;0m let error = errno
[0;36m66 |[0;0m close(opened)
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:64:43: [1;31merror: [1;39mcannot find 'LOCK_NB' in scope[0;0m
[0;36m62 |[0;0m throw Failure.operation("Cannot open the file lock (errno \(errno)).")
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard flock(opened, LOCK_EX | [4;39mLOCK_NB[0;0m) == 0 else {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'LOCK_NB' in scope[0;0m
[0;36m65 |[0;0m let error = errno
[0;36m66 |[0;0m close(opened)
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:65:29: [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m63 |[0;0m }
[0;36m64 |[0;0m guard flock(opened, LOCK_EX | LOCK_NB) == 0 else {
[0;36m65 |[0;0m let error = [4;39merrno[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'errno' in scope[0;0m
[0;36m66 |[0;0m close(opened)
[0;36m67 |[0;0m if error == EWOULDBLOCK || error == EAGAIN {
/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/ExhaustSupport/FileLock.swift:66:17: [1;31merror: [1;39mcannot find 'close' in scope[0;0m
[0;36m64 |[0;0m guard flock(opened, LOCK_EX | LOCK_NB) == 0 else {
[0;36m65 |[0;0m let error = errno
[0;36m66 |[0;0m [4;39mclose[0;0m(opened)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'close' in scope[0;0m
[0;36m67 |[0;0m if error == EWOULDBLOCK || error == EAGAIN {
[0;36m68 |[0;0m throw .busy
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:80:13: [1;31merror: [1;39mcannot find 'flock' in scope[0;0m
[0;36m78 |[0;0m CloseHandle(handle)
[0;36m79 |[0;0m #else
[0;36m80 |[0;0m [4;39mflock[0;0m(descriptor, LOCK_UN)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'flock' in scope[0;0m
[0;36m81 |[0;0m close(descriptor)
[0;36m82 |[0;0m #endif
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:80:31: [1;31merror: [1;39mcannot find 'LOCK_UN' in scope[0;0m
[0;36m78 |[0;0m CloseHandle(handle)
[0;36m79 |[0;0m #else
[0;36m80 |[0;0m flock(descriptor, [4;39mLOCK_UN[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'LOCK_UN' in scope[0;0m
[0;36m81 |[0;0m close(descriptor)
[0;36m82 |[0;0m #endif
/host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift:81:13: [1;31merror: [1;39mcannot find 'close' in scope[0;0m
[0;36m79 |[0;0m #else
[0;36m80 |[0;0m flock(descriptor, LOCK_UN)
[0;36m81 |[0;0m [4;39mclose[0;0m(descriptor)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'close' in scope[0;0m
[0;36m82 |[0;0m #endif
[0;36m83 |[0;0m }
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/ExhaustSupport/CampaignEvent.swift /host/spi-builder-workspace/Sources/ExhaustSupport/CampaignRecord.swift /host/spi-builder-workspace/Sources/ExhaustSupport/CampaignRunEvents.swift /host/spi-builder-workspace/Sources/ExhaustSupport/CampaignTypes.swift /host/spi-builder-workspace/Sources/ExhaustSupport/CampaignWire.swift /host/spi-builder-workspace/Sources/ExhaustSupport/CampaignWireReport.swift -primary-file /host/spi-builder-workspace/Sources/ExhaustSupport/FileLock.swift /host/spi-builder-workspace/Sources/ExhaustSupport/StableHash.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/Objects-normal/aarch64/FileLock.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/Objects-normal/aarch64/FileLock.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/Objects-normal/aarch64/FileLock.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/Objects-normal/aarch64/FileLock.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 -warnings-as-errors -warnings-as-errors -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-upcoming-feature NonisolatedNonsendingByDefault -enable-upcoming-feature InferIsolatedConformances -enable-experimental-feature StrictConcurrency -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 -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/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name ExhaustSupport -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/Objects-normal/aarch64/ExhaustSupport_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/Objects-normal/aarch64/FileLock.o -index-unit-output-path /Exhaust.build/Debug-android-aarch64/ExhaustSupport-t.build/Objects-normal/aarch64/FileLock.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 android