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 BigInt, reference 1.22.0 (8c6f93), with Swift 6.2 for Android on 2 Nov 2025 17:03:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/BigInt.git
Reference: 1.22.0
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/BigInt
 * tag               1.22.0     -> FETCH_HEAD
HEAD is now at 8c6f93a Release 1.22.0
Cloned https://github.com/leif-ibsen/BigInt.git
Revision (git rev-parse @):
8c6f93aa37504b7b1ba3954335b5548a19fbbd82
SUCCESS checkout https://github.com/leif-ibsen/BigInt.git at 1.22.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/leif-ibsen/BigInt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--11D90AFD9DD3AB2.txt
[3/15] Compiling BigInt Karatsuba.swift
[4/16] Compiling BigInt Factorial.swift
[5/16] Compiling BigInt GCD.swift
[6/16] Compiling BigInt ExpMod.swift
[7/16] Compiling BigInt FFT.swift
[8/16] Compiling BigInt ToomCook.swift
[9/16] Compiling BigInt Limbs.swift
[10/16] Compiling BigInt BurnikelZiegler.swift
[11/16] Compiling BigInt CRT.swift
[12/16] Emitting module BigInt
[13/16] Compiling BigInt BailliePSW.swift
[14/16] Compiling BigInt BigFrac.swift
[15/16] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/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/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/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/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/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/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 |         }
[16/16] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/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/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/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/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/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/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.2 android