Build Information
Failed to build swift-tools-support-async, reference 0.16.0 (16f296
), with Swift 6.2 (beta) for Android on 10 Sep 2025 01:49:26 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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-tools-support-async.git
Reference: 0.16.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.16.0 -> FETCH_HEAD
HEAD is now at 16f2963 Merge pull request #59 from apple/vendor-async-process
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 @):
16f2963c6f338c814f6116660f1ee91d79d93b11
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at 0.16.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
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
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/3903] Fetching swift-log
[1329/8840] Fetching swift-log, swift-system
[8249/15789] Fetching swift-log, swift-system, swift-tools-support-core
[10648/33234] Fetching swift-log, swift-system, swift-tools-support-core, swift-collections
[19977/111296] Fetching swift-log, swift-system, swift-tools-support-core, swift-collections, swift-nio
[76950/151466] Fetching swift-log, swift-system, swift-tools-support-core, swift-collections, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-log.git from cache (6.31s)
Fetching https://github.com/apple/swift-atomics.git
Fetched https://github.com/apple/swift-collections.git from cache (6.41s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-nio.git from cache (6.53s)
[1/1814] Fetching swift-atomics
[1562/7146] Fetching swift-atomics, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (0.90s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.90s)
Fetched https://github.com/apple/swift-system.git from cache (8.06s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (8.06s)
Fetched https://github.com/apple/swift-protobuf.git from cache (8.14s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (8.73s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.37s)
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.52s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.43s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.53s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.47s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.77s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.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.86.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.6.4
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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.0.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
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.2
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
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.12s)
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/48] Write sources
[10/48] Compiling CBLAKE3 blake3_avx512.c
[11/48] Compiling CBLAKE3 blake3_avx2.c
[12/48] Compiling _AtomicsShims.c
[13/48] Write sources
[17/48] Copying PrivacyInfo.xcprivacy
[18/48] Write sources
[29/48] Compiling TSCclibc libc.c
[30/48] Compiling TSCclibc strerror.c
[31/48] Compiling TSCclibc process.c
[32/48] Compiling CNIOWindows WSAStartup.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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.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/48] Compiling TSFCProcessSpawnSync spawner.c
[33/48] Compiling CBLAKE3 blake3_sse41.c
[33/48] Compiling CNIOWindows shim.c
[33/48] Write swift-version-8C5A4AE7A8CE2BA.txt
[33/48] Compiling CNIOWASI CNIOWASI.c
[33/48] Compiling CNIOPosix event_loop_id.c
[33/48] Compiling CBLAKE3 blake3.c
[33/48] Compiling CSystem shims.c
BUILD FAILURE 6.2 android