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 GatheredKit, reference v0.2.0 (ed2b33), with Swift 6.0 for Linux on 2 Nov 2024 20:33:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/JosephDuffy/GatheredKit.git
Reference: v0.2.0
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/JosephDuffy/GatheredKit
 * tag               v0.2.0     -> FETCH_HEAD
HEAD is now at ed2b330 Add Swift Package Index manifest file
Cloned https://github.com/JosephDuffy/GatheredKit.git
Revision (git rev-parse @):
ed2b33049017e5d3c60e18a700a104647a683751
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/JosephDuffy/GatheredKit.git at v0.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/JosephDuffy/GatheredKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.sZYc04/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.5.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.17x6gD/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:66:6: error: 'package(url:exact:)' is unavailable
64 | #if swift(>=5.6)
65 | package.dependencies.append(
66 |     .package(url: "https://github.com/apple/swift-docc-plugin", exact: "1.0.0")
   |      `- error: 'package(url:exact:)' is unavailable
67 | )
68 | #endif
PackageDescription.Package.Dependency:20:24: note: 'package(url:exact:)' was introduced in PackageDescription 5.6
18 |     public static func package(name: String, url: String, _ range: ClosedRange<Version>) -> Package.Dependency
19 |     @available(_PackageDescription 5.6)
20 |     public static func package(url: String, exact version: Version) -> Package.Dependency
   |                        `- note: 'package(url:exact:)' was introduced in PackageDescription 5.6
21 |     @available(_PackageDescription, deprecated: 5.6, message: "use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')")
22 |     public static func package(url: String, _ requirement: Package.Dependency.Requirement) -> Package.Dependency
error: 'spi-builder-workspace': Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.Dr7xDQ/vfs.yaml", "-L", "/usr/lib/swift/pm/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/usr/lib/swift/pm/ManifestAPI", "-swift-version", "5", "-I", "/usr/lib/swift/pm/ManifestAPI", "-package-description-version", "5.5.0", "/host/spi-builder-workspace/Package.swift", "-o", "/tmp/TemporaryDirectory.QE4Stx/spi-builder-workspace-manifest"])
/host/spi-builder-workspace/Package.swift:66:6: error: 'package(url:exact:)' is unavailable
64 | #if swift(>=5.6)
65 | package.dependencies.append(
66 |     .package(url: "https://github.com/apple/swift-docc-plugin", exact: "1.0.0")
   |      `- error: 'package(url:exact:)' is unavailable
67 | )
68 | #endif
PackageDescription.Package.Dependency:20:24: note: 'package(url:exact:)' was introduced in PackageDescription 5.6
18 |     public static func package(name: String, url: String, _ range: ClosedRange<Version>) -> Package.Dependency
19 |     @available(_PackageDescription 5.6)
20 |     public static func package(url: String, exact version: Version) -> Package.Dependency
   |                        `- note: 'package(url:exact:)' was introduced in PackageDescription 5.6
21 |     @available(_PackageDescription, deprecated: 5.6, message: "use specific requirement APIs instead (e.g. use 'branch:' instead of '.branch')")
22 |     public static func package(url: String, _ requirement: Package.Dependency.Requirement) -> Package.Dependency
BUILD FAILURE 6.0 linux