The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WalletConnect, reference master (128765), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 10:37:08 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leixjin/WC-Swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/leixjin/WC-Swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 1287653 添加依赖
Cloned https://github.com/leixjin/WC-Swift.git
Revision (git rev-parse @):
1287653d1cd853e4d53b86ca94147a9331e18d02
SUCCESS checkout https://github.com/leixjin/WC-Swift.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/leixjin/WC-Swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/6] Write sources
[1/6] Copying PrivacyInfo.xcprivacy
[1/6] Write sources
[5/6] Write swift-version-1EA4D86E10B52AF.txt
[7/132] Compiling PromiseKit race.swift
[8/133] Compiling CryptoSwift Shifts.swift
[9/133] Compiling CryptoSwift SquareRoot.swift
[10/133] Compiling CryptoSwift Cryptor.swift
[11/133] Compiling CryptoSwift Cryptors.swift
[12/133] Compiling CryptoSwift Digest.swift
[13/133] Compiling CryptoSwift DigestType.swift
[14/133] Compiling CryptoSwift AES+Foundation.swift
[15/133] Compiling CryptoSwift Array+Foundation.swift
[16/133] Compiling CryptoSwift Blowfish+Foundation.swift
[17/133] Compiling CryptoSwift ChaCha20+Foundation.swift
[18/133] Compiling CryptoSwift Data+Extension.swift
[19/133] Compiling CryptoSwift HMAC+Foundation.swift
[20/133] Compiling CryptoSwift Rabbit+Foundation.swift
[21/144] Emitting module PromiseKit
[22/144] Compiling CryptoSwift CFB.swift
[23/144] Compiling CryptoSwift CTR.swift
[24/144] Compiling CryptoSwift CipherModeWorker.swift
[25/144] Compiling CryptoSwift ECB.swift
[26/144] Compiling CryptoSwift CBC.swift
[27/144] Compiling CryptoSwift CCM.swift
[28/144] Compiling CryptoSwift BlockMode.swift
[29/144] Compiling CryptoSwift BlockModeOptions.swift
[30/144] Compiling CryptoSwift Bit.swift
[31/144] Compiling CryptoSwift BlockCipher.swift
[32/144] Compiling PromiseKit hang.swift
[33/144] Compiling CryptoSwift BlockDecryptor.swift
[34/144] Compiling CryptoSwift BlockEncryptor.swift
[35/144] Compiling PromiseKit when.swift
[36/144] Compiling Starscream SSLClientCertificate.swift
[37/144] Compiling Starscream WebSocket.swift
[38/144] Compiling Starscream Compression.swift
[39/144] Compiling Starscream SSLSecurity.swift
[40/144] Emitting module Starscream
[43/144] Compiling CryptoSwift Strideable.swift
[44/144] Compiling CryptoSwift StringConversion.swift
[45/144] Compiling CryptoSwift Subtraction.swift
[46/144] Compiling CryptoSwift WordsAndBits.swift
[47/144] Compiling CryptoSwift ChaCha20.swift
[48/144] Compiling CryptoSwift Checksum.swift
[49/144] Compiling CryptoSwift Cipher.swift
[50/144] Compiling CryptoSwift Collection+Extension.swift
[51/144] Compiling CryptoSwift CompactMap.swift
[52/144] Compiling CryptoSwift Codable.swift
[53/144] Compiling CryptoSwift Comparable.swift
[54/144] Compiling CryptoSwift DataConversion.swift
[55/144] Compiling CryptoSwift Division.swift
[56/144] Compiling CryptoSwift Exponentiation.swift
[57/144] Compiling CryptoSwift FloatingPointConversion.swift
[58/144] Compiling CryptoSwift GCD.swift
[59/144] Compiling CryptoSwift Hashable.swift
[60/144] Compiling CryptoSwift IntegerConversion.swift
[61/144] Compiling CryptoSwift Multiplication.swift
[62/144] Compiling CryptoSwift PrimeTest.swift
[63/144] Compiling CryptoSwift Random.swift
[64/144] Compiling CryptoSwift GCM.swift
[65/144] Compiling CryptoSwift OCB.swift
[66/144] Compiling CryptoSwift OFB.swift
[67/144] Compiling CryptoSwift PCBC.swift
[68/144] Compiling CryptoSwift Blowfish.swift
[69/144] Compiling CryptoSwift CBCMAC.swift
[70/144] Compiling CryptoSwift CMAC.swift
[71/144] Compiling CryptoSwift Addition.swift
[72/144] Compiling CryptoSwift BigInt.swift
[73/144] Compiling CryptoSwift BigUInt.swift
[74/144] Compiling CryptoSwift BitwiseOps.swift
[75/144] Compiling CryptoSwift CS.swift
[88/144] Emitting module CryptoSwift
[89/144] Compiling CryptoSwift AEAD.swift
[90/144] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[91/144] Compiling CryptoSwift AEADXChaCha20Poly1305.swift
[92/144] Compiling CryptoSwift AES.Cryptors.swift
[93/144] Compiling CryptoSwift AES.swift
[94/144] Compiling CryptoSwift ASN1.swift
[95/144] Compiling CryptoSwift ASN1Decoder.swift
[96/144] Compiling CryptoSwift ASN1Encoder.swift
[97/144] Compiling CryptoSwift ASN1Scanner.swift
[98/144] Compiling CryptoSwift Array+Extension.swift
[99/144] Compiling CryptoSwift Authenticator.swift
[100/144] Compiling CryptoSwift BatchedCollection.swift
[101/144] Compiling CryptoSwift String+Extension.swift
[102/144] Compiling CryptoSwift UInt128.swift
[103/144] Compiling CryptoSwift UInt16+Extension.swift
[104/144] Compiling CryptoSwift UInt32+Extension.swift
[105/144] Compiling CryptoSwift UInt64+Extension.swift
[106/144] Compiling CryptoSwift UInt8+Extension.swift
[107/144] Compiling CryptoSwift Updatable.swift
[108/144] Compiling CryptoSwift Utils.swift
[109/144] Compiling CryptoSwift XChaCha20.swift
[110/144] Compiling CryptoSwift ZeroPadding.swift
[111/144] Compiling CryptoSwift resource_bundle_accessor.swift
[112/144] Compiling CryptoSwift Operators.swift
[113/144] Compiling CryptoSwift DER.swift
[114/144] Compiling CryptoSwift PBKDF1.swift
[115/144] Compiling CryptoSwift PBKDF2.swift
[116/144] Compiling CryptoSwift PKCS1v15.swift
[117/144] Compiling CryptoSwift PKCS5.swift
[118/144] Compiling CryptoSwift PKCS7.swift
[119/144] Compiling CryptoSwift PKCS7Padding.swift
[120/144] Compiling CryptoSwift Padding.swift
[121/144] Compiling CryptoSwift Poly1305.swift
[122/144] Compiling CryptoSwift RSA+Cipher.swift
[123/144] Compiling CryptoSwift String+FoundationExtension.swift
[124/144] Compiling CryptoSwift Utils+Foundation.swift
[125/144] Compiling CryptoSwift XChaCha20+Foundation.swift
[126/144] Compiling CryptoSwift Generics.swift
[127/144] Compiling CryptoSwift HKDF.swift
[128/144] Compiling CryptoSwift HMAC.swift
[129/144] Compiling CryptoSwift ISO10126Padding.swift
[130/144] Compiling CryptoSwift ISO78164Padding.swift
[131/144] Compiling CryptoSwift Int+Extension.swift
[132/144] Compiling CryptoSwift MD5.swift
[133/144] Compiling CryptoSwift NoPadding.swift
[134/144] Compiling CryptoSwift RSA+Signature.swift
[135/144] Compiling CryptoSwift RSA.swift
[136/144] Compiling CryptoSwift Rabbit.swift
[137/144] Compiling CryptoSwift SHA1.swift
[138/144] Compiling CryptoSwift SHA2.swift
[139/144] Compiling CryptoSwift SHA3.swift
[140/144] Compiling CryptoSwift Scrypt.swift
[141/144] Compiling CryptoSwift SecureBytes.swift
[142/144] Compiling CryptoSwift Signature.swift
[143/144] Compiling CryptoSwift StreamDecryptor.swift
[144/144] Compiling CryptoSwift StreamEncryptor.swift
[145/169] Emitting module WalletConnect
[146/171] Compiling WalletConnect WCEncryptor.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/WCEncryptor.swift:47:54: warning: 'sha256' is deprecated: Use sha2(variant) instead. [#DeprecatedDeclaration]
45 |
46 |         let data = payloadBytes + ivBytes
47 |         let hmacBytes = try HMAC(key: key, variant: .sha256).authenticate(data.bytes)
   |                                                      `- warning: 'sha256' is deprecated: Use sha2(variant) instead. [#DeprecatedDeclaration]
48 |         let hmac = Data(hmacBytes).hex
49 |         return hmac
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[147/171] Compiling WalletConnect WCError.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/WCEncryptor.swift:47:54: warning: 'sha256' is deprecated: Use sha2(variant) instead. [#DeprecatedDeclaration]
45 |
46 |         let data = payloadBytes + ivBytes
47 |         let hmacBytes = try HMAC(key: key, variant: .sha256).authenticate(data.bytes)
   |                                                      `- warning: 'sha256' is deprecated: Use sha2(variant) instead. [#DeprecatedDeclaration]
48 |         let hmac = Data(hmacBytes).hex
49 |         return hmac
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[148/171] Compiling WalletConnect WCBinanceTradePair.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/Models/Ethereum/AnyDecodable.swift:45:25: error: cannot find 'NSNull' in scope
43 |                 value = stringVal
44 |             } else if container.decodeNil() {
45 |                 value = NSNull()
   |                         `- error: cannot find 'NSNull' in scope
46 |             } else {
47 |                 throw DecodingError.dataCorruptedError(in: container, debugDescription: "the container contains nothing decodable")
[149/171] Compiling WalletConnect WCBinanceTransferOrder.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/Models/Ethereum/AnyDecodable.swift:45:25: error: cannot find 'NSNull' in scope
43 |                 value = stringVal
44 |             } else if container.decodeNil() {
45 |                 value = NSNull()
   |                         `- error: cannot find 'NSNull' in scope
46 |             } else {
47 |                 throw DecodingError.dataCorruptedError(in: container, debugDescription: "the container contains nothing decodable")
[150/171] Compiling WalletConnect AnyDecodable.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/Models/Ethereum/AnyDecodable.swift:45:25: error: cannot find 'NSNull' in scope
43 |                 value = stringVal
44 |             } else if container.decodeNil() {
45 |                 value = NSNull()
   |                         `- error: cannot find 'NSNull' in scope
46 |             } else {
47 |                 throw DecodingError.dataCorruptedError(in: container, debugDescription: "the container contains nothing decodable")
[151/171] Compiling WalletConnect WCBinanceCancelOrder.swift
[152/171] Compiling WalletConnect WCBinanceOrder.swift
[153/171] Compiling WalletConnect WCBinanceTradeOrder.swift
[154/171] Compiling WalletConnect Data+Hex.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
16 | struct JSONRPCRequest<T: Codable>: Codable {
17 |     let id: Int64
18 |     let jsonrpc = JSONRPCVersion
   |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
   |         `- note: make the property mutable instead
19 |     let method: String
20 |     let params: T
/Users/admin/builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 |
41 | struct JSONRPCErrorResponse: Codable {
42 |     let jsonrpc = JSONRPCVersion
   |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
   |         `- note: make the property mutable instead
43 |     let id: Int64
44 |     let error: JSONRPCError
[155/171] Compiling WalletConnect Encodable+Extension.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
16 | struct JSONRPCRequest<T: Codable>: Codable {
17 |     let id: Int64
18 |     let jsonrpc = JSONRPCVersion
   |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
   |         `- note: make the property mutable instead
19 |     let method: String
20 |     let params: T
/Users/admin/builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 |
41 | struct JSONRPCErrorResponse: Codable {
42 |     let jsonrpc = JSONRPCVersion
   |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
   |         `- note: make the property mutable instead
43 |     let id: Int64
44 |     let error: JSONRPCError
[156/171] Compiling WalletConnect JSONRPC.swift
/Users/admin/builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
16 | struct JSONRPCRequest<T: Codable>: Codable {
17 |     let id: Int64
18 |     let jsonrpc = JSONRPCVersion
   |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
   |         `- note: make the property mutable instead
19 |     let method: String
20 |     let params: T
/Users/admin/builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
40 |
41 | struct JSONRPCErrorResponse: Codable {
42 |     let jsonrpc = JSONRPCVersion
   |         |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
   |         |- note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
   |         `- note: make the property mutable instead
43 |     let id: Int64
44 |     let error: JSONRPCError
[157/171] Compiling WalletConnect WCTrustTransaction.swift
[158/171] Compiling WalletConnect WCEvent.swift
[159/171] Compiling WalletConnect WCPeerMeta.swift
[160/171] Compiling WalletConnect WCEthereumSignPayload.swift
[161/171] Compiling WalletConnect WCEthereumTransaction.swift
[162/171] Compiling WalletConnect WCTrustAccount.swift
[163/171] Compiling WalletConnect WCSession.swift
[164/171] Compiling WalletConnect WCSessionStore.swift
[165/171] Compiling WalletConnect WCEthereumInteractor.swift
[166/171] Compiling WalletConnect WCTrustInteractor.swift
[167/171] Compiling WalletConnect WCSessionModels.swift
[168/171] Compiling WalletConnect WCSocketMessage.swift
[169/171] Compiling WalletConnect WCBinanceInteractor.swift
[170/171] Compiling WalletConnect WCInteractor.swift
[171/171] Compiling WalletConnect WCLog.swift
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/Flight-School/AnyCodable
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/mxcl/PromiseKit
[1/782] Fetching anycodable
[377/5815] Fetching anycodable, starscream
[679/18756] Fetching anycodable, starscream, cryptoswift
[1668/35942] Fetching anycodable, starscream, cryptoswift, promisekit
Fetched https://github.com/daltoniam/Starscream from cache (3.98s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (3.98s)
Fetched https://github.com/Flight-School/AnyCodable from cache (3.98s)
Fetched https://github.com/mxcl/PromiseKit from cache (3.98s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 3.1.2 (5.94s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.50s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.50s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.22.1 (0.52s)
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.8.4
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 3.1.2
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.22.1
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
warning: 'spi-builder-workspace': dependency 'anycodable' is not used by any target
BUILD FAILURE 6.2 macosSpm