Build Information
Failed to build swift-sdk-generator, reference main (faf1ca), with Swift 6.1 for Android on 5 Dec 2026 01:15:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.2.0
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 faf1ca6 Include the `SwiftPlatform` headers in the WebAssembly Swift SDK (#289)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
faf1ca671f32c75d2d0745bcfc869f5af9424d5c
SUCCESS checkout https://github.com/swiftlang/swift-sdk-generator.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftlang/swift-sdk-generator.git
https://github.com/swiftlang/swift-sdk-generator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:5d7a343117074333c7f916a1928f0c3b988485830be18626931a4319bae86a8f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-crypto.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
Fetching https://github.com/apple/swift-async-algorithms.git
[1/8671] Fetching swift-log
[2/10607] Fetching swift-log, swift-atomics
[22/29630] Fetching swift-log, swift-atomics, swift-crypto
[11560/36783] Fetching swift-log, swift-atomics, swift-crypto, swift-async-algorithms
[19664/67450] Fetching swift-log, swift-atomics, swift-crypto, swift-async-algorithms, swift-collections
[41784/154717] Fetching swift-log, swift-atomics, swift-crypto, swift-async-algorithms, swift-collections, swift-nio
Fetched https://github.com/apple/swift-async-algorithms.git from cache (7.66s)
Fetched https://github.com/apple/swift-atomics.git from cache (7.67s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-log.git from cache (7.67s)
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-crypto.git from cache (7.69s)
Fetched https://github.com/apple/swift-collections.git from cache (7.70s)
Fetched https://github.com/apple/swift-nio.git from cache (7.72s)
[1/16954] Fetching async-http-client
[2036/36435] Fetching async-http-client, swift-argument-parser
Fetched https://github.com/swift-server/async-http-client.git from cache (0.99s)
Fetching https://github.com/apple/swift-system
Fetched https://github.com/apple/swift-argument-parser from cache (1.02s)
[1/7690] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.85s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (11.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.85s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.96s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (1.37s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (1.04s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.85s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (2.56s)
Fetching https://github.com/apple/swift-asn1.git
[1/2088] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (1.38s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.6 (2.50s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.25s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2881] Fetching swift-nio-transport-services
[520/9664] Fetching swift-nio-transport-services, swift-distributed-tracing
[780/15872] Fetching swift-nio-transport-services, swift-distributed-tracing, swift-algorithms
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.42s)
[2667/12991] Fetching swift-distributed-tracing, swift-algorithms
[12992/25435] Fetching swift-distributed-tracing, swift-algorithms, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetched https://github.com/apple/swift-algorithms.git from cache (0.89s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.90s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.90s)
[1/17206] Fetching swift-nio-ssl
[2/24016] Fetching swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.05s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.06s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.20s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.55s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.77s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.24s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.23s)
Fetching https://github.com/apple/swift-service-context.git
[1/1603] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.42s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.22s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.105.3 (0.51s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.26s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.8 (0.26s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.4 (0.36s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/2002] Fetching swift-http-types
[462/3286] Fetching swift-http-types, swift-http-structured-headers
[3287/11000] Fetching swift-http-types, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.42s)
[2080/9716] Fetching swift-http-types, swift-certificates
[4703/12652] Fetching swift-http-types, swift-certificates, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.58s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.58s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.58s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.91s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.26s)
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.1 (0.00s)
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.00s)
Computed https://github.com/apple/swift-system at 1.8.1 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.00s)
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.00s)
Computed https://github.com/apple/swift-asn1.git at 1.7.6 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.36.2 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.5.0 (0.00s)
Computed https://github.com/apple/swift-service-context.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.28.0 (0.00s)
Computed https://github.com/apple/swift-nio.git at 2.105.3 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.8 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.26s)
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.00s)
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.00s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.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.8.2
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.6.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.7.6
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.37.8
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.28.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/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.36.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.3.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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.105.3
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.7.0
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.5.0
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.46.1
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.1
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.8.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.15.1
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/875] Write sources
[13/875] Compiling fiat_p256_adx_mul.S
[14/875] Compiling _NumericsShims _NumericsShims.c
[14/875] Compiling fiat_p256_adx_sqr.S
[16/875] Write sources
[36/875] Compiling fiat_curve25519_adx_mul.S
[37/875] Compiling fiat_curve25519_adx_square.S
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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/unistd.h:380:5: note: 'getpagesize' declared here
380 | int getpagesize(void) __attribute_const__;
| ^
1 error generated.
[38/875] Compiling CProcessSpawnSync spawner.c
[38/875] Compiling CNIOWindows shim.c
[38/875] Compiling _AtomicsShims.c
[38/875] Compiling CSystem shims.c
[38/875] Compiling CNIOWindows WSAStartup.c
[38/875] Compiling e_des.cc
[38/875] Compiling pkcs8_x509.cc
[38/875] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-3":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:5d7a343117074333c7f916a1928f0c3b988485830be18626931a4319bae86a8f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/839] Write sources
[5/839] Compiling CNIOWindows shim.c
[6/839] Compiling CNIOWindows WSAStartup.c
[7/839] Compiling CNIOOpenBSD shim.c
[8/839] Compiling _AtomicsShims.c
[9/839] Compiling CNIOWASI CNIOWASI.c
[10/839] Compiling CNIOPosix event_loop_id.c
[11/839] Compiling CNIOLinux liburing_shims.c
[12/839] Compiling CNIOFreeBSD shim.c
[13/839] Compiling CNIOLLHTTP c_nio_http.c
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.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/unistd.h:380:5: note: 'getpagesize' declared here
380 | int getpagesize(void) __attribute_const__;
| ^
1 error generated.
[14/839] Compiling CProcessSpawnSync spawner.c
[14/839] Compiling CSystem shims.c
[14/839] Compiling CNIODarwin shim.c
[14/839] Compiling CNIOExtrasZlib empty.c
[14/839] Compiling CNIOLLHTTP c_nio_api.c
[14/839] Compiling CNIOLLHTTP c_nio_llhttp.c
[14/839] Compiling CNIOLinux shim.c
[14/839] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android