Build Information
Failed to build swift-sdk-generator, reference main (6f22ba), with Swift 6.2 for Android on 1 Nov 2026 14:21:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
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 6f22baa bump `swiftlang-actions` group with 2 updates (#285)
Cloned https://github.com/swiftlang/swift-sdk-generator.git
Revision (git rev-parse @):
6f22baa661e666506dae8259fa7349f3a97ea7a2
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-53886768-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:9e4b64e17859f153444a8085b41803f96a8252f8f76139cd5e69e2540803aa5a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-collections.git
[1/8315] Fetching swift-log
[2/10237] Fetching swift-log, swift-atomics
[10238/17062] Fetching swift-log, swift-atomics, swift-async-algorithms
[10239/35931] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto
[18950/65373] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto, swift-collections
[41688/152086] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto, swift-collections, swift-nio
Fetched https://github.com/apple/swift-collections.git from cache (1.31s)
[88826/122644] Fetching swift-log, swift-atomics, swift-async-algorithms, swift-crypto, swift-nio
Fetching https://github.com/apple/swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.33s)
Fetching https://github.com/swift-server/async-http-client.git
[87772/120722] Fetching swift-log, swift-async-algorithms, swift-crypto, swift-nio
Fetched https://github.com/apple/swift-crypto.git from cache (1.34s)
Fetching https://github.com/apple/swift-argument-parser
[69770/101853] Fetching swift-log, swift-async-algorithms, swift-nio
[79309/109247] Fetching swift-log, swift-async-algorithms, swift-nio, swift-system
[80177/128577] Fetching swift-log, swift-async-algorithms, swift-nio, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.64s)
[98821/121183] Fetching swift-log, swift-async-algorithms, swift-nio, swift-argument-parser
[101335/137712] Fetching swift-log, swift-async-algorithms, swift-nio, swift-argument-parser, async-http-client
Fetched https://github.com/apple/swift-argument-parser from cache (0.78s)
[89632/118382] Fetching swift-log, swift-async-algorithms, swift-nio, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.27s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (3.45s)
Fetched https://github.com/apple/swift-log.git from cache (3.45s)
Fetched https://github.com/apple/swift-nio.git from cache (3.48s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.1 (3.67s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.5 (0.24s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.2 (0.15s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (1.13s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.29s)
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.18s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-configuration.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-service-context.git
[1/1546] Fetching swift-service-context
[543/5721] Fetching swift-service-context, swift-configuration
[1714/12418] Fetching swift-service-context, swift-configuration, swift-distributed-tracing
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
[1111/10872] Fetching swift-configuration, swift-distributed-tracing
Fetching https://github.com/apple/swift-nio-http2.git
[6253/13739] Fetching swift-configuration, swift-distributed-tracing, swift-nio-transport-services
[8865/19898] Fetching swift-configuration, swift-distributed-tracing, swift-nio-transport-services, swift-algorithms
[13021/26608] Fetching swift-configuration, swift-distributed-tracing, swift-nio-transport-services, swift-algorithms, swift-nio-extras
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.53s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.53s)
[8129/17044] Fetching swift-configuration, swift-algorithms, swift-nio-extras
Fetched https://github.com/apple/swift-algorithms.git from cache (0.76s)
Fetched https://github.com/apple/swift-configuration.git from cache (0.76s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.76s)
[1/12319] Fetching swift-nio-http2
[2/29213] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.27s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.19s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.91s)
Fetching https://github.com/apple/swift-numerics.git
[1/6766] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.68s)
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.16s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.35s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.5.1 (0.15s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.15s)
Computing version for https://github.com/apple/swift-configuration.git
Computed https://github.com/apple/swift-configuration.git at 1.4.0 (0.21s)
Fetching https://github.com/swift-server/swift-service-lifecycle
[1/2892] Fetching swift-service-lifecycle
Fetched https://github.com/swift-server/swift-service-lifecycle from cache (0.48s)
Computing version for https://github.com/swift-server/swift-service-lifecycle
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.7.5 (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.16.2 (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-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-service-context.git at 1.5.1 (0.00s)
Computed https://github.com/apple/swift-distributed-tracing.git at 1.7.3 (0.00s)
Computed https://github.com/apple/swift-configuration.git at 1.0.0 (0.21s)
Computed https://github.com/swift-server/swift-service-lifecycle at 2.7.0 (0.16s)
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.17s)
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.20s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.26.0 (0.19s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
[14/3245] Fetching swift-http-structured-headers, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.41s)
Fetched https://github.com/apple/swift-http-types.git from cache (0.43s)
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.59s)
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.18s)
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-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/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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.5
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-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.7.3
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.2
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-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-configuration.git
Working copy of https://github.com/apple/swift-configuration.git resolved at 1.0.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-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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.5.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-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.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-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/swift-server/swift-service-lifecycle
Working copy of https://github.com/swift-server/swift-service-lifecycle resolved at 2.7.0
warning: couldn't find pc file for sqlite3
warning: couldn't find pc file for sqlite3
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Tracing/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/ServiceContextModule/CMakeLists.txt
warning: 'swift-distributed-tracing': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/swift-distributed-tracing/Sources/Instrumentation/CMakeLists.txt
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/870] Write sources
[13/870] Compiling x25519-asm-arm.S
[14/870] Compiling _NumericsShims _NumericsShims.c
[15/870] 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-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.
[17/870] Compiling CProcessSpawnSync spawner.c
[17/870] Compiling _AtomicsShims.c
[17/870] Compiling cpu_intel.cc
[17/870] Compiling crypto.cc
[17/870] Compiling p5_pbev2.cc
[17/870] Compiling curve25519.cc
[17/870] Compiling pkcs8.cc
[17/870] Write swift-version--11D90AFD9DD3AB2.txt
BUILD FAILURE 6.2 android