Build Information
Failed to build Push, reference main (ec9a74
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 14:20:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.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.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 /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
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/socketio/socket.io-client-swift.git
Fetching https://github.com/krzyzanowskim/ObjectivePGP.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/web3swift-team/web3swift.git
Fetching https://github.com/daltoniam/Starscream
[1/4732] Fetching bigint
[49/9634] Fetching bigint, starscream
[50/22337] Fetching bigint, starscream, cryptoswift
[345/52704] Fetching bigint, starscream, cryptoswift, web3swift
[346/63940] Fetching bigint, starscream, cryptoswift, web3swift, socket.io-client-swift
[5177/75438] Fetching bigint, starscream, cryptoswift, web3swift, socket.io-client-swift, objectivepgp
Fetched https://github.com/attaswift/BigInt.git from cache (124.32s)
Fetched https://github.com/web3swift-team/web3swift.git from cache (124.32s)
Fetched https://github.com/daltoniam/Starscream from cache (124.32s)
Fetched https://github.com/socketio/socket.io-client-swift.git from cache (124.33s)
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git from cache (124.33s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (124.33s)
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.79s)
Computing version for https://github.com/web3swift-team/web3swift.git
Computed https://github.com/web3swift-team/web3swift.git at 3.1.2 (0.70s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.67s)
Computing version for https://github.com/krzyzanowskim/ObjectivePGP.git
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (0.72s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.6 (0.66s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.66s)
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/krzyzanowskim/ObjectivePGP.git
Working copy of https://github.com/krzyzanowskim/ObjectivePGP.git resolved at 0.99.4
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/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.6
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/socketio/socket.io-client-swift.git
Working copy of https://github.com/socketio/socket.io-client-swift.git resolved at 16.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "push-swift-sdk",
"name": "Push",
"url": "https://github.com/push-protocol/push-swift-sdk.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/push-swift-sdk",
"dependencies": [
{
"identity": "objectivepgp",
"name": "ObjectivePGP",
"url": "https://github.com/krzyzanowskim/ObjectivePGP.git",
"version": "0.99.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ObjectivePGP",
"dependencies": [
]
},
{
"identity": "cryptoswift",
"name": "CryptoSwift",
"url": "https://github.com/krzyzanowskim/CryptoSwift.git",
"version": "1.5.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"dependencies": [
]
},
{
"identity": "web3swift",
"name": "Web3swift",
"url": "https://github.com/web3swift-team/web3swift.git",
"version": "3.2.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/web3swift",
"dependencies": [
{
"identity": "bigint",
"name": "BigInt",
"url": "https://github.com/attaswift/BigInt.git",
"version": "5.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/BigInt",
"dependencies": [
]
},
{
"identity": "cryptoswift",
"name": "CryptoSwift",
"url": "https://github.com/krzyzanowskim/CryptoSwift.git",
"version": "1.5.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CryptoSwift",
"dependencies": [
]
}
]
},
{
"identity": "socket.io-client-swift",
"name": "SocketIO",
"url": "https://github.com/socketio/socket.io-client-swift.git",
"version": "16.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/socket.io-client-swift",
"dependencies": [
{
"identity": "starscream",
"name": "Starscream",
"url": "https://github.com/daltoniam/Starscream",
"version": "4.0.8",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Starscream",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/push-protocol/push-swift-sdk.git
[1/1431] Fetching push-swift-sdk
Fetched https://github.com/push-protocol/push-swift-sdk.git from cache (0.99s)
Fetching https://github.com/krzyzanowskim/CryptoSwift.git from cache
Fetching https://github.com/web3swift-team/web3swift.git from cache
Fetching https://github.com/socketio/socket.io-client-swift.git from cache
Fetching https://github.com/krzyzanowskim/ObjectivePGP.git from cache
Fetched https://github.com/socketio/socket.io-client-swift.git from cache (0.59s)
Fetched https://github.com/web3swift-team/web3swift.git from cache (0.59s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (0.59s)
Fetched https://github.com/krzyzanowskim/ObjectivePGP.git from cache (0.59s)
Computing version for https://github.com/krzyzanowskim/ObjectivePGP.git
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (0.02s)
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.67s)
Fetching https://github.com/daltoniam/Starscream from cache
Fetched https://github.com/daltoniam/Starscream from cache (0.57s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.68s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.3 (0.64s)
Computing version for https://github.com/web3swift-team/web3swift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.5.1 (0.02s)
Computed https://github.com/krzyzanowskim/ObjectivePGP.git at 0.99.4 (0.00s)
Computed https://github.com/socketio/socket.io-client-swift.git at 16.1.1 (0.00s)
Computed https://github.com/daltoniam/Starscream at 4.0.8 (0.00s)
Computed https://github.com/web3swift-team/web3swift.git at 3.2.2 (0.00s)
Fetching https://github.com/attaswift/BigInt.git from cache
Fetched https://github.com/attaswift/BigInt.git from cache (0.46s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.02s)
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/push-protocol/push-swift-sdk.git
Working copy of https://github.com/push-protocol/push-swift-sdk.git resolved at main (ec9a74d)
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/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 4.0.8
Creating working copy for https://github.com/web3swift-team/web3swift.git
Working copy of https://github.com/web3swift-team/web3swift.git resolved at 3.2.2
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.1
Creating working copy for https://github.com/krzyzanowskim/ObjectivePGP.git
Working copy of https://github.com/krzyzanowskim/ObjectivePGP.git resolved at 0.99.4
warning: '.resolve-product-dependencies': dependency 'push-swift-sdk' is not used by any target
Found 4 product dependencies
- ObjectivePGP
- CryptoSwift
- Web3swift
- SocketIO
========================================
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.1.0.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 wk.bridge.min.js
[0/13] Copying browser.min.js
[0/13] Copying browser.js
[10/13] Copying ObjectivePGP.framework
[11/13] Write swift-version--7754E27361AE5C74.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
BUILD FAILURE 6.0 macosSpm