Build Information
Failed to build swift-sdk-generator, reference main (3f5abe), with Swift 6.2 for Android on 11 Dec 2025 15:42:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.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 3f5abe2 Pin GHA workflow version to 0.0.2 (#253)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
3f5abe214e54a1fc61229dc738df24ce7b5dd18c
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-4609320-0":/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:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system
[1/5747] Fetching swift-log
[749/7567] Fetching swift-log, swift-atomics
[4889/12788] Fetching swift-log, swift-atomics, swift-system
[11014/30253] Fetching swift-log, swift-atomics, swift-system, swift-crypto
[11485/48616] Fetching swift-log, swift-atomics, swift-system, swift-crypto, swift-collections
[13874/129297] Fetching swift-log, swift-atomics, swift-system, swift-crypto, swift-collections, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.50s)
[12605/127477] Fetching swift-log, swift-system, swift-crypto, swift-collections, swift-nio
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.59s)
Fetching https://github.com/swift-server/async-http-client.git
[14257/122256] Fetching swift-log, swift-crypto, swift-collections, swift-nio
[20497/139154] Fetching swift-log, swift-crypto, swift-collections, swift-nio, swift-argument-parser
[32676/153658] Fetching swift-log, swift-crypto, swift-collections, swift-nio, swift-argument-parser, async-http-client
Fetched https://github.com/apple/swift-argument-parser from cache (1.31s)
Fetching https://github.com/apple/swift-async-algorithms.git
[84244/136760] Fetching swift-log, swift-crypto, swift-collections, swift-nio, async-http-client
[90707/142593] Fetching swift-log, swift-crypto, swift-collections, swift-nio, async-http-client, swift-async-algorithms
Fetched https://github.com/swift-server/async-http-client.git from cache (1.56s)
[77543/128089] Fetching swift-log, swift-crypto, swift-collections, swift-nio, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.57s)
[77834/122256] Fetching swift-log, swift-crypto, swift-collections, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (8.44s)
Fetched https://github.com/apple/swift-crypto.git from cache (8.51s)
Fetched https://github.com/apple/swift-collections.git from cache (8.52s)
Fetched https://github.com/apple/swift-nio.git from cache (8.58s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (9.28s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.47s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.77s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.00s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.3 (0.75s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.1 (2.59s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-ssl.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-transport-services.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/6364] Fetching swift-nio-extras
[2/11930] Fetching swift-nio-extras, swift-distributed-tracing
[4417/14739] Fetching swift-nio-extras, swift-distributed-tracing, swift-nio-transport-services
[10218/26457] Fetching swift-nio-extras, swift-distributed-tracing, swift-nio-transport-services, swift-nio-http2
[12077/32498] Fetching swift-nio-extras, swift-distributed-tracing, swift-nio-transport-services, swift-nio-http2, swift-algorithms
[19338/47786] Fetching swift-nio-extras, swift-distributed-tracing, swift-nio-transport-services, swift-nio-http2, swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.70s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.70s)
[24066/38613] Fetching swift-distributed-tracing, swift-nio-http2, swift-algorithms, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (1.82s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.83s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.83s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.85s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (2.60s)
Fetching https://github.com/apple/swift-service-context.git
[1/1162] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.27s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.64s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.11s)
Fetching https://github.com/apple/swift-numerics.git
[1/6384] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (1.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.26.0 (0.71s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.34s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.81s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (0.61s)
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
[1/951] Fetching swift-http-types
[952/2155] Fetching swift-http-types, swift-http-structured-headers
[1193/3822] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[3245/6390] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle
[5493/13430] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
[6483/11763] Fetching swift-http-types, swift-http-structured-headers, swift-service-lifecycle, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.82s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.82s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.82s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.82s)
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.2 (0.00s)
Computed https://github.com/apple/swift-log.git at 1.7.1 (0.00s)
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.00s)
Computed https://github.com/apple/swift-system at 1.6.3 (0.00s)
Computed https://github.com/swift-server/async-http-client.git at 1.30.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.00s)
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.00s)
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.00s)
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.00s)
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.00s)
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.43s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.35s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.35s)
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.00s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.91.0 (0.79s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.04s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (2.22s)
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.30.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.3.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.7.1
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.1
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-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
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-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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.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.5.1
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.6.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.39.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.36.0
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.26.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.1
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.2.1
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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.91.0
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/867] Write sources
[13/867] Compiling p256-armv8-asm-apple.S
[14/867] Compiling ghashv8-armv8-win.S
[15/867] Write sources
[17/867] Compiling ghashv8-armv8-apple.S
[18/867] Write sources
[30/867] Compiling aesni-x86-apple.S
[30/867] Write sources
[37/867] Compiling ghashv8-armv8-linux.S
[38/867] Compiling p256-armv8-asm-linux.S
[39/867] Compiling _NumericsShims _NumericsShims.c
[40/867] Compiling _AtomicsShims.c
[41/867] Compiling CNIOWindows WSAStartup.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.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.
[42/867] Compiling CProcessSpawnSync spawner.c
[42/867] Compiling CNIOWindows shim.c
[42/867] Compiling CNIOLinux shim.c
[42/867] Compiling CNIOWASI CNIOWASI.c
[42/867] Compiling CSystem shims.c
[42/867] Compiling CNIOOpenBSD shim.c
[42/867] Compiling CNIOPosix event_loop_id.c
[42/867] Write swift-version--6B0C4D200E742BB1.txt
BUILD FAILURE 6.2 android