Build Information
Failed to build llbuild2, reference 1.0.0-beta1.11 (67d125
), with Swift 6.2 (beta) for Android on 10 Sep 2025 01:34:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/swift-llbuild2.git
Reference: 1.0.0-beta1.11
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
* tag 1.0.0-beta1.11 -> FETCH_HEAD
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 1.0.0-beta1.11
========================================
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-4606859-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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-tools-support-async.git
Fetching https://github.com/grpc/grpc-swift.git
Fetching https://github.com/apple/swift-protobuf.git
[1/883] Fetching swift-tools-support-async
[884/7832] Fetching swift-tools-support-async, swift-tools-support-core
[3134/59129] Fetching swift-tools-support-async, swift-tools-support-core, grpc-swift
[11424/137191] Fetching swift-tools-support-async, swift-tools-support-core, grpc-swift, swift-nio
Fetching https://github.com/apple/swift-log.git
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.24s)
[13753/130242] Fetching swift-tools-support-async, grpc-swift, swift-nio
Fetching https://github.com/apple/swift-distributed-tracing
[17902/170412] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf
[17903/174315] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf, swift-log
[19111/179466] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf, swift-log, swift-distributed-tracing
Fetched https://github.com/apple/swift-log.git from cache (0.98s)
[42436/175563] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf, swift-distributed-tracing
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-distributed-tracing from cache (1.14s)
[40273/170412] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf
Fetching https://github.com/apple/swift-argument-parser.git
[54729/187218] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf, swift-crypto
[58467/203132] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf, swift-crypto, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.25s)
[121118/187218] Fetching swift-tools-support-async, grpc-swift, swift-nio, swift-protobuf, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (6.73s)
Fetched https://github.com/apple/swift-tools-support-async.git from cache (20.19s)
Fetched https://github.com/grpc/grpc-swift.git from cache (20.38s)
Fetched https://github.com/apple/swift-protobuf.git from cache (20.51s)
Fetched https://github.com/apple/swift-nio.git from cache (20.53s)
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 (25.43s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1814] Fetching swift-atomics
[491/6751] Fetching swift-atomics, swift-system
[2487/24196] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.98s)
[4780/19259] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.07s)
[3489/17445] Fetching swift-collections
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-collections.git from cache (2.66s)
[1/5332] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.70s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (4.56s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.90s)
Computing version for https://github.com/apple/swift-distributed-tracing
Computed https://github.com/apple/swift-distributed-tracing at 1.2.2 (1.01s)
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.44s)
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.30s)
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.06s)
Computing version for https://github.com/apple/swift-protobuf.git
Computed https://github.com/apple/swift-protobuf.git at 1.31.0 (1.01s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.86.0 (1.64s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.2 (1.35s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (1.26s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.93s)
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.95s)
Computing version for https://github.com/grpc/grpc-swift.git
Computed https://github.com/grpc/grpc-swift.git at 1.26.1 (1.51s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/6127] Fetching swift-nio-extras
[6128/21202] Fetching swift-nio-extras, swift-nio-ssl
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[9294/23906] Fetching swift-nio-extras, swift-nio-ssl, swift-nio-transport-services
[11057/35567] Fetching swift-nio-extras, swift-nio-ssl, swift-nio-transport-services, swift-nio-http2
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (2.98s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.01s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (4.60s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.65s)
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 (5.67s)
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.91s)
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.18s)
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1176] Fetching swift-http-structured-headers
[260/3646] Fetching swift-http-structured-headers, swift-service-lifecycle
[581/4563] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[2417/10548] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-algorithms
[2693/12177] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-algorithms, swift-asn1
[6068/18708] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-algorithms, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-http-types.git from cache (0.77s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.77s)
[7594/16615] Fetching swift-service-lifecycle, swift-algorithms, swift-asn1, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.96s)
[10345/14986] Fetching swift-service-lifecycle, swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (1.22s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (1.40s)
Fetched https://github.com/apple/swift-certificates.git from cache (1.41s)
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 (2.37s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.72s)
Fetching https://github.com/apple/swift-numerics.git
[1/6348] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.75s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (1.82s)
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.86s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.13.0 (1.06s)
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 (2.41s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.0 (0.82s)
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.16s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.0 (2.24s)
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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.2
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-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-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/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-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-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-distributed-tracing
Working copy of https://github.com/apple/swift-distributed-tracing resolved at 1.2.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-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-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-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-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-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-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-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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.4.0
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-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-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-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.86.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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.0
Downloading binary artifact https://github.com/apple/swift-protobuf/releases/download/protoc-artifactbundle-v31.1/protoc-31.1.artifactbundle.zip
[1397/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.65s)
[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
[26/888] Compiling poly1305_arm_asm.S
[26/888] Write sources
[29/888] Compiling _AtomicsShims.c
[30/888] Write sources
[31/888] Compiling sha1-armv8-apple.S
[32/888] Compiling TSCclibc strerror.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.
[33/888] Compiling TSFCProcessSpawnSync spawner.c
[33/888] Compiling engine.cc
[33/888] Compiling asn1_par.cc
[33/888] Compiling poly1305.cc
[33/888] Write swift-version-8C5A4AE7A8CE2BA.txt
[33/888] Compiling ecdsa_asn1.cc
[33/888] Compiling TSCclibc process.c
[33/888] Compiling poly1305_arm.cc
BUILD FAILURE 6.2 android