Build Information
Failed to build Exhaust, reference main (66f476), with Swift 6.4 for Android on 30 Oct 2026 23:21:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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/nesevis/exhaust.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/nesevis/exhaust
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 66f4768 Key unseeded explore checkpoints by generated seed
Cloned https://github.com/nesevis/exhaust.git
Revision (git rev-parse @):
66f476875ec6f9958ffc8d4d5014cbbec77effec
SUCCESS checkout https://github.com/nesevis/exhaust.git at main
========================================
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-53886769-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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/pointfreeco/swift-issue-reporting
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/1490] Fetching swift-benchmark
[165/7159] Fetching swift-benchmark, swift-custom-dump
[1424/9504] Fetching swift-benchmark, swift-custom-dump, swift-docc-plugin
Fetched https://github.com/pointfreeco/swift-custom-dump (0.49s)
Fetched https://github.com/swiftlang/swift-docc-plugin (0.50s)
[1/6180] Fetching swift-issue-reporting
[6181/70044] Fetching swift-issue-reporting, swiftformat
[13207/151413] Fetching swift-issue-reporting, swiftformat, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.55s)
[21639/70044] Fetching swift-issue-reporting, swiftformat
Fetched https://github.com/google/swift-benchmark (20.64s)
Fetched https://github.com/pointfreeco/swift-issue-reporting (20.64s)
Fetched https://github.com/nicklockwood/SwiftFormat (20.91s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (21.06s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.86s)
Fetching https://github.com/apple/swift-argument-parser
[1/19320] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.80s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.2 (0.99s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3850] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.75s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.25s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.64.4 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
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/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-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
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/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/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
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
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
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.15s)
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 6 / 33]
[Pre-planning 1 / 797]
[Planning deferred tasks]
[139 / 267] IssueReportingTestSupport
[144 / 294] IssueReporting
[144 / 294] ExhaustCore
[147 / 312] ExhaustCore
[147 / 312] IssueReportingTestSupport
[159 / 312] IssueReporting
[170 / 312] IssueReporting-product
[172 / 312] IssueReporting-product
[175 / 313] IssueReporting
[176 / 313] ExhaustSupport
[177 / 313] ExhaustSupport
[180 / 313] ExhaustSupport
[181 / 313] ExhaustSupport
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