Build Information
Failed to build SwiftKyber, reference main (9dcd9e), with Swift 6.1 for Android on 22 Apr 2026 14:03:58 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/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/SwiftKyber.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/leif-ibsen/SwiftKyber
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 9dcd9ef Release 3.5.0
Cloned https://github.com/leif-ibsen/SwiftKyber.git
Revision (git rev-parse @):
9dcd9efd90c48f10ad8ec2e6dced43e325625a1a
SUCCESS checkout https://github.com/leif-ibsen/SwiftKyber.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/leif-ibsen/SwiftKyber.git
https://github.com/leif-ibsen/SwiftKyber.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
Fetching https://github.com/leif-ibsen/Digest
Fetching https://github.com/leif-ibsen/BigInt
Fetching https://github.com/leif-ibsen/ASN1
[1/2427] Fetching asn1
[1142/9178] Fetching asn1, bigint
[1143/11771] Fetching asn1, bigint, digest
Fetched https://github.com/leif-ibsen/Digest from cache (0.60s)
[6073/9178] Fetching asn1, bigint
Fetched https://github.com/leif-ibsen/ASN1 from cache (0.95s)
Fetched https://github.com/leif-ibsen/BigInt from cache (0.96s)
Computing version for https://github.com/leif-ibsen/Digest
Computed https://github.com/leif-ibsen/Digest at 1.13.0 (1.51s)
Computing version for https://github.com/leif-ibsen/BigInt
Computed https://github.com/leif-ibsen/BigInt at 1.23.0 (1.14s)
Computing version for https://github.com/leif-ibsen/ASN1
Computed https://github.com/leif-ibsen/ASN1 at 2.7.0 (2.42s)
Creating working copy for https://github.com/leif-ibsen/BigInt
Working copy of https://github.com/leif-ibsen/BigInt resolved at 1.23.0
Creating working copy for https://github.com/leif-ibsen/Digest
Working copy of https://github.com/leif-ibsen/Digest resolved at 1.13.0
Creating working copy for https://github.com/leif-ibsen/ASN1
Working copy of https://github.com/leif-ibsen/ASN1 resolved at 2.7.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/28] Compiling BigInt Factorial.swift
[7/28] Compiling BigInt GCD.swift
[8/29] Compiling BigInt ExpMod.swift
[9/29] Compiling BigInt FFT.swift
[10/29] Compiling BigInt BurnikelZiegler.swift
[11/29] Compiling BigInt CRT.swift
[12/29] Compiling Digest SHA2.swift
[13/30] Compiling Digest SHA1.swift
[14/30] Compiling Digest SHAKE.swift
[15/30] Compiling Digest SHA3.swift
[16/30] Compiling Digest MD.swift
[17/30] Compiling BigInt Limbs.swift
[18/30] Compiling BigInt Karatsuba.swift
[21/30] Compiling BigInt ToomCook.swift
[22/30] Compiling Digest XOF.swift
[23/30] Compiling Digest BLAKE.swift
[24/30] Compiling Digest Base64.swift
[25/30] Emitting module Digest
[28/31] Emitting module BigInt
[29/31] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:77: error: cannot find 'errSecSuccess' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:15: error: cannot find 'SecRandomCopyBytes' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:34: error: cannot find 'kSecRandomDefault' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:81: error: cannot find 'errSecSuccess' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
[30/31] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:77: error: cannot find 'errSecSuccess' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:15: error: cannot find 'SecRandomCopyBytes' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:34: error: cannot find 'kSecRandomDefault' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:81: error: cannot find 'errSecSuccess' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
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/swiftpackageindex/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/24] Compiling Digest SHAKE.swift
[3/25] Emitting module BigInt
[4/26] Compiling Digest XOF.swift
[5/26] Compiling BigInt Karatsuba.swift
[6/26] Compiling BigInt Factorial.swift
[7/26] Compiling BigInt GCD.swift
[8/26] Compiling BigInt Limbs.swift
[9/26] Compiling BigInt ToomCook.swift
[10/26] Compiling BigInt ExpMod.swift
[11/26] Compiling BigInt FFT.swift
[12/26] Compiling Digest BLAKE.swift
[13/26] Compiling Digest Base64.swift
[14/26] Compiling Digest SHA2.swift
[15/26] Compiling Digest MD.swift
[16/26] Compiling Digest SHA3.swift
[17/26] Compiling Digest SHA1.swift
[18/26] Compiling Digest HMAC.swift
[19/26] Compiling Digest KDF.swift
[20/26] Compiling BigInt BailliePSW.swift
[21/26] Compiling BigInt BigFrac.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:77: error: cannot find 'errSecSuccess' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:15: error: cannot find 'SecRandomCopyBytes' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:34: error: cannot find 'kSecRandomDefault' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:81: error: cannot find 'errSecSuccess' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:77: error: cannot find 'errSecSuccess' in scope
1699 |
1700 | static internal func randomBytes(_ bytes: inout Bytes) {
1701 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1702 | fatalError("randomBytes failed")
1703 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:15: error: cannot find 'SecRandomCopyBytes' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:34: error: cannot find 'kSecRandomDefault' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1707:81: error: cannot find 'errSecSuccess' in scope
1705 |
1706 | static internal func randomLimbs(_ limbs: inout Limbs) {
1707 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1708 | fatalError("randomLimbs failed")
1709 | }
BUILD FAILURE 6.1 android