Build Information
Failed to build swift-tools-support-async, reference 0.18.0 (a2d732), with Swift 6.3 for Android on 19 Apr 2026 01:31:23 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.git
Reference: 0.18.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/apple/swift-tools-support-async
* tag 0.18.0 -> FETCH_HEAD
HEAD is now at a2d732c Merge pull request #63 from zg/musl-support-dirent64
Submodule path 'ThirdParty/BLAKE3': checked out '2f6f56f3477321c9e4742f1c863e45f2cfcbfb5e'
Submodule 'ThirdParty/BLAKE3' (https://github.com/BLAKE3-team/BLAKE3.git) registered for path 'ThirdParty/BLAKE3'
Cloning into '/host/spi-builder-workspace/ThirdParty/BLAKE3'...
Cloned https://github.com/apple/swift-tools-support-async.git
Revision (git rev-parse @):
a2d732c5000cde28c80a7569e5f17b178fd5006a
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at 0.18.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/apple/swift-tools-support-async.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-protobuf.git
[1/6635] Fetching swift-log
[333/8455] Fetching swift-log, swift-atomics
[1006/32024] Fetching swift-log, swift-atomics, swift-collections
[1871/37625] Fetching swift-log, swift-atomics, swift-collections, swift-system
[9171/44813] Fetching swift-log, swift-atomics, swift-collections, swift-system, swift-tools-support-core
[10413/91825] Fetching swift-log, swift-atomics, swift-collections, swift-system, swift-tools-support-core, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (1.43s)
Fetching https://github.com/apple/swift-async-algorithms.git
[19550/85190] Fetching swift-atomics, swift-collections, swift-system, swift-tools-support-core, swift-protobuf
[21200/91437] Fetching swift-atomics, swift-collections, swift-system, swift-tools-support-core, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.84s)
[30389/85190] Fetching swift-atomics, swift-collections, swift-system, swift-tools-support-core, swift-protobuf
Fetching https://github.com/apple/swift-nio.git
[48521/168362] Fetching swift-atomics, swift-collections, swift-system, swift-tools-support-core, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (4.34s)
[86315/162761] Fetching swift-atomics, swift-collections, swift-tools-support-core, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (4.41s)
[64518/139192] Fetching swift-atomics, swift-tools-support-core, swift-protobuf, swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (18.36s)
Fetched https://github.com/apple/swift-atomics.git from cache (20.83s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (20.84s)
Fetched https://github.com/apple/swift-protobuf.git from cache (21.03s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (21.79s)
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.95s)
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.89s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.07s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.81s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.85s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.82s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (1.22s)
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-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-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-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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.98.0
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/49] Write sources
[10/49] Compiling CBLAKE3 blake3_sse41.c
[11/49] Write sources
[15/49] Compiling _AtomicsShims.c
[16/49] Compiling TSCclibc strerror.c
[17/49] Write sources
[23/49] Compiling TSCclibc libc.c
[24/49] Compiling CBLAKE3 blake3_avx512.c
[25/49] Compiling TSCclibc process.c
[26/49] Write sources
[27/49] Write swift-version--4F562202D5529B1.txt
[27/49] Write sources
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:32:
/host/spi-builder-workspace/Sources/CProcessSpawnSync/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/CProcessSpawnSync/internal-helpers.h:120:14: note: did you mean 'getpagesize'?
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_android.artifactbundle/swift-android/ndk-sysroot/usr/include/unistd.h:380:5: note: 'getpagesize' declared here
380 | int getpagesize(void) __attribute_const__;
| ^
1 error generated.
[33/49] Compiling TSFCProcessSpawnSync spawner.c
[33/49] Compiling CNIOWindows shim.c
[33/49] Compiling CNIOPosix event_loop_id.c
[33/49] Compiling CNIOOpenBSD shim.c
[33/49] Compiling CNIOWASI CNIOWASI.c
[33/49] Compiling CSystem shims.c
[33/49] Compiling CNIOWindows WSAStartup.c
BUILD FAILURE 6.3 android