The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build llbuild2, reference main (67d125), with Swift 6.2 (beta) for Android on 10 Sep 2025 01:30:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/apple/swift-llbuild2.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/apple/swift-llbuild2
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 67d1258 Merge pull request #229 from apple/spawnprocess-overhaul
Cloned https://github.com/apple/swift-llbuild2.git
Revision (git rev-parse @):
67d125838d136838dba52ea40d5cec64dd3b849b
SUCCESS checkout https://github.com/apple/swift-llbuild2.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/apple/swift-llbuild2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3903] Fetching swift-log
[470/10852] Fetching swift-log, swift-tools-support-core
[1294/62149] Fetching swift-log, swift-tools-support-core, grpc-swift
[14444/140211] Fetching swift-log, swift-tools-support-core, grpc-swift, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
Fetching https://github.com/apple/swift-distributed-tracing
[14154/136308] Fetching swift-tools-support-core, grpc-swift, swift-nio
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.21s)
[12112/129359] Fetching grpc-swift, swift-nio
Fetching https://github.com/apple/swift-crypto.git
[15213/169529] Fetching grpc-swift, swift-nio, swift-protobuf
[15214/174680] Fetching grpc-swift, swift-nio, swift-protobuf, swift-distributed-tracing
[34082/191486] Fetching grpc-swift, swift-nio, swift-protobuf, swift-distributed-tracing, swift-crypto
Fetched https://github.com/apple/swift-distributed-tracing from cache (0.93s)
Fetching https://github.com/apple/swift-argument-parser.git
[35202/186335] Fetching grpc-swift, swift-nio, swift-protobuf, swift-crypto
[60115/202249] Fetching grpc-swift, swift-nio, swift-protobuf, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.85s)
[114518/186335] Fetching grpc-swift, swift-nio, swift-protobuf, swift-crypto
Fetching https://github.com/apple/swift-tools-support-async.git
Fetched https://github.com/grpc/grpc-swift.git from cache (6.40s)
[113045/135038] Fetching swift-nio, swift-protobuf, swift-crypto
[134259/135921] Fetching swift-nio, swift-protobuf, swift-crypto, swift-tools-support-async
Fetched https://github.com/apple/swift-tools-support-async.git from cache (0.97s)
Fetched https://github.com/apple/swift-crypto.git from cache (6.15s)
Fetched https://github.com/apple/swift-nio.git from cache (15.03s)
Fetched https://github.com/apple/swift-protobuf.git from cache (16.40s)
Computing version for https://github.com/apple/swift-tools-support-async.git
Computed https://github.com/apple/swift-tools-support-async.git at 0.16.0 (20.53s)
Fetching https://github.com/apple/swift-system.git
[1/4937] Fetching swift-system
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-system.git from cache (0.64s)
[1/1814] Fetching swift-atomics
[709/7146] Fetching swift-atomics, swift-async-algorithms
[6508/24591] Fetching swift-atomics, swift-async-algorithms, swift-collections
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.83s)
[4780/19259] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (2.16s)
Fetched https://github.com/apple/swift-collections.git from cache (2.21s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (3.81s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.75s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.2 (0.82s)
Fetching https://github.com/apple/swift-service-context.git
[1/1088] Fetching swift-service-context
Fetched https://github.com/apple/swift-service-context.git from cache (0.39s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (1.10s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (1.50s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (0.87s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.33s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (0.85s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.16s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (2.04s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.87s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.29s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/6127] Fetching swift-nio-extras
[4107/17788] Fetching swift-nio-extras, swift-nio-http2
[5860/32863] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-transport-services.git
[22010/35567] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl, swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.74s)
[23818/32863] Fetching swift-nio-extras, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (3.73s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.75s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.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.25.1 (4.73s)
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.78s)
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.04s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1629] Fetching swift-asn1
[1240/8160] Fetching swift-asn1, swift-certificates
[1403/10630] Fetching swift-asn1, swift-certificates, swift-service-lifecycle
[2386/11547] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-http-types
[4657/17532] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-http-types, swift-algorithms
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.63s)
[10380/16615] Fetching swift-asn1, swift-certificates, swift-service-lifecycle, swift-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.81s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.97s)
Fetched https://github.com/apple/swift-asn1.git from cache (1.01s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.02s)
[1/1176] Fetching swift-http-structured-headers
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.57s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (3.09s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.99s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.96s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.95s)
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.89s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (1.40s)
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.96s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.72s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.34.0 (1.00s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (1.94s)
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/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-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-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.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.25.1
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.13.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
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-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-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-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-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.2.2
Creating working copy for https://github.com/apple/swift-protobuf.git
Working copy of https://github.com/apple/swift-protobuf.git resolved at 1.31.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
Creating working copy for https://github.com/grpc/grpc-swift.git
Working copy of https://github.com/grpc/grpc-swift.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.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-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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
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.29.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-tools-support-async.git
Working copy of https://github.com/apple/swift-tools-support-async.git resolved at 0.16.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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[934/15500663] Downloading https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
Downloaded https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip (2.21s)
[1/1] Compiling plugin GRPCSwiftPlugin
[2/2] Compiling plugin SwiftProtobufPlugin
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/888] Write sources
[30/888] Compiling CBLAKE3 blake3_avx2.c
[30/888] Write sources
[33/888] Write swift-version-8C5A4AE7A8CE2BA.txt
[33/888] Write sources
[35/888] Compiling CBLAKE3 blake3_avx512.c
[35/888] Compiling CBLAKE3 blake3_sse41.c
[37/888] Compiling _AtomicsShims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-tools-support-async/Sources/CProcessSpawnSync/spawner.c:32:
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-async/Sources/CProcessSpawnSync/internal-helpers.h:120:14: error: call to undeclared function 'getdtablesize'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  120 |         hi = getdtablesize();
      |              ^
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-async/Sources/CProcessSpawnSync/internal-helpers.h:120: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.
[38/899] Compiling TSFCProcessSpawnSync spawner.c
[38/899] Compiling aes.cc
[38/899] Compiling CBLAKE3 blake3.c
[38/899] Compiling x509_att.cc
[38/899] Compiling a_bitstr.cc
BUILD FAILURE 6.2 android