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 ExpressionParser, reference 0.1.1 (2f91ca), with Swift 6.1 for Linux on 29 Apr 2025 15:11:04 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/ExpressionParser.git
Reference: 0.1.1
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/ExpressionParser
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 2f91cac Fixed an error.
Cloned https://github.com/mgriebling/ExpressionParser.git
Revision (git rev-parse @):
2f91cac42ad5de6459c6808c29b295aec5087899
SUCCESS checkout https://github.com/mgriebling/ExpressionParser.git at 0.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mgriebling/ExpressionParser.git
https://github.com/mgriebling/ExpressionParser.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "bigdecimal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mgriebling/BigDecimal.git"
    }
  ],
  "manifest_display_name" : "ExpressionParser",
  "name" : "ExpressionParser",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    },
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "18.0"
    },
    {
      "name" : "watchos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "ExpressionParser",
      "targets" : [
        "ExpressionParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ExpressionParserTests",
      "module_type" : "SwiftTarget",
      "name" : "ExpressionParserTests",
      "path" : "Tests/ExpressionParserTests",
      "sources" : [
        "ExpressionParserTests.swift"
      ],
      "target_dependencies" : [
        "ExpressionParser"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ExpressionParser",
      "module_type" : "SwiftTarget",
      "name" : "ExpressionParser",
      "path" : "Sources/ExpressionParser",
      "product_dependencies" : [
        "BigDecimal"
      ],
      "product_memberships" : [
        "ExpressionParser"
      ],
      "sources" : [
        "AST.swift",
        "ExpressionParser.swift",
        "LaTeX.swift",
        "Parser.swift",
        "Scanner.swift",
        "String+Char.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -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
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/BigDecimal.git
[1/5906] Fetching bigdecimal
Fetched https://github.com/mgriebling/BigDecimal.git from cache (0.72s)
Computing version for https://github.com/mgriebling/BigDecimal.git
Computed https://github.com/mgriebling/BigDecimal.git at 3.0.2 (1.16s)
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/apple/swift-numerics
Fetching https://github.com/mgriebling/BigInt.git
[1/1584] Fetching uint128
[429/7258] Fetching uint128, swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (0.38s)
[1/7510] Fetching bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (0.99s)
Fetched https://github.com/mgriebling/BigInt.git from cache (1.00s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (2.83s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.3 (0.52s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.3.0 (0.45s)
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/BigDecimal.git
Working copy of https://github.com/mgriebling/BigDecimal.git resolved at 3.0.2
Creating working copy for https://github.com/mgriebling/UInt128.git
Working copy of https://github.com/mgriebling/UInt128.git resolved at 3.2.0
Creating working copy for https://github.com/apple/swift-numerics
Working copy of https://github.com/apple/swift-numerics resolved at 1.0.3
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/Parser.frame
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/Copyright.frame
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/Scanner.frame
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/exp.atg
Building for debugging...
[0/9] Write sources
[7/9] Compiling _NumericsShims _NumericsShims.c
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/36] Compiling RealModule Float80+Real.swift
[11/36] Compiling RealModule Float16+Real.swift
[12/36] Compiling BigInt Karatsuba.swift
[13/37] Compiling RealModule AugmentedArithmetic.swift
[14/37] Compiling RealModule Double+Real.swift
[15/37] Compiling RealModule ElementaryFunctions.swift
[16/38] Emitting module UInt128
[17/38] Compiling UInt128 Common.swift
[18/38] Compiling UInt128 UInt128.swift
[19/38] Compiling UInt128 Int128.swift
[20/38] Emitting module RealModule
[21/38] Compiling RealModule Real.swift
[22/38] Compiling RealModule AlgebraicField.swift
[23/38] Compiling RealModule ApproximateEquality.swift
[24/39] Compiling RealModule Float+Real.swift
[26/39] Compiling RealModule RealFunctions.swift
[27/40] Compiling BigInt Factorial.swift
[28/40] Compiling BigInt GCD.swift
[30/40] Compiling BigInt ToomCook.swift
[31/40] Compiling BigInt BurnikelZiegler.swift
[32/40] Compiling BigInt CRT.swift
[33/40] Compiling BigInt ExpMod.swift
[34/40] Compiling BigInt FFT.swift
[35/45] Compiling BigInt Limbs.swift
[36/45] Compiling ComplexModule Complex.swift
[37/45] Compiling ComplexModule ElementaryFunctions.swift
[38/45] Compiling ComplexModule Arithmetic.swift
[39/45] Emitting module ComplexModule
[40/45] 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 |         }
[45/45] Compiling ComplexModule Differentiable.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
warning: 'spi-builder-workspace': found 4 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/Scanner.frame
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/Copyright.frame
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/Parser.frame
    /host/spi-builder-workspace/Sources/ExpressionParser/Support/exp.atg
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/28] Compiling RealModule ElementaryFunctions.swift
[3/29] Compiling RealModule Real.swift
[4/29] Compiling RealModule RealFunctions.swift
[5/29] Compiling RealModule Float80+Real.swift
[6/29] Compiling RealModule Float+Real.swift
[7/29] Compiling RealModule AugmentedArithmetic.swift
[8/29] Compiling RealModule Double+Real.swift
[9/29] Compiling RealModule AlgebraicField.swift
[10/29] Compiling RealModule ApproximateEquality.swift
[11/29] Compiling RealModule Float16+Real.swift
[12/29] Emitting module RealModule
[13/30] Compiling BigInt BurnikelZiegler.swift
[14/30] Compiling BigInt CRT.swift
[16/31] Compiling BigInt ExpMod.swift
[17/31] Compiling BigInt FFT.swift
[18/31] Compiling UInt128 Common.swift
[19/31] Compiling BigInt ToomCook.swift
[20/34] Compiling BigInt Factorial.swift
[21/34] Compiling BigInt GCD.swift
[22/36] Emitting module UInt128
[23/36] Compiling UInt128 UInt128.swift
[24/36] Compiling UInt128 Int128.swift
[26/37] Compiling BigInt Karatsuba.swift
[27/37] Compiling BigInt Limbs.swift
[28/37] Compiling ComplexModule Arithmetic.swift
[29/37] Compiling ComplexModule Differentiable.swift
[30/37] Compiling ComplexModule Complex.swift
[31/37] Compiling ComplexModule ElementaryFunctions.swift
[32/37] Emitting module ComplexModule
[34/38] 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 linux