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.0 for Linux on 2 Nov 2025 17:03:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/leif-ibsen/BigInt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling BigInt Karatsuba.swift
[4/15] Compiling BigInt ExpMod.swift
[5/15] Compiling BigInt FFT.swift
[6/15] Compiling BigInt BurnikelZiegler.swift
[7/15] Compiling BigInt CRT.swift
[8/15] Compiling BigInt Limbs.swift
[9/15] Compiling BigInt Factorial.swift
[10/15] Compiling BigInt GCD.swift
[11/16] Compiling BigInt ToomCook.swift
[12/16] Compiling BigInt BailliePSW.swift
[13/16] Compiling BigInt BigFrac.swift
[14/16] Emitting module BigInt
[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.0 linux