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 Push, reference main (ec9a74), with Swift 6.0 for Linux on 4 Nov 2024 14:11:27 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.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/push-protocol/push-swift-sdk.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/push-protocol/push-swift-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ec9a74d Push stream (#39)
Cloned https://github.com/push-protocol/push-swift-sdk.git
Revision (git rev-parse @):
ec9a74d69c6962e720f7b2f8af6858e268d2c18a
SUCCESS checkout https://github.com/push-protocol/push-swift-sdk.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/push-protocol/push-swift-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/krzyzanowskim/ObjectivePGP.git
Fetching https://github.com/web3swift-team/web3swift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/socketio/socket.io-client-swift.git
[1/11236] Fetching socket.io-client-swift
[1350/23939] Fetching socket.io-client-swift, cryptoswift
[5728/54306] Fetching socket.io-client-swift, cryptoswift, web3swift
[17218/65804] Fetching socket.io-client-swift, cryptoswift, web3swift, objectivepgp
Fetched https://github.com/socketio/socket.io-client-swift.git from cache (0.64s)
[14360/54568] Fetching cryptoswift, web3swift, objectivepgp
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (1.57s)
[17670/41865] Fetching web3swift, objectivepgp
Fetched https://github.com/web3swift-team/web3swift.git from cache (3.95s)
[4487/11498] Fetching objectivepgp
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git from cache (15.22s)
Computing version for https://github.com/krzyzanowskim/ObjectivePGP.git
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (1.94s)
Computing version for https://github.com/socketio/socket.io-client-swift.git
Computed https://github.com/socketio/socket.io-client-swift.git at 16.1.1 (0.82s)
Fetching https://github.com/daltoniam/Starscream
[1/4902] Fetching starscream
Fetched https://github.com/daltoniam/Starscream from cache (0.47s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.58s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.59s)
Computing version for https://github.com/web3swift-team/web3swift.git
error: Invalid manifest (compiled with: ["/usr/bin/swiftc", "-vfsoverlay", "/tmp/TemporaryDirectory.nOOYcd/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", "/Package.swift", "-o", "/tmp/TemporaryDirectory.Y0Z5e2/web3swift-manifest"])
/Package.swift:36:22: error: cannot find 'excludeFiles' in scope
34 |             name: "web3swift",
35 |             dependencies: ["Core", "BigInt", "secp256k1"],
36 |             exclude: excludeFiles,
   |                      `- error: cannot find 'excludeFiles' in scope
37 |             resources: [
38 |                 .copy("./Browser/browser.js"), in https://github.com/web3swift-team/web3swift.git
BUILD FAILURE 6.0 linux