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 3.0.2 (4414e0), with Swift 5.10 for Linux on 12 Oct 2024 18:34:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 3.0.2
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
 * tag               3.0.2      -> FETCH_HEAD
HEAD is now at 4414e0e Added more tests and added minimum requirements for OSes.
Cloned https://github.com/mgriebling/BigDecimal.git
Revision (git rev-parse @):
4414e0e82bb859cf5a2883f9401e7d7cb030f5b1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mgriebling/BigDecimal.git at 3.0.2
========================================
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-4606859-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/mgriebling/BigInt.git
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/apple/swift-numerics
[1/768] Fetching uint128
[677/7042] Fetching uint128, bigint
[1460/12618] Fetching uint128, bigint, swift-numerics
Fetched https://github.com/mgriebling/UInt128.git from cache (0.39s)
[10094/11850] Fetching bigint, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.39s)
[4581/6274] Fetching bigint
Fetched https://github.com/mgriebling/BigInt.git from cache (0.65s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.1.5 (1.07s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.43s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.2.4 (0.36s)
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/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.1.5
Creating working copy for https://github.com/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.2.4
Building for debugging...
[0/8] Write sources
[6/8] Compiling _NumericsShims _NumericsShims.c
[6/8] Write swift-version-24593BA9C3E375BF.txt
[9/33] Compiling RealModule ElementaryFunctions.swift
[10/34] Compiling BigInt BurnikelZiegler.swift
[11/34] Compiling BigInt CRT.swift
[12/35] Compiling BigInt Karatsuba.swift
[13/35] Compiling BigInt ExpMod.swift
[14/35] Compiling BigInt FFT.swift
[15/35] Compiling BigInt Factorial.swift
[16/35] Compiling BigInt GCD.swift
[17/35] Compiling BigInt Limbs.swift
[18/35] Emitting module RealModule
[19/35] Compiling RealModule Real.swift
[20/35] Compiling RealModule Float16+Real.swift
[21/35] Compiling RealModule Float+Real.swift
[22/35] Compiling RealModule Float80+Real.swift
[23/35] Compiling RealModule RealFunctions.swift
[24/35] Compiling BigInt BigFrac.swift
[25/35] Compiling BigInt BigInt-Extensions.swift
[29/36] Compiling BigInt ToomCook.swift
[30/41] Emitting module UInt128
[31/41] Compiling UInt128 UInt128.swift
[33/42] Compiling ComplexModule ElementaryFunctions.swift
[36/42] Emitting module BigInt
[37/42] Compiling BigInt BigInt.swift
/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 {
                                                                                ^~~~~~~~~~~~~
[38/42] Compiling BigInt BitSieve.swift
/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
[39/42] Emitting module ComplexModule
[40/42] Compiling ComplexModule Complex.swift
[41/42] Compiling ComplexModule Arithmetic.swift
BUILD FAILURE 5.10 linux