Build Information
Failed to build llbuild2, reference main (bc6abf), with Swift 6.1 for Android on 15 Apr 2026 02:50:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-llbuild2.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/apple/swift-llbuild2
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bc6abf3 Merge pull request #254 from apple/fix-metrics
Cloned https://github.com/apple/swift-llbuild2.git
Revision (git rev-parse @):
bc6abf3eb3498308745e5f1b43af789f81932c6c
SUCCESS checkout https://github.com/apple/swift-llbuild2.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/apple/swift-llbuild2.git
https://github.com/apple/swift-llbuild2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-tools-support-async.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-nio.git
[1/910] Fetching swift-tools-support-async
[911/7479] Fetching swift-tools-support-async, swift-log
[1897/13080] Fetching swift-tools-support-async, swift-log, swift-system
[2010/20267] Fetching swift-tools-support-async, swift-log, swift-system, swift-tools-support-core
[10076/66815] Fetching swift-tools-support-async, swift-log, swift-system, swift-tools-support-core, swift-protobuf
[23527/149966] Fetching swift-tools-support-async, swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-tools-support-async.git from cache (0.88s)
[25111/149056] Fetching swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio
Fetching https://github.com/apple/swift-collections.git
[33260/172593] Fetching swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.46s)
Fetching https://github.com/apple/swift-async-algorithms.git
[104693/149056] Fetching swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio
[113339/155291] Fetching swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.72s)
[122982/149056] Fetching swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio
Fetching https://github.com/apple/swift-atomics.git
[129338/150876] Fetching swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
[131595/149056] Fetching swift-log, swift-system, swift-tools-support-core, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (12.88s)
Fetched https://github.com/apple/swift-log.git from cache (12.88s)
Fetched https://github.com/apple/swift-nio.git from cache (13.02s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (13.73s)
Fetched https://github.com/apple/swift-protobuf.git from cache (13.82s)
Computing version for https://github.com/apple/swift-tools-support-async.git
Computed https://github.com/apple/swift-tools-support-async.git at 0.18.0 (16.68s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.73s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.64s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.64s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.76s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.59s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.56s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.02s)
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.36.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-tools-support-async.git
Working copy of https://github.com/apple/swift-tools-support-async.git resolved at 0.18.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/50] Write sources
[8/50] Compiling FXCBLAKE3 blake3_simd_avx2.c
[8/50] Compiling FXCBLAKE3 blake3_simd_avx512.c
[10/50] Compiling FXCBLAKE3 blake3_simd_sse41.c
[10/50] Write sources
[31/50] Compiling TSCclibc libc.c
[32/50] Compiling _AtomicsShims.c
[33/50] Compiling TSCclibc strerror.c
In file included from /host/spi-builder-workspace/Sources/FXCProcessSpawnSync/spawner.c:32:
/host/spi-builder-workspace/Sources/FXCProcessSpawnSync/internal-helpers.h:120:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
120 | hi = getdtablesize();
| ^
/host/spi-builder-workspace/Sources/FXCProcessSpawnSync/internal-helpers.h:120:14: note: did you mean 'getpagesize'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/unistd.h:380:5: note: 'getpagesize' declared here
380 | int getpagesize(void) __attribute_const__;
| ^
1 error generated.
[33/50] Compiling FXCProcessSpawnSync spawner.c
[33/50] Compiling TSCclibc process.c
[33/50] Compiling CSystem shims.c
[33/50] Compiling CNIOWindows WSAStartup.c
[33/50] Compiling CNIOWindows shim.c
[33/50] Compiling FXCBLAKE3 blake3_all.c
[33/50] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/18] Compiling CNIOWindows WSAStartup.c
[2/18] Compiling TSCclibc process.c
[3/18] Compiling CSystem shims.c
[4/18] Compiling CNIOWindows shim.c
[5/18] Compiling CNIOWASI CNIOWASI.c
[6/18] Compiling CNIOPosix event_loop_id.c
In file included from /host/spi-builder-workspace/Sources/FXCProcessSpawnSync/spawner.c:32:
/host/spi-builder-workspace/Sources/FXCProcessSpawnSync/internal-helpers.h:120:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
120 | hi = getdtablesize();
| ^
/host/spi-builder-workspace/Sources/FXCProcessSpawnSync/internal-helpers.h:120:14: note: did you mean 'getpagesize'?
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/unistd.h:380:5: note: 'getpagesize' declared here
380 | int getpagesize(void) __attribute_const__;
| ^
1 error generated.
[7/18] Compiling FXCProcessSpawnSync spawner.c
[7/18] Compiling CNIOOpenBSD shim.c
[7/18] Compiling CNIOLinux liburing_shims.c
[7/18] Compiling CNIOLinux shim.c
[7/18] Compiling CNIODarwin shim.c
[7/18] Compiling FXCBLAKE3 blake3_all.c
[7/18] Compiling TSCclibc strerror.c
[7/18] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android