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.0 for Linux on 6 Nov 2024 12:48:56 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
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.0
Building package at path:  $PWD
https://github.com/mgriebling/ExpressionParser.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/mgriebling/BigDecimal.git
[1/5879] Fetching bigdecimal
Fetched https://github.com/mgriebling/BigDecimal.git from cache (1.03s)
Computing version for https://github.com/mgriebling/BigDecimal.git
Computed https://github.com/mgriebling/BigDecimal.git at 3.0.2 (0.72s)
Fetching https://github.com/mgriebling/BigInt.git
Fetching https://github.com/mgriebling/UInt128.git
Fetching https://github.com/apple/swift-numerics
[1/1584] Fetching uint128
[271/7858] Fetching uint128, bigint
Fetched https://github.com/mgriebling/UInt128.git from cache (0.67s)
[2761/6274] Fetching bigint
Fetched https://github.com/mgriebling/BigInt.git from cache (1.38s)
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics from cache (2.78s)
Computing version for https://github.com/mgriebling/UInt128.git
Computed https://github.com/mgriebling/UInt128.git at 3.2.0 (3.26s)
Computing version for https://github.com/apple/swift-numerics
Computed https://github.com/apple/swift-numerics at 1.0.2 (0.90s)
Computing version for https://github.com/mgriebling/BigInt.git
Computed https://github.com/mgriebling/BigInt.git at 2.2.4 (0.77s)
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.2
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/BigInt.git
Working copy of https://github.com/mgriebling/BigInt.git resolved at 2.2.4
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 BigInt Karatsuba.swift
[11/37] Emitting module UInt128
[12/37] Compiling RealModule Float80+Real.swift
[13/38] Compiling BigInt ExpMod.swift
[14/38] Compiling BigInt FFT.swift
[15/38] Compiling RealModule ElementaryFunctions.swift
[16/38] Compiling RealModule Float+Real.swift
[17/38] Compiling BigInt Factorial.swift
[18/38] Compiling BigInt GCD.swift
[19/38] Compiling BigInt BurnikelZiegler.swift
[20/38] Compiling BigInt BigFrac.swift
[21/38] Compiling BigInt CRT.swift
[22/38] Compiling BigInt BigInt-Extensions.swift
[23/38] Compiling BigInt Limbs.swift
[26/38] Emitting module RealModule
[27/38] Compiling RealModule Real.swift
[28/38] Compiling RealModule Float16+Real.swift
[29/38] Compiling UInt128 UInt128.swift
[30/38] Compiling UInt128 Int128.swift
[31/38] Compiling UInt128 Common.swift
[32/38] Compiling RealModule RealFunctions.swift
[33/40] Compiling BigInt ToomCook.swift
[36/45] Compiling ComplexModule Arithmetic.swift
[37/45] Compiling ComplexModule ElementaryFunctions.swift
[40/45] Emitting module BigInt
[41/45] Compiling BigInt BigInt.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:15: error: cannot find 'SecRandomCopyBytes' in scope
1693 |
1694 |     static internal func randomBytes(_ bytes: inout Bytes) {
1695 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1696 |             fatalError("randomBytes failed")
1697 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:34: error: cannot find 'kSecRandomDefault' in scope
1693 |
1694 |     static internal func randomBytes(_ bytes: inout Bytes) {
1695 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1696 |             fatalError("randomBytes failed")
1697 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:77: error: cannot find 'errSecSuccess' in scope
1693 |
1694 |     static internal func randomBytes(_ bytes: inout Bytes) {
1695 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1696 |             fatalError("randomBytes failed")
1697 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1702 |             fatalError("randomLimbs failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1702 |             fatalError("randomLimbs failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:81: error: cannot find 'errSecSuccess' in scope
1699 |
1700 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1702 |             fatalError("randomLimbs failed")
1703 |         }
[42/45] Compiling BigInt BitSieve.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:15: error: cannot find 'SecRandomCopyBytes' in scope
1693 |
1694 |     static internal func randomBytes(_ bytes: inout Bytes) {
1695 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1696 |             fatalError("randomBytes failed")
1697 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:34: error: cannot find 'kSecRandomDefault' in scope
1693 |
1694 |     static internal func randomBytes(_ bytes: inout Bytes) {
1695 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1696 |             fatalError("randomBytes failed")
1697 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1695:77: error: cannot find 'errSecSuccess' in scope
1693 |
1694 |     static internal func randomBytes(_ bytes: inout Bytes) {
1695 |         guard SecRandomCopyBytes(kSecRandomDefault, bytes.count, &bytes) == errSecSuccess else {
     |                                                                             `- error: cannot find 'errSecSuccess' in scope
1696 |             fatalError("randomBytes failed")
1697 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:15: error: cannot find 'SecRandomCopyBytes' in scope
1699 |
1700 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |               `- error: cannot find 'SecRandomCopyBytes' in scope
1702 |             fatalError("randomLimbs failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:34: error: cannot find 'kSecRandomDefault' in scope
1699 |
1700 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                  `- error: cannot find 'kSecRandomDefault' in scope
1702 |             fatalError("randomLimbs failed")
1703 |         }
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/BigInt/BigInt.swift:1701:81: error: cannot find 'errSecSuccess' in scope
1699 |
1700 |     static internal func randomLimbs(_ limbs: inout Limbs) {
1701 |         guard SecRandomCopyBytes(kSecRandomDefault, 8 * limbs.count, &limbs) == errSecSuccess else {
     |                                                                                 `- error: cannot find 'errSecSuccess' in scope
1702 |             fatalError("randomLimbs failed")
1703 |         }
[43/45] Compiling ComplexModule Complex.swift
[44/45] Emitting module ComplexModule
BUILD FAILURE 6.0 linux