Build Information
Failed to build swift-sdk-generator, reference main (bac62b), with Swift 6.1 for Android on 15 Oct 2026 23:52:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/host -w "$PWD" -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.1.3
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 bac62b8 Link the platform abstraction layer implementation by default (#278)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
bac62b856ac8bcbdc4fc515bc4b4a538043aa242
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-2":/host -w "$PWD" -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:639806e3270a7d76362a869fc7a464db4368085eea7ecdf63d02ce60a0298950
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
[1/18642] Fetching swift-crypto
[374/25463] Fetching swift-crypto, swift-async-algorithms
[375/33768] Fetching swift-crypto, swift-async-algorithms, swift-log
[1259/35657] Fetching swift-crypto, swift-async-algorithms, swift-log, swift-atomics
[6610/64516] Fetching swift-crypto, swift-async-algorithms, swift-log, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.67s)
Fetching https://github.com/apple/swift-argument-parser
[12464/62627] Fetching swift-crypto, swift-async-algorithms, swift-log, swift-collections
Fetched https://github.com/apple/swift-log.git from cache (1.93s)
Fetching https://github.com/apple/swift-system
[10755/54322] Fetching swift-crypto, swift-async-algorithms, swift-collections
[11230/73436] Fetching swift-crypto, swift-async-algorithms, swift-collections, swift-argument-parser
[31938/80724] Fetching swift-crypto, swift-async-algorithms, swift-collections, swift-argument-parser, swift-system
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
[20420/61610] Fetching swift-crypto, swift-async-algorithms, swift-collections, swift-system
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/apple/swift-system from cache (0.63s)
[14874/54322] Fetching swift-crypto, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (3.06s)
[20951/47501] Fetching swift-crypto, swift-collections
[20952/63974] Fetching swift-crypto, swift-collections, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (0.95s)
[23260/47501] Fetching swift-crypto, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (5.16s)
Fetched https://github.com/apple/swift-crypto.git from cache (5.16s)
[1/86488] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (15.74s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (16.00s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.22s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.6.0 (0.34s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.27s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.23s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.84s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.40s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.34s)
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.24s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-distributed-tracing.git
[1/2867] Fetching swift-nio-transport-services
[489/9572] Fetching swift-nio-transport-services, swift-nio-extras
[605/16231] Fetching swift-nio-transport-services, swift-nio-extras, swift-distributed-tracing
[1581/22390] Fetching swift-nio-transport-services, swift-nio-extras, swift-distributed-tracing, swift-algorithms
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.55s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.55s)
[1/12294] Fetching swift-nio-http2
[2/29183] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (1.70s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.71s)
[1971/12294] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (3.20s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.20s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (3.45s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (1.93s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (2.15s)
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.28s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.44s)
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/1536] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.46s)
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.23s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.24s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (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.1 (0.32s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1284] Fetching swift-http-structured-headers
[1285/4158] Fetching swift-http-structured-headers, swift-service-lifecycle
[2004/6097] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (1.44s)
Fetched https://github.com/apple/swift-http-types.git from cache (1.44s)
[1897/2874] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.54s)
[1/7613] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (3.18s)
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 (3.41s)
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.40s)
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.3 (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.104.0 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.00s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.49s)
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.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.8.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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
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.5
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-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-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-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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/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-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-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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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/868] Write sources
[19/868] Compiling sha512-x86_64-linux.S
[20/868] Compiling _NumericsShims _NumericsShims.c
[21/868] 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.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.
[23/868] Compiling CProcessSpawnSync spawner.c
[23/868] Compiling printf.cc
[23/868] Compiling blake2.cc
[23/868] Compiling curve25519.cc
[23/868] Write swift-version-24593BA9C3E375BF.txt
[23/868] Compiling err.cc
[23/868] Compiling rsa_pss.cc
[23/868] Compiling _AtomicsShims.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/host -w "$PWD" -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:639806e3270a7d76362a869fc7a464db4368085eea7ecdf63d02ce60a0298950
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/847] Write sources
[20/847] Compiling CNIOWindows shim.c
[21/847] Compiling CNIOWindows WSAStartup.c
[22/847] Compiling CNIOWASI CNIOWASI.c
[23/847] Compiling _AtomicsShims.c
[23/847] Compiling CNIOPosix event_loop_id.c
[25/847] Compiling CNIOOpenBSD shim.c
[26/847] Compiling CNIOLinux liburing_shims.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.
[27/847] Compiling CProcessSpawnSync spawner.c
[27/847] Compiling CNIOFreeBSD shim.c
[27/847] Compiling CNIOLLHTTP c_nio_http.c
[27/847] Compiling CNIOLLHTTP c_nio_api.c
[27/847] Compiling CNIOLinux shim.c
[27/847] Compiling CNIOLLHTTP c_nio_llhttp.c
[27/847] Compiling CSystem shims.c
[27/847] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android