The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-tools-support-async, reference main (c1a000), with Swift 6.2 for Android on 25 Sep 2025 22:40:04 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/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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 c1a000e Merge pull request #61 from dmorneau/sendable-directory-entry
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 @):
c1a000e567d16951af95c35aebf6b5c9bb3186d0
SUCCESS checkout https://github.com/apple/swift-tools-support-async.git at main
========================================
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-4606859-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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-log.git
[1/5008] Fetching swift-system
[1404/8918] Fetching swift-system, swift-log
[2184/26454] Fetching swift-system, swift-log, swift-collections
[2185/33421] Fetching swift-system, swift-log, swift-collections, swift-tools-support-core
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
[13683/28413] Fetching swift-log, swift-collections, swift-tools-support-core
Fetching https://github.com/apple/swift-atomics.git
[15087/106987] Fetching swift-log, swift-collections, swift-tools-support-core, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.94s)
[13534/103077] Fetching swift-collections, swift-tools-support-core, swift-nio
Fetching https://github.com/apple/swift-async-algorithms.git
[14671/104891] Fetching swift-collections, swift-tools-support-core, swift-nio, swift-atomics
[19980/145079] Fetching swift-collections, swift-tools-support-core, swift-nio, swift-atomics, swift-protobuf
[22254/150534] Fetching swift-collections, swift-tools-support-core, swift-nio, swift-atomics, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-atomics.git from cache (1.13s)
[31984/148720] Fetching swift-collections, swift-tools-support-core, swift-nio, swift-protobuf, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.14s)
[35381/143265] Fetching swift-collections, swift-tools-support-core, swift-nio, swift-protobuf
Fetched https://github.com/apple/swift-collections.git from cache (17.67s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (17.68s)
Fetched https://github.com/apple/swift-protobuf.git from cache (17.86s)
Fetched https://github.com/apple/swift-nio.git from cache (17.92s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (19.35s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.78s)
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.95s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.1 (0.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.14s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.71s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (0.86s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.2 (1.27s)
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
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-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.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.2
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
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.63s)
[1/1] Compiling plugin SwiftProtobufPlugin
Building for debugging...
[1/48] Write sources
[11/48] Copying PrivacyInfo.xcprivacy
[11/48] Write sources
[26/48] Compiling _AtomicsShims.c
[27/48] Compiling TSCclibc strerror.c
[28/48] Compiling TSCclibc libc.c
[29/48] Compiling CNIOWindows shim.c
[30/48] Compiling CNIOWASI CNIOWASI.c
[31/48] Compiling CNIOWindows WSAStartup.c
[32/48] Compiling TSCclibc process.c
[33/48] Compiling CNIOPosix event_loop_id.c
[34/48] Compiling CNIOLinux liburing_shims.c
[35/48] Write swift-version--11D90AFD9DD3AB2.txt
[36/48] Compiling CNIODarwin shim.c
[37/48] Compiling CBLAKE3 blake3_avx512.c
[38/48] Compiling CSystem shims.c
[39/48] Compiling CBLAKE3 blake3_sse41.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-RELEASE-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.
[40/48] Compiling TSFCProcessSpawnSync spawner.c
[40/48] Compiling c-nioatomics.c
[40/48] Compiling c-atomics.c
[40/48] Compiling CNIOLinux shim.c
BUILD FAILURE 6.2 android