Build Information
Failed to build AsyncProcess, reference main (3a506b), with Swift 6.3 for Android on 15 Apr 2026 20:30:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/gregcotten/AsyncProcess.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/gregcotten/AsyncProcess
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3a506bb don't explicitly unwrap pid for interrupt/terminate
Cloned https://github.com/gregcotten/AsyncProcess.git
Revision (git rev-parse @):
3a506bb36e4aa54eb3f1b13f15e636c68ee3eb19
SUCCESS checkout https://github.com/gregcotten/AsyncProcess.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/gregcotten/AsyncProcess.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-system
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-atomics.git
[1/1820] Fetching swift-atomics
[602/7421] Fetching swift-atomics, swift-system
[771/13662] Fetching swift-atomics, swift-system, swift-async-algorithms
[834/20245] Fetching swift-atomics, swift-system, swift-async-algorithms, swift-log
[2608/43782] Fetching swift-atomics, swift-system, swift-async-algorithms, swift-log, swift-collections
[21894/126937] Fetching swift-atomics, swift-system, swift-async-algorithms, swift-log, swift-collections, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.71s)
[21737/125117] Fetching swift-system, swift-async-algorithms, swift-log, swift-collections, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (3.89s)
Fetched https://github.com/apple/swift-collections.git from cache (3.96s)
[48099/94997] Fetching swift-system, swift-async-algorithms, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (13.47s)
Fetched https://github.com/apple/swift-system from cache (13.48s)
Fetched https://github.com/apple/swift-nio.git from cache (13.80s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (14.80s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.18s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.26s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.92s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.00s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (1.49s)
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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.97.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Building for debugging...
[0/31] Write sources
[14/31] Compiling CNIOWindows shim.c
[15/31] Compiling CNIOWindows WSAStartup.c
[16/31] Compiling _AtomicsShims.c
[17/31] Compiling CNIOWASI CNIOWASI.c
[18/31] Compiling CNIOPosix event_loop_id.c
[19/31] Compiling CNIOOpenBSD shim.c
[20/31] Compiling CNIODarwin shim.c
[21/31] Compiling CNIOLinux liburing_shims.c
[21/31] Write sources
[24/31] Compiling CSystem shims.c
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:26:
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:61:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
61 | hi = getdtablesize();
| ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:61: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.
[25/31] Compiling CProcessSpawnSync spawner.c
[25/31] Compiling c-nioatomics.c
[25/31] Compiling c-atomics.c
[25/31] Compiling CNIOLinux shim.c
[25/31] Write sources
[25/31] Write swift-version--4F562202D5529B1.txt
BUILD FAILURE 6.3 android