The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build BigDecimal, reference main (ddc5df), with Swift 5.10 for Linux on 16 Oct 2024 23:15:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.55.0
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 ddc5df3 Put back the nanFlag.
Cloned https://github.com/mgriebling/BigDecimal.git
Revision (git rev-parse @):
ddc5df3676a865345686901c44fa022f30dd4a0b
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgriebling/BigDecimal.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/mgriebling/BigDecimal.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:de52ea9a9b71f638f9ab112bc11e200b74fab18027de8589a3de4f14b5e22683
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mgriebling/BigInt.git
[1/2038] Fetching swift-docc-plugin
[226/8312] Fetching swift-docc-plugin, bigint
[227/9896] Fetching swift-docc-plugin, bigint, uint128
[1825/15472] Fetching swift-docc-plugin, bigint, uint128, swift-numerics
[2373/18622] Fetching swift-docc-plugin, bigint, uint128, swift-numerics, swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.68s)
Fetched https://github.com/apple/swift-numerics from cache (0.68s)
Fetched https://github.com/mgriebling/UInt128.git from cache (0.68s)
Fetched https://github.com/apple/swift-docc-plugin from cache (0.68s)
Fetched https://github.com/mgriebling/BigInt.git from cache (0.69s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.04s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (0.37s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.36s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.2.4 (0.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.40s)
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.4.3
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.2
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.2.4
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
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/10] Write sources
[8/10] Compiling _NumericsShims _NumericsShims.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/37] Compiling BigInt Limbs.swift
[12/38] Compiling BigInt ExpMod.swift
[13/38] Compiling BigInt FFT.swift
[14/38] Compiling RealModule AlgebraicField.swift
[15/38] Compiling RealModule ApproximateEquality.swift
[16/38] Compiling RealModule Float+Real.swift
[17/38] Compiling BigInt BurnikelZiegler.swift
[18/38] Compiling BigInt CRT.swift
[19/38] Compiling BigInt Karatsuba.swift
[20/39] Compiling RealModule RealFunctions.swift
[21/39] Emitting module RealModule
[22/39] Compiling RealModule Float16+Real.swift
[23/39] Compiling RealModule Float80+Real.swift
[24/39] Compiling RealModule ElementaryFunctions.swift
[25/39] Compiling RealModule Real.swift
[26/39] Compiling RealModule AugmentedArithmetic.swift
[27/39] Compiling RealModule Double+Real.swift
[31/40] Compiling BigInt ToomCook.swift
[32/40] Compiling UInt128 UInt128.swift
[33/40] Compiling UInt128 Common.swift
[34/40] Emitting module UInt128
[35/40] Compiling UInt128 Int128.swift
[37/46] Compiling ComplexModule ElementaryFunctions.swift
[38/46] Compiling BigInt BigFrac.swift
[39/46] Compiling BigInt BigInt-Extensions.swift
[40/46] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:77: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                                                            ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:81: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                                                                ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:77: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
                                                                            ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                 ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:81: error: cannot find 'errSecSuccess' in scope
        guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
                                                                                ^~~~~~~~~~~~~
error: fatalError
[43/46] Compiling ComplexModule Arithmetic.swift
[44/46] Compiling ComplexModule Complex.swift
[45/46] Emitting module ComplexModule
BUILD FAILURE 5.10 linux