Build Information
Failed to build SwiftCurrent, reference 5.1.12 (ec91f6), with Swift 6.4 for Android on 18 Sep 2026 19:58:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/wwt/SwiftCurrent.git
Reference: 5.1.12
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/wwt/SwiftCurrent
* tag 5.1.12 -> FETCH_HEAD
HEAD is now at ec91f63 [ci skip] Apply automatic changes
Cloned https://github.com/wwt/SwiftCurrent.git
Revision (git rev-parse @):
ec91f6355a5041ebe15d5e6a068bf7562b1ae20d
SUCCESS checkout https://github.com/wwt/SwiftCurrent.git at 5.1.12
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/wwt/SwiftCurrent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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-syntax.git
Fetching https://github.com/sindresorhus/ExceptionCatcher
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-algorithms
Fetching https://github.com/nalexn/ViewInspector.git
[1/104] Fetching exceptioncatcher
Fetched https://github.com/sindresorhus/ExceptionCatcher (0.43s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/460] Fetching cwlcatchexception
[461/6605] Fetching cwlcatchexception, swift-algorithms
[6606/25523] Fetching cwlcatchexception, swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms (0.55s)
[1217/19378] Fetching cwlcatchexception, swift-argument-parser
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.75s)
[1/13151] Fetching viewinspector
[13152/93124] Fetching viewinspector, swift-syntax
Fetched https://github.com/nalexn/ViewInspector.git (1.16s)
Fetched https://github.com/apple/swift-argument-parser (1.16s)
[3199/79973] Fetching swift-syntax
[11198/81230] Fetching swift-syntax, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.96s)
[20793/79973] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.98s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (3.21s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.1 (0.18s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.62s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.2.1 (0.79s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.15s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.10.3 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.17s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.18s)
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.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/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.10.3
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 448]
[Constructing 1 / 922]
[81 / 147] ArgumentParserToolInfo
[1m/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/NSObjectLoadable.m:9:9: [0m[0;1;31mfatal error: [0m[1m'Foundation/Foundation.h' file not found[0m
9 | #import <Foundation/Foundation.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/NSObjectLoadable.o /host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/NSObjectLoadable.m normal aarch64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/NSObjectLoadable.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/NSObjectLoadable.dia -c /host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/NSObjectLoadable.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/NSObjectLoadable.o
[1m/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m:9:9: [0m[0;1;31mfatal error: [0m[1m'Foundation/Foundation.h' file not found[0m
9 | #import <Foundation/Foundation.h>[0m
| [0;1;32m ^~~~~~~~~~~~~~~~~~~~~~~~~
[0m1 error generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/XCTestHooks.o /host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m normal aarch64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/XCTestHooks.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/XCTestHooks.dia -c /host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCurrent.build/Debug-android-aarch64/SwiftCurrent_Testing_ObjC-t.build/Objects-normal/aarch64/XCTestHooks.o
error: Build failed
BUILD FAILURE 6.4 android