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 macOS (SPM) on 15 Sep 2024 14:32:40 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.53.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/push-protocol/push-swift-sdk.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/push-protocol/push-swift-sdk.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/13] Write sources
[0/13] Copying browser.min.js
[0/13] Copying wk.bridge.min.js
[0/13] Copying browser.js
[10/13] Copying ObjectivePGP.framework
[11/13] Write swift-version-117DEE11B69C53C9.txt
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/web3swift/Sources/secp256k1/secp256k1.c:12:
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/web3swift/Sources/secp256k1/scalar_impl.h:18:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/web3swift/Sources/secp256k1/scalar_4x64_impl.h:43:13: error: use of undeclared identifier 'uint'
   43 |     return (uint)(a->d[offset >> 6] >> (offset & 0x3F)) & ((((uint64_t)1) << count) - 1);
      |             ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/web3swift/Sources/secp256k1/scalar_4x64_impl.h:53:17: error: use of undeclared identifier 'uint'
   53 |         return (uint)((a->d[offset >> 6] >> (offset & 0x3F)) | (a->d[(offset >> 6) + 1] << (64 - (offset & 0x3F)))) & ((((uint64_t)1) << count) - 1);
      |                 ^
2 errors generated.
[12/145] Compiling secp256k1 secp256k1.c
Fetching https://github.com/web3swift-team/web3swift.git
Fetching https://github.com/krzyzanowskim/ObjectivePGP.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/socketio/socket.io-client-swift.git
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/attaswift/BigInt.git
[1/4706] Fetching bigint
[96/9574] Fetching bigint, starscream
[194/20791] Fetching bigint, starscream, socket.io-client-swift
[195/33494] Fetching bigint, starscream, socket.io-client-swift, cryptoswift
[391/63797] Fetching bigint, starscream, socket.io-client-swift, cryptoswift, web3swift
[1894/75286] Fetching bigint, starscream, socket.io-client-swift, cryptoswift, web3swift, objectivepgp
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.05s)
[37438/62583] Fetching bigint, starscream, socket.io-client-swift, web3swift, objectivepgp
Fetched https://github.com/attaswift/BigInt.git from cache (10.30s)
Fetched https://github.com/socketio/socket.io-client-swift.git from cache (10.30s)
Fetched https://github.com/web3swift-team/web3swift.git from cache (10.30s)
Fetched https://github.com/daltoniam/Starscream from cache (10.30s)
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git from cache (10.30s)
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.0 (3.18s)
Computing version for https://github.com/web3swift-team/web3swift.git
Computed https://github.com/web3swift-team/web3swift.git at 3.1.2 (0.65s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.65s)
Computing version for https://github.com/krzyzanowskim/ObjectivePGP.git
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (0.65s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.65s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.65s)
Creating working copy for https://github.com/krzyzanowskim/ObjectivePGP.git
Working copy of https://github.com/krzyzanowskim/ObjectivePGP.git resolved at 0.99.4
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.5.1
Creating working copy for https://github.com/web3swift-team/web3swift.git
Working copy of https://github.com/web3swift-team/web3swift.git resolved at 3.1.2
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/socketio/socket.io-client-swift.git
Working copy of https://github.com/socketio/socket.io-client-swift.git resolved at 16.1.0
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.6
BUILD FAILURE 6.0 macosSpm