Build Information
Failed to build AsyncProcess, reference 0.0.5 (3a506b), with Swift 6.3 for Android on 15 Apr 2026 20:31:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 0.0.5
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
* tag 0.0.5 -> FETCH_HEAD
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 0.0.5
========================================
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-4609320-1":/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-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-system
[1/1820] Fetching swift-atomics
[329/8061] Fetching swift-atomics, swift-async-algorithms
[545/31598] Fetching swift-atomics, swift-async-algorithms, swift-collections
[1587/37199] Fetching swift-atomics, swift-async-algorithms, swift-collections, swift-system
[15311/120354] Fetching swift-atomics, swift-async-algorithms, swift-collections, swift-system, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.35s)
[10733/114113] Fetching swift-atomics, swift-collections, swift-system, swift-nio
Fetched https://github.com/apple/swift-system from cache (1.36s)
[5963/108512] Fetching swift-atomics, swift-collections, swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-collections.git from cache (3.75s)
[38077/91558] Fetching swift-atomics, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.84s)
[51713/84975] Fetching swift-atomics, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (8.75s)
Fetched https://github.com/apple/swift-nio.git from cache (8.86s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (10.86s)
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.14s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.80s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.96s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.97.1 (0.78s)
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-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-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-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
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
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
Building for debugging...
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.
[0/31] Compiling CProcessSpawnSync spawner.c
[0/31] Write sources
[0/31] Write swift-version--4F562202D5529B1.txt
BUILD FAILURE 6.3 android