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 SwiftCurrent, reference 5.1.12 (ec91f6), with Swift 6.0 for Linux on 2 Nov 2024 20:03:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/wwt/SwiftCurrent.git
Reference: 5.1.12
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/wwt/SwiftCurrent
 * tag               5.1.12     -> FETCH_HEAD
HEAD is now at ec91f63 [ci skip] Apply automatic changes
Cloned https://github.com/wwt/SwiftCurrent.git
Revision (git rev-parse @):
ec91f6355a5041ebe15d5e6a068bf7562b1ae20d
SUCCESS checkout https://github.com/wwt/SwiftCurrent.git at 5.1.12
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/wwt/SwiftCurrent.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/apple/swift-algorithms
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/nalexn/ViewInspector.git
Fetching https://github.com/sindresorhus/ExceptionCatcher
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/apple/swift-syntax.git
[1/455] Fetching cwlcatchexception
[456/524] Fetching cwlcatchexception, exceptioncatcher
[525/12667] Fetching cwlcatchexception, exceptioncatcher, viewinspector
[890/18230] Fetching cwlcatchexception, exceptioncatcher, viewinspector, swift-algorithms
Fetched https://github.com/apple/swift-algorithms from cache (0.42s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetched https://github.com/sindresorhus/ExceptionCatcher from cache (0.53s)
Fetched https://github.com/nalexn/ViewInspector.git from cache (0.53s)
[1/12353] Fetching swift-argument-parser
[249/13610] Fetching swift-argument-parser, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.19s)
[5436/12353] Fetching swift-argument-parser
[12354/78752] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.88s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.89s)
[7968/66399] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git from cache (4.06s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50600.1 (0.74s)
Computing version for https://github.com/sindresorhus/ExceptionCatcher
Computed https://github.com/sindresorhus/ExceptionCatcher at 2.0.1 (0.49s)
Computing version for https://github.com/apple/swift-algorithms
Computed https://github.com/apple/swift-algorithms at 1.2.0 (0.47s)
Fetching https://github.com/apple/swift-numerics.git
[1/5576] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.37s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.2 (0.47s)
Computing version for https://github.com/nalexn/ViewInspector.git
Computed https://github.com/nalexn/ViewInspector.git at 0.10.0 (0.43s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.49s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.47s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/sindresorhus/ExceptionCatcher
Working copy of https://github.com/sindresorhus/ExceptionCatcher resolved at 2.0.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50600.1
Creating working copy for https://github.com/apple/swift-algorithms
Working copy of https://github.com/apple/swift-algorithms resolved at 1.2.0
Creating working copy for https://github.com/nalexn/ViewInspector.git
Working copy of https://github.com/nalexn/ViewInspector.git resolved at 0.10.0
warning: 'swift-algorithms': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/swift-algorithms/Sources/Algorithms/Documentation.docc
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/25] Write sources
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/NSObjectLoadable.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/25] Compiling SwiftCurrent_Testing_ObjC NSObjectLoadable.m
[10/25] Compiling atomic-counter.c
/host/spi-builder-workspace/Sources/SwiftCurrent_Testing_ObjC/XCTestHooks.m:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[10/25] Compiling SwiftCurrent_Testing_ObjC XCTestHooks.m
[10/25] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux