Build Information
Failed to build BigInt, reference master (7c7b1b), with Swift 6.2 for Linux on 12 Jul 2026 06:44:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leif-ibsen/BigInt.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7c7b1be Release 1.24.0
Cloned https://github.com/leif-ibsen/BigInt.git
Revision (git rev-parse @):
7c7b1be2f6714ce03833879b0aab4b20293c0207
SUCCESS checkout https://github.com/leif-ibsen/BigInt.git at master
========================================
Build
========================================
Selected platform: linux
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-53886770-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:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:146297aca0eb7f3e338453cbf4c0aa72424647d7d0d3f35fda2f7ef7698dd3aa
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/14] Compiling BigInt GCD.swift
[4/14] Compiling BigInt Karatsuba.swift
[5/15] Compiling BigInt ExpMod.swift
[6/15] Compiling BigInt Factorial.swift
[7/15] Compiling BigInt BurnikelZiegler.swift
[8/15] Compiling BigInt CRT.swift
[9/15] Compiling BigInt Limbs.swift
[10/15] Compiling BigInt ToomCook.swift
[11/15] Compiling BigInt BailliePSW.swift
[12/15] Compiling BigInt BigFrac.swift
[13/15] Emitting module BigInt
[14/15] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1775:15: error: cannot find 'SecRandomCopyBytes' in scope
1773 |
1774 | static internal func randomBytes(_ bytes: inout Bytes) {
1775 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1776 | fatalError("randomBytes failed")
1777 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1775:34: error: cannot find 'kSecRandomDefault' in scope
1773 |
1774 | static internal func randomBytes(_ bytes: inout Bytes) {
1775 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1776 | fatalError("randomBytes failed")
1777 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1775:77: error: cannot find 'errSecSuccess' in scope
1773 |
1774 | static internal func randomBytes(_ bytes: inout Bytes) {
1775 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1776 | fatalError("randomBytes failed")
1777 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1781:15: error: cannot find 'SecRandomCopyBytes' in scope
1779 |
1780 | static internal func randomLimbs(_ limbs: inout Limbs) {
1781 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1782 | fatalError("randomLimbs failed")
1783 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1781:34: error: cannot find 'kSecRandomDefault' in scope
1779 |
1780 | static internal func randomLimbs(_ limbs: inout Limbs) {
1781 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1782 | fatalError("randomLimbs failed")
1783 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1781:81: error: cannot find 'errSecSuccess' in scope
1779 |
1780 | static internal func randomLimbs(_ limbs: inout Limbs) {
1781 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1782 | fatalError("randomLimbs failed")
1783 | }
[15/15] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1775:15: error: cannot find 'SecRandomCopyBytes' in scope
1773 |
1774 | static internal func randomBytes(_ bytes: inout Bytes) {
1775 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1776 | fatalError("randomBytes failed")
1777 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1775:34: error: cannot find 'kSecRandomDefault' in scope
1773 |
1774 | static internal func randomBytes(_ bytes: inout Bytes) {
1775 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1776 | fatalError("randomBytes failed")
1777 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1775:77: error: cannot find 'errSecSuccess' in scope
1773 |
1774 | static internal func randomBytes(_ bytes: inout Bytes) {
1775 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1776 | fatalError("randomBytes failed")
1777 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1781:15: error: cannot find 'SecRandomCopyBytes' in scope
1779 |
1780 | static internal func randomLimbs(_ limbs: inout Limbs) {
1781 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1782 | fatalError("randomLimbs failed")
1783 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1781:34: error: cannot find 'kSecRandomDefault' in scope
1779 |
1780 | static internal func randomLimbs(_ limbs: inout Limbs) {
1781 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1782 | fatalError("randomLimbs failed")
1783 | }
/host/spi-builder-workspace/Sources/BigInt/BigInt.swift:1781:81: error: cannot find 'errSecSuccess' in scope
1779 |
1780 | static internal func randomLimbs(_ limbs: inout Limbs) {
1781 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1782 | fatalError("randomLimbs failed")
1783 | }
BUILD FAILURE 6.2 linux