Build Information
Failed to build swift-sdk-generator, reference main (d08a62
), with Swift 6.2 (beta) for Android on 12 Sep 2025 11:56:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/swiftlang/swift-sdk-generator.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/swiftlang/swift-sdk-generator
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d08a627 Make targetSwiftPackagePath optional for Wasm Swift SDK generation (#242)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
d08a62773822b3196897a96e405211b43d4a10ad
SUCCESS checkout https://github.com/swiftlang/swift-sdk-generator.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/swiftlang/swift-sdk-generator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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-atomics.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
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
[1/3903] Fetching swift-log
[938/5717] Fetching swift-log, swift-atomics
[1960/11098] Fetching swift-log, swift-atomics, swift-async-algorithms
[2603/27962] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto
[3555/45415] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto, swift-collections
[13694/123488] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto, swift-collections, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (1.23s)
Fetching https://github.com/apple/swift-argument-parser
[16216/121674] Fetching swift-log, swift-async-algorithms, swift-crypto, swift-collections, swift-nio
[23952/137609] Fetching swift-log, swift-async-algorithms, swift-crypto, swift-collections, swift-nio, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (2.02s)
[68154/121674] Fetching swift-log, swift-async-algorithms, swift-crypto, swift-collections, swift-nio
Fetching https://github.com/apple/swift-system
Fetched https://github.com/apple/swift-collections.git from cache (3.63s)
Fetching https://github.com/swift-server/async-http-client.git
[65299/109158] Fetching swift-log, swift-async-algorithms, swift-crypto, swift-nio, swift-system
Fetched https://github.com/apple/swift-system from cache (0.93s)
[71394/104221] Fetching swift-log, swift-async-algorithms, swift-crypto, swift-nio
[72238/118499] Fetching swift-log, swift-async-algorithms, swift-crypto, swift-nio, async-http-client
Fetched https://github.com/apple/swift-log.git from cache (6.68s)
[96640/114596] Fetching swift-async-algorithms, swift-crypto, swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (3.07s)
Fetched https://github.com/apple/swift-crypto.git from cache (6.73s)
[66278/83454] Fetching swift-async-algorithms, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (13.55s)
Fetched https://github.com/apple/swift-nio.git from cache (13.66s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (14.32s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (4.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (1.33s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.51s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.84s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.2 (0.63s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.62s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/5985] Fetching swift-algorithms
[361/8703] Fetching swift-algorithms, swift-nio-transport-services
[3228/14830] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-extras
[9875/26491] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-extras, swift-nio-http2
[11512/41566] Fetching swift-algorithms, swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (0.76s)
[12926/35581] Fetching swift-nio-transport-services, swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.70s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.84s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.84s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.86s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (4.51s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.99s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.06s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.50s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.29.0 (1.21s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
[1/1176] Fetching swift-http-structured-headers
[272/2805] Fetching swift-http-structured-headers, swift-asn1
[917/5275] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[1760/6198] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types
[3992/12781] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-http-types, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.51s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.51s)
[10229/10229] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.52s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.71s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.72s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (0.00s)
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-system at 1.6.2 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.28.0 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.25.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.38.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.86.0 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.66s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.49s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (0.65s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.48s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.4.0 (0.52s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.61s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.70s)
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.38.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.34.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.28.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.2
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.0
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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.4.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.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.2.1
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.25.1
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.26.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
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/861] Write sources
In file included from /host/spi-builder-workspace/Sources/CProcessSpawnSync/spawner.c:30:
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:118:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
118 | hi = getdtablesize();
| ^
/host/spi-builder-workspace/Sources/CProcessSpawnSync/internal-helpers.h:118: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.
[21/861] Compiling CProcessSpawnSync spawner.c
[21/861] Write swift-version-8C5A4AE7A8CE2BA.txt
[21/861] Compiling _NumericsShims _NumericsShims.c
[21/861] Compiling a_d2i_fp.cc
[21/861] Compiling aes.cc
[21/861] Compiling _AtomicsShims.c
[21/861] Compiling a_bool.cc
[21/861] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
BUILD FAILURE 6.2 android