Build Information
Failed to build BigDecimal, reference main (a269aa), with Swift 6.1 for Android on 10 Nov 2026 06:39:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mgriebling/BigDecimal.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/mgriebling/BigDecimal
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a269aa1 Merge pull request #13 from adam-rocska/main
Cloned https://github.com/mgriebling/BigDecimal.git
Revision (git rev-parse @):
a269aa127a3467b0f7494bc3eb4d35106d57a42c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgriebling/BigDecimal.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/mgriebling/BigDecimal.git
https://github.com/mgriebling/BigDecimal.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-2":/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: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 saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/mgriebling/BigInt.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mgriebling/UInt128.git
[1/1584] Fetching uint128
[33/3929] Fetching uint128, swift-docc-plugin
[1820/11510] Fetching uint128, swift-docc-plugin, bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (0.45s)
[311/9926] Fetching swift-docc-plugin, bigint
[2650/16775] Fetching swift-docc-plugin, bigint, swift-numerics
Fetched https://github.com/apple/swift-docc-plugin from cache (0.50s)
[1192/14430] Fetching bigint, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.77s)
Fetched https://github.com/mgriebling/BigInt.git from cache (0.78s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (1.70s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.1.1 (0.21s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.1 (0.20s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.24s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3865] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.58s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.1.1
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.3.1
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/10] Write sources
[8/10] Compiling _NumericsShims _NumericsShims.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/38] Emitting module RealModule
[12/39] Compiling RealModule RelaxedArithmetic.swift
[13/39] Compiling BigInt BigInt.swift
[14/39] Compiling BigInt BitSieve.swift
[15/39] Compiling RealModule Float16+Real.swift
[16/39] Compiling RealModule Float80+Real.swift
[17/39] Compiling RealModule Real.swift
[18/39] Compiling RealModule RealFunctions.swift
[19/39] Emitting module UInt128
[20/39] Compiling UInt128 Int128.swift
[21/39] Compiling UInt128 UInt128.swift
[22/39] Compiling UInt128 Common.swift
[23/40] Compiling BigInt BurnikelZiegler.swift
[24/40] Compiling BigInt CRT.swift
[25/40] Compiling BigInt BigFrac.swift
[26/40] Compiling BigInt BigInt-Extensions.swift
[29/52] Compiling ComplexModule Complex+Hashable.swift
[30/52] Compiling ComplexModule Complex+IntegerLiteral.swift
[33/54] Compiling ComplexModule Complex+StringConvertible.swift
[34/54] Compiling ComplexModule Polar.swift
[35/54] Compiling ComplexModule Complex+Numeric.swift
[36/54] Compiling ComplexModule Complex.swift
[37/54] Emitting module ComplexModule
[38/54] Compiling ComplexModule Scale.swift
[39/54] Compiling BigInt ExpMod.swift
[40/54] Compiling BigInt FFT.swift
[41/54] Compiling BigInt Factorial.swift
[42/54] Compiling BigInt GCD.swift
[43/54] Compiling BigInt Karatsuba.swift
[44/54] Compiling BigInt Limbs.swift
[45/54] Compiling BigInt ToomCook.swift
[46/54] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[47/54] Compiling ComplexModule Complex+AlgebraicField.swift
[48/54] Compiling ComplexModule Complex+Codable.swift
[49/54] Compiling ComplexModule Complex+ElementaryFunctions.swift
[51/57] Emitting module Numerics
[52/57] Compiling Numerics Numerics.swift
[54/58] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-2":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:135e1254b7d09cd140ac29e6c8ef7c4590eae3130738913868216d654d407276
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/31] Compiling RealModule Real.swift
[5/32] Compiling RealModule Float80+Real.swift
[6/32] Compiling RealModule RealFunctions.swift
[7/32] Compiling BigInt Karatsuba.swift
[8/33] Compiling RealModule RelaxedArithmetic.swift
[9/33] Compiling BigInt BurnikelZiegler.swift
[10/33] Compiling BigInt CRT.swift
[11/33] Compiling RealModule Float16+Real.swift
[12/33] Compiling BigInt BigFrac.swift
[13/33] Compiling BigInt BigInt-Extensions.swift
[14/33] Compiling BigInt BigInt.swift
[15/33] Compiling BigInt BitSieve.swift
[16/33] Compiling BigInt ToomCook.swift
[17/33] Compiling UInt128 UInt128.swift
[18/33] Emitting module RealModule
[22/34] Emitting module UInt128
[23/34] Compiling UInt128 Int128.swift
[24/34] Compiling UInt128 Common.swift
[26/46] Compiling BigInt ExpMod.swift
[27/46] Compiling BigInt FFT.swift
[28/46] Compiling BigInt Factorial.swift
[29/46] Compiling BigInt GCD.swift
[30/46] Compiling ComplexModule Polar.swift
[31/47] Compiling ComplexModule Complex.swift
[32/47] Compiling ComplexModule Complex+StringConvertible.swift
[33/47] Compiling ComplexModule Complex+Codable.swift
[34/47] Compiling ComplexModule Complex+ElementaryFunctions.swift
[35/47] Compiling BigInt Limbs.swift
[36/47] Compiling ComplexModule Complex+Hashable.swift
[37/47] Compiling ComplexModule Complex+IntegerLiteral.swift
[38/47] Compiling ComplexModule Complex+Numeric.swift
[39/47] Compiling ComplexModule Scale.swift
[42/47] Compiling ComplexModule Complex+AdditiveArithmetic.swift
[43/47] Compiling ComplexModule Complex+AlgebraicField.swift
[44/47] Emitting module ComplexModule
[46/50] Emitting module Numerics
[47/50] Compiling Numerics Numerics.swift
[48/51] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:15: error: cannot find 'SecRandomCopyBytes' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:34: error: cannot find 'kSecRandomDefault' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1696:77: error: cannot find 'errSecSuccess' in scope
1694 |
1695 | static internal func randomBytes(_ bytes: inout Bytes) {
1696 | guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1697 | fatalError("randomBytes failed")
1698 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:15: error: cannot find 'SecRandomCopyBytes' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'SecRandomCopyBytes' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:34: error: cannot find 'kSecRandomDefault' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'kSecRandomDefault' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1702:81: error: cannot find 'errSecSuccess' in scope
1700 |
1701 | static internal func randomLimbs(_ limbs: inout Limbs) {
1702 | guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
| `- error: cannot find 'errSecSuccess' in scope
1703 | fatalError("randomLimbs failed")
1704 | }
BUILD FAILURE 6.1 android