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 6.1 for Linux on 29 Apr 2025 15:34:46 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
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:             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
{
  "dependencies" : [
    {
      "identity" : "bigint",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mgriebling/BigInt.git"
    },
    {
      "identity" : "swift-numerics",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-numerics"
    },
    {
      "identity" : "uint128",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.1.5",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mgriebling/UInt128.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "BigDecimal",
  "name" : "BigDecimal",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.3"
    },
    {
      "name" : "ios",
      "version" : "16.4"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.3"
    },
    {
      "name" : "tvos",
      "version" : "16.4"
    },
    {
      "name" : "watchos",
      "version" : "9.4"
    }
  ],
  "products" : [
    {
      "name" : "BigDecimal",
      "targets" : [
        "BigDecimal"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "BigDecimalTests",
      "module_type" : "SwiftTarget",
      "name" : "BigDecimalTests",
      "path" : "Tests/BigDecimalTests",
      "sources" : [
        "Decimal32Tests.swift",
        "TestAbs.swift",
        "TestAddition.swift",
        "TestArithmetic.swift",
        "TestAsString.swift",
        "TestBigDecimal.swift",
        "TestCompare.swift",
        "TestComplex.swift",
        "TestConstructor.swift",
        "TestConversion.swift",
        "TestData.swift",
        "TestDecimal.swift",
        "TestDecimal128.swift",
        "TestDecimal128Encoding.swift",
        "TestDecimal128FMA.swift",
        "TestDecimal32.swift",
        "TestDecimal32Encoding.swift",
        "TestDecimal64.swift",
        "TestDecimal64Encoding.swift",
        "TestDecimal64FMA.swift",
        "TestDivision1.swift",
        "TestDivision2.swift",
        "TestEncode128.swift",
        "TestEncode32.swift",
        "TestEncode64.swift",
        "TestHyperbolic.swift",
        "TestInfinityNaN.swift",
        "TestLogarithm.swift",
        "TestLogic.swift",
        "TestMinMax.swift",
        "TestMultiplication.swift",
        "TestOperations.swift",
        "TestPow.swift",
        "TestProperties.swift",
        "TestQuantize.swift",
        "TestRandom.swift",
        "TestRemainder.swift",
        "TestRoundAdd.swift",
        "TestRoundDiv.swift",
        "TestRoundMul.swift",
        "TestRoundPow.swift",
        "TestScale.swift",
        "TestSubtraction.swift",
        "TestTrig.swift",
        "TestTrim.swift",
        "TestWithExponent.swift"
      ],
      "target_dependencies" : [
        "BigDecimal"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BigDecimal",
      "module_type" : "SwiftTarget",
      "name" : "BigDecimal",
      "path" : "Sources/BigDecimal",
      "product_dependencies" : [
        "BigInt",
        "UInt128",
        "Numerics"
      ],
      "product_memberships" : [
        "BigDecimal"
      ],
      "sources" : [
        "BigDecimal.swift",
        "CBDecimal.swift",
        "Decimal.swift",
        "Decimal128.swift",
        "Decimal32.swift",
        "Decimal64.swift",
        "DecimalMath/AsinCalculator.swift",
        "DecimalMath/CosCalculator.swift",
        "DecimalMath/CoshCalculator.swift",
        "DecimalMath/DecimalMath-Simple.swift",
        "DecimalMath/DecimalMath.swift",
        "DecimalMath/ExponentCalculator.swift",
        "DecimalMath/SeriesCalculator.swift",
        "DecimalMath/SinCalculator.swift",
        "DecimalMath/SinhCalculator.swift",
        "Support/DecimalFloatingPoint.swift",
        "Support/DecimalLogic.swift",
        "Support/Extensions.swift",
        "Support/Rounding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/mgriebling/BigInt.git
Fetching https://github.com/apple/swift-numerics
[1/2049] Fetching swift-docc-plugin
[227/3633] Fetching swift-docc-plugin, uint128
[1273/9307] Fetching swift-docc-plugin, uint128, swift-numerics
[9082/16817] Fetching swift-docc-plugin, uint128, swift-numerics, bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (0.89s)
[9901/15233] Fetching swift-docc-plugin, swift-numerics, bigint
Fetched https://github.com/apple/swift-numerics from cache (1.78s)
Fetched https://github.com/apple/swift-docc-plugin from cache (1.79s)
Fetched https://github.com/mgriebling/BigInt.git from cache (1.80s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (5.31s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.59s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.74s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.76s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3376] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.39s)
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.3
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/mgriebling/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.3.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/37] Compiling UInt128 UInt128.swift
[12/37] Compiling UInt128 Int128.swift
[13/37] Emitting module UInt128
[14/37] Compiling UInt128 Common.swift
[15/37] Compiling RealModule Float16+Real.swift
[16/38] Compiling RealModule ElementaryFunctions.swift
[17/38] Compiling RealModule AugmentedArithmetic.swift
[18/38] Compiling RealModule Double+Real.swift
[19/38] Compiling RealModule AlgebraicField.swift
[20/38] Compiling RealModule ApproximateEquality.swift
[21/38] Emitting module RealModule
[22/38] Compiling RealModule Float+Real.swift
[23/39] Compiling RealModule Float80+Real.swift
[24/39] Compiling RealModule Real.swift
[25/39] Compiling RealModule RealFunctions.swift
[28/40] Compiling BigInt Factorial.swift
[29/40] Compiling BigInt GCD.swift
[30/40] Compiling BigInt ExpMod.swift
[31/40] Compiling BigInt FFT.swift
[32/41] Compiling BigInt Karatsuba.swift
[33/41] Compiling BigInt Limbs.swift
[34/46] Compiling BigInt ToomCook.swift
[35/46] Emitting module ComplexModule
[36/46] Compiling ComplexModule Arithmetic.swift
[37/46] Compiling ComplexModule ElementaryFunctions.swift
[38/46] Compiling BigInt BurnikelZiegler.swift
[39/46] Compiling BigInt CRT.swift
[42/46] 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-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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/30] Compiling BigInt Karatsuba.swift
[5/31] Compiling RealModule Real.swift
[6/32] Compiling RealModule Float80+Real.swift
[7/32] Compiling RealModule Float16+Real.swift
[8/32] Compiling BigInt ToomCook.swift
[9/32] Compiling RealModule ElementaryFunctions.swift
[10/32] Compiling RealModule Float+Real.swift
[11/32] Compiling BigInt BurnikelZiegler.swift
[12/32] Compiling BigInt CRT.swift
[13/32] Emitting module RealModule
[14/32] Compiling BigInt BigFrac.swift
[15/32] Compiling BigInt BigInt-Extensions.swift
[16/32] Compiling BigInt ExpMod.swift
[17/32] Compiling BigInt FFT.swift
[20/32] Compiling RealModule RealFunctions.swift
[21/33] Compiling UInt128 UInt128.swift
[22/33] Compiling UInt128 Common.swift
[23/33] Compiling UInt128 Int128.swift
[24/33] Emitting module UInt128
[25/34] Compiling BigInt Factorial.swift
[26/34] Compiling BigInt GCD.swift
[27/34] Compiling BigInt Limbs.swift
[32/39] Emitting module BigInt
[33/39] Compiling BigInt BigInt.swift
/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 |         }
[34/39] Compiling BigInt BitSieve.swift
/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 |         }
[35/39] Compiling ComplexModule Complex.swift
[36/39] Compiling ComplexModule Arithmetic.swift
BUILD FAILURE 6.1 linux