The Swift Package Index logo.Swift Package Index

Build Information

Failed to build BigInt, reference master (981581), with Swift 6.1 for Linux on 10 Nov 2026 06:49:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/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/mgriebling/BigInt
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9815812 Merge pull request #2 from kdubb/task/bfraction-sendable
Cloned https://github.com/mgriebling/BigInt.git
Revision (git rev-parse @):
98158123010e561f54f964db364e394b13003f3f
SUCCESS checkout https://github.com/mgriebling/BigInt.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mgriebling/BigInt.git
https://github.com/mgriebling/BigInt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:113d0504da60d143630935560f931e78b3f88a328c455129be4c663c41c49224
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/15] Compiling BigInt CRT.swift
[4/15] Compiling BigInt ExpMod.swift
[5/15] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/Sources/BigInt/BitSieve.swift:18:16: warning: static property 'smallSieve' is not concurrency-safe because non-'Sendable' type 'BitSieve' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |  * BitSieve class from Java BigInteger translated to Swift
 11 |  */
 12 | class BitSieve {
    |       `- note: class 'BitSieve' does not conform to the 'Sendable' protocol
 13 |
 14 |     var bits: [UInt64]
    :
 16 |     let base: BInt
 17 |
 18 |     static let smallSieve = BitSieve()
    |                |- warning: static property 'smallSieve' is not concurrency-safe because non-'Sendable' type 'BitSieve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'smallSieve' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     init() {
[6/15] Compiling BigInt BurnikelZiegler.swift
/host/spi-builder-workspace/Sources/BigInt/BitSieve.swift:18:16: warning: static property 'smallSieve' is not concurrency-safe because non-'Sendable' type 'BitSieve' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |  * BitSieve class from Java BigInteger translated to Swift
 11 |  */
 12 | class BitSieve {
    |       `- note: class 'BitSieve' does not conform to the 'Sendable' protocol
 13 |
 14 |     var bits: [UInt64]
    :
 16 |     let base: BInt
 17 |
 18 |     static let smallSieve = BitSieve()
    |                |- warning: static property 'smallSieve' is not concurrency-safe because non-'Sendable' type 'BitSieve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'smallSieve' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     init() {
[7/15] Compiling BigInt Factorial.swift
[8/15] Compiling BigInt GCD.swift
[9/16] Compiling BigInt Limbs.swift
[10/16] Compiling BigInt Karatsuba.swift
[11/16] Compiling BigInt ToomCook.swift
[12/16] Emitting module BigInt
/host/spi-builder-workspace/Sources/BigInt/BitSieve.swift:18:16: warning: static property 'smallSieve' is not concurrency-safe because non-'Sendable' type 'BitSieve' may have shared mutable state; this is an error in the Swift 6 language mode
 10 |  * BitSieve class from Java BigInteger translated to Swift
 11 |  */
 12 | class BitSieve {
    |       `- note: class 'BitSieve' does not conform to the 'Sendable' protocol
 13 |
 14 |     var bits: [UInt64]
    :
 16 |     let base: BInt
 17 |
 18 |     static let smallSieve = BitSieve()
    |                |- warning: static property 'smallSieve' is not concurrency-safe because non-'Sendable' type 'BitSieve' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'smallSieve' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |
 20 |     init() {
[13/16] Compiling BigInt BailliePSW.swift
[14/16] Compiling BigInt BigFrac.swift
[15/16] Compiling BigInt BigInt-Extensions.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 |         }
[16/16] 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 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:113d0504da60d143630935560f931e78b3f88a328c455129be4c663c41c49224
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/14] Compiling BigInt BitSieve.swift
[3/14] Compiling BigInt BurnikelZiegler.swift
[4/15] Compiling BigInt Karatsuba.swift
[5/15] Compiling BigInt Factorial.swift
[6/15] Compiling BigInt GCD.swift
[7/15] Compiling BigInt CRT.swift
[8/15] Compiling BigInt ExpMod.swift
[9/15] Compiling BigInt Limbs.swift
[10/15] Compiling BigInt ToomCook.swift
[11/15] Emitting module BigInt
[12/15] Compiling BigInt BailliePSW.swift
[13/15] Compiling BigInt BigFrac.swift
[14/15] Compiling BigInt BigInt-Extensions.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 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 |         }
BUILD FAILURE 6.1 linux