The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Web3swift, reference 3.3.2 (b9c771), with Swift 6.4 for Linux on 23 Sep 2026 02:12:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/web3swift-team/web3swift.git
Reference: 3.3.2
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/web3swift-team/web3swift
 * tag               3.3.2      -> FETCH_HEAD
HEAD is now at b9c771b Merge branch 'develop'
Cloned https://github.com/web3swift-team/web3swift.git
Revision (git rev-parse @):
b9c771bf3b94983d2f9b22096b4a267a72c16006
SUCCESS checkout https://github.com/web3swift-team/web3swift.git at 3.3.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/web3swift-team/web3swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:17:10: warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
15 |         .package(url: "https://github.com/attaswift/BigInt.git", .upToNextMinor(from: "5.4.0")),
16 |         .package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.5.1"),
17 |         .package(name: "secp256k1", url: "https://github.com/GigaBitcoin/secp256k1.swift", .upToNextMinor(from: "0.10.0"))
   |          `- warning: 'package(name:url:_:)' is deprecated: use package(url:_:) instead [#DeprecatedDeclaration]
18 |     ],
19 |     targets: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/GigaBitcoin/secp256k1.swift
Fetching https://github.com/attaswift/BigInt.git
[1/4939] Fetching bigint
[51/18378] Fetching bigint, cryptoswift
[18379/29469] Fetching bigint, cryptoswift, secp256k1.swift
Fetched https://github.com/krzyzanowskim/CryptoSwift.git (1.03s)
[6381/16030] Fetching bigint, secp256k1.swift
Fetched https://github.com/attaswift/BigInt.git (1.45s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift (1.46s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.10.0 (2.52s)
Computing version for https://github.com/attaswift/BigInt.git
warning: 'bigint': /Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/attaswift/BigInt.git at 5.4.1 (0.16s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.10.0 (0.19s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.10.0
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift
Working copy of https://github.com/GigaBitcoin/secp256k1.swift resolved at 0.10.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.4.1
warning: 'bigint': /host/spi-builder-workspace/.build/checkouts/BigInt/Package.swift:18:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
16 |         .iOS(.v12),
17 |         .tvOS(.v12),
18 |         .watchOS(.v4),
   |                   `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
19 |         .macCatalyst(.v13),
20 |         .visionOS(.v1),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 244]
[Planning deferred tasks]
[61 / 98] secp256k1_bindings
[68 / 125] secp256k1
[69 / 125] secp256k1
[70 / 125] secp256k1_bindings
[77 / 125] secp256k1
[78 / 125] secp256k1
[88 / 125] secp256k1-product
[97 / 126] secp256k1
[99 / 126] secp256k1
[100 / 126] BigInt
[101 / 126] BigInt-product
[102 / 126] Web3Core
[103 / 126] CryptoSwift
[105 / 126] BigInt
[106 / 126]
[110 / 136] Web3Core
[112 / 136] Web3Core
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile SECP256k1.swift
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:28: error: cannot find 'SecRandomCopyBytes' in scope
345 |                 if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 |                     let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 |                     return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
    |                            `- error: cannot find 'SecRandomCopyBytes' in scope
348 |                 } else {
349 |                     return nil
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:347:47: error: cannot find 'kSecRandomDefault' in scope
345 |                 if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 |                     let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 |                     return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
    |                                               `- error: cannot find 'kSecRandomDefault' in scope
348 |                 } else {
349 |                     return nil
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:344:31: error: generic parameter 'ContentType' could not be inferred
342 |         for _ in 0...1024 {
343 |             var data = Data(repeating: 0, count: length)
344 |             let result = data.withUnsafeMutableBytes { mutableRBBytes -> Int32? in
    |                               `- error: generic parameter 'ContentType' could not be inferred
345 |                 if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
346 |                     let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
FoundationEssentials.Data.withUnsafeMutableBytes:3:24: note: in call to function 'withUnsafeMutableBytes'
1 | struct Data {
2 | @available(swift, deprecated: 5, message: "use `withUnsafeMutableBytes<R>(_: (UnsafeMutableRawBufferPointer) throws -> R) rethrows -> R` instead")
3 |   public mutating func withUnsafeMutableBytes<ResultType, ContentType>(_ body: (UnsafeMutablePointer<ContentType>) throws -> ResultType) rethrows -> ResultType}
  |                        `- note: in call to function 'withUnsafeMutableBytes'
4 |
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:345:55: error: value of type 'UnsafeMutablePointer<ContentType>' has no member 'baseAddress'
343 |             var data = Data(repeating: 0, count: length)
344 |             let result = data.withUnsafeMutableBytes { mutableRBBytes -> Int32? in
345 |                 if let mutableRBytes = mutableRBBytes.baseAddress, mutableRBBytes.count > 0 {
    |                                                       `- error: value of type 'UnsafeMutablePointer<ContentType>' has no member 'baseAddress'
346 |                     let mutableBytes = mutableRBytes.assumingMemoryBound(to: UInt8.self)
347 |                     return SecRandomCopyBytes(kSecRandomDefault, length, mutableBytes)
/host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift:352:41: error: cannot find 'errSecSuccess' in scope
350 |                 }
351 |             }
352 |             if let res = result, res == errSecSuccess {
    |                                         `- error: cannot find 'errSecSuccess' in scope
353 |                 return data
354 |             } else {
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Web3Core/Contract/ContractProtocol.swift /host/spi-builder-workspace/Sources/Web3Core/Contract/EthereumContract.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABI.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIDecoding.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIElements.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIEncoding.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIError.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIParameterTypes.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABIParsing.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/ABITypeParser.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumABI/Sequence+ABIExtension.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumAddress/EthereumAddress.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+ComputedProperties.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+Methods.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest+UtilityTypes.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Request/APIRequest.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/RequestParameter/APIRequestParameterType.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/RequestParameter/RequestParameter+Encodable.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/RequestParameter/RequestParameter+RawRepresentable.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/RequestParameter/RequestParameter.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/Async+BackwardCapability.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/HexDecodable+Extensions.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/HexDecodableProtocols.swift /host/spi-builder-workspace/Sources/Web3Core/EthereumNetwork/Utility/IntegerInitableWithRadix.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/AbstractKeystore.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32HDNode.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP32Keystore.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP39+WordLists.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP39.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/BIP44.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EthereumKeystoreV3.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/EtherscanTransactionChecker.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/IBAN.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/KeystoreManager.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/KeystoreParams.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/PathAddressStorage.swift /host/spi-builder-workspace/Sources/Web3Core/KeystoreManager/PlainKeystore.swift /host/spi-builder-workspace/Sources/Web3Core/Oracle/GasOracle.swift /host/spi-builder-workspace/Sources/Web3Core/RLP/RLP.swift /host/spi-builder-workspace/Sources/Web3Core/Structure/Base58.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/Block/Block.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/Block/BlockNumber.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/Event+Protocol.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/EventLog/EventLog.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/SECP256k1.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/Transaction/TransactionDetails.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/Transaction/TransactionInBlock.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/Transaction/TransactionReceipt.swift -primary-file /host/spi-builder-workspace/Sources/Web3Core/Structure/TxPool/TxPoolContent.swift /host/spi-builder-workspace/Sources/Web3Core/Structure/TxPool/TxPoolStatus.swift /host/spi-builder-workspace/Sources/Web3Core/Structure/Web3ProviderProtocol.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/CodableTransaction.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Envelope/AbstractEnvelope.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Envelope/EIP1559Envelope.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Envelope/EIP2718Envelope.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Envelope/EIP2930Envelope.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Envelope/EnvelopeFactory.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Envelope/LegacyEnvelope.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Envelope/Protocols/EIP2930Compatible.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/EthereumBloomFilter.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/EventfilterParameters.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/Policies.swift /host/spi-builder-workspace/Sources/Web3Core/Transaction/TransactionMetadata.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/Array+Extension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/BigUInt+Extension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/CryptoExtension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/Data+Extension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/Decodable+Extensions.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/Dictionary+Extension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/Encodable+Extensions.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/NSRegularExpression+Extension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/NativeTypesEncoding+Extension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/RIPEMD160+StackOveflow.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/String+Extension.swift /host/spi-builder-workspace/Sources/Web3Core/Utility/Utilities.swift /host/spi-builder-workspace/Sources/Web3Core/Web3Error/Web3Error.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/supplementaryOutputs-24 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-linux-x86_64/secp256k1_bindings.modulemap -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1_bindings/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Web3Core -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/Web3Core_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/Block.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/BlockNumber.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/Event+Protocol.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/EventLog.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/SECP256k1.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TransactionDetails.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TransactionInBlock.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TransactionReceipt.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TxPoolContent.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/Block.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/BlockNumber.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/Event+Protocol.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/EventLog.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/SECP256k1.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TransactionDetails.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TransactionInBlock.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TransactionReceipt.o -index-unit-output-path /Web3swift.build/Debug-linux-x86_64/Web3Core-t.build/Objects-normal/x86_64/TxPoolContent.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux