Build Information
Failed to build swift-tools-support-async, reference main (c3d96f), with Swift 6.3 for Android on 19 Apr 2026 01:29:03 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 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-tools-support-async
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c3d96f4 Merge pull request #64 from cwakamo/dev/update-TSC-dep
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 @):
c3d96f47848965cc7d247c656e8e5f27fe2f10c4
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at main
========================================
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-4606859-0":/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-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/swiftlang/swift-tools-support-core.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[1821/8455] Fetching swift-atomics, swift-log
[2352/15643] Fetching swift-atomics, swift-log, swift-tools-support-core
[2894/21244] Fetching swift-atomics, swift-log, swift-tools-support-core, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.58s)
[9275/19424] Fetching swift-log, swift-tools-support-core, swift-system
Fetching https://github.com/apple/swift-collections.git
[19425/102596] Fetching swift-log, swift-tools-support-core, swift-system, swift-nio
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
Fetching https://github.com/apple/swift-async-algorithms.git
[15487/96995] Fetching swift-log, swift-tools-support-core, swift-nio
[15488/120564] Fetching swift-log, swift-tools-support-core, swift-nio, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.26s)
Fetched https://github.com/swiftlang/swift-tools-support-core.git from cache (1.27s)
[5809/106741] Fetching swift-nio, swift-collections
[15541/112988] Fetching swift-nio, swift-collections, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.20s)
[47551/106741] Fetching swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (3.18s)
[48240/83172] Fetching swift-nio
Fetching https://github.com/apple/swift-protobuf.git
Fetched https://github.com/apple/swift-nio.git from cache (11.83s)
[1/47012] Fetching swift-protobuf
Fetched https://github.com/apple/swift-protobuf.git from cache (11.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (23.74s)
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.52s)
Computing version for https://github.com/swiftlang/swift-tools-support-core.git
Computed https://github.com/swiftlang/swift-tools-support-core.git at 0.7.3 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.54s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.36.1 (0.57s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.98.0 (0.91s)
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-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/swiftlang/swift-tools-support-core.git
Working copy of https://github.com/swiftlang/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
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/49] Write sources
[11/49] Compiling CBLAKE3 blake3_sse41.c
[12/49] Compiling CBLAKE3 blake3_avx2.c
[13/49] Write sources
[15/49] Compiling TSCclibc libc.c
[16/49] Write sources
[18/49] Compiling TSCclibc strerror.c
[19/49] Write sources
[21/49] Compiling _AtomicsShims.c
[22/49] Write sources
[24/49] Compiling TSCclibc process.c
[25/49] Write sources
[32/49] Write swift-version--4F562202D5529B1.txt
[33/49] Compiling CBLAKE3 blake3_avx512.c
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.
[34/49] Compiling TSFCProcessSpawnSync spawner.c
[34/49] Compiling CNIOWindows shim.c
[34/49] Compiling CNIOPosix event_loop_id.c
[34/49] Compiling CSystem shims.c
[34/49] Compiling CNIOWASI CNIOWASI.c
[34/49] Compiling CNIOWindows WSAStartup.c
[34/49] Compiling CNIOOpenBSD shim.c
BUILD FAILURE 6.3 android