Build Information
Failed to build KpqC, reference main (bf8770), with Swift 6.1 for Android on 17 Oct 2026 15:22:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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/KpqC/kpqc-swift.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/KpqC/kpqc-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bf87705 docs: pluralize KEM parameter size heading
Cloned https://github.com/KpqC/kpqc-swift.git
Revision (git rev-parse @):
bf877051fe6909a4534f5d6401d66d214b9c57ec
SUCCESS checkout https://github.com/KpqC/kpqc-swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/KpqC/kpqc-swift.git
https://github.com/KpqC/kpqc-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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
warning: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/KpqCTests/__pycache__': File not found.
Building for debugging...
[0/193] Compiling 07_signature.c
[1/193] Compiling 01_field_common.c
[1/193] Compiling 02_hash.c
[3/193] Compiling 04_tree.c
[4/193] Compiling 05_field128.c
[5/193] Compiling secure_zero.c
[6/193] Compiling 14_kem_wrapper.c
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/timer/15_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:37:25: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | ssize_t count = getrandom(output, length, 0);
| ^
1 error generated.
[7/193] Compiling 15_randombytes.c
[7/193] Compiling 10_poly.c
[7/193] Compiling 11_toomcook.c
[7/193] Compiling 12_verify.c
[7/193] Compiling 13_fips202.c
[7/193] Compiling 03_sign.c
[7/193] Compiling 02_hash.c
[7/193] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.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: 'spi-builder-workspace': Invalid Exclude '/host/spi-builder-workspace/Tests/KpqCTests/__pycache__': File not found.
[0/1] Planning build
Building for debugging...
[0/187] Write sources
In file included from /host/spi-builder-workspace/Sources/KpqCCore/Generated/timer/15_randombytes.c:6:
/host/spi-builder-workspace/native/csrc/randombytes.c:37:25: error: call to undeclared function 'getrandom'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
37 | ssize_t count = getrandom(output, length, 0);
| ^
1 error generated.
[1/186] Compiling 15_randombytes.c
[1/186] Compiling 09_packring.c
[1/186] Compiling 10_poly.c
[1/186] Compiling 13_fips202.c
[1/186] Compiling 11_toomcook.c
[1/186] Compiling 08_pack.c
[1/186] Compiling 12_verify.c
[1/186] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 android