The Swift Package Index logo.Swift Package Index

Build Information

Failed to build WalletConnect with Swift 5.9 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leixjin/WC-Swift.git
Reference: 0.1.2
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/leixjin/WC-Swift
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 7262b1f 修改 podspec
Cloned https://github.com/leixjin/WC-Swift.git into spi-builder-workspace
7262b1fdc639407a849d34d9d10cc80d013f7029
SUCCESS checkout https://github.com/leixjin/WC-Swift.git at 0.1.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-15.0.0-Beta.app" xcrun swift build --arch arm64
Building ... (attempt 1)
Fetching https://github.com/mxcl/PromiseKit from cache
Fetching https://github.com/krzyzanowskim/CryptoSwift from cache
Fetching https://github.com/daltoniam/Starscream from cache
Fetched https://github.com/daltoniam/Starscream (0.27s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/krzyzanowskim/CryptoSwift (0.31s)
Fetched https://github.com/mxcl/PromiseKit (0.38s)
Computing version for https://github.com/daltoniam/Starscream
Fetched https://github.com/apple/swift-nio-zlib-support.git (0.18s)
Computed https://github.com/daltoniam/Starscream at 3.1.1 (0.42s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.11.0 (0.44s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.1.3 (0.37s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.02s)
Creating working copy for https://github.com/mxcl/PromiseKit
Working copy of https://github.com/mxcl/PromiseKit resolved at 6.11.0
Creating working copy for https://github.com/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 3.1.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift
Working copy of https://github.com/krzyzanowskim/CryptoSwift resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
Building for debugging...
[1/86] Emitting module CryptoSwift
[2/95] Compiling CryptoSwift MD5.swift
[3/95] Compiling CryptoSwift NoPadding.swift
[4/95] Compiling CryptoSwift Operators.swift
[5/95] Compiling CryptoSwift PBKDF1.swift
[6/95] Compiling CryptoSwift PBKDF2.swift
[7/95] Compiling CryptoSwift PKCS5.swift
[8/95] Compiling CryptoSwift PKCS7.swift
[9/95] Compiling CryptoSwift PKCS7Padding.swift
[10/95] Compiling CryptoSwift Padding.swift
[11/95] Compiling CryptoSwift BlockEncryptor.swift
[12/95] Compiling CryptoSwift BlockMode.swift
[13/95] Compiling CryptoSwift BlockModeOptions.swift
[14/95] Compiling CryptoSwift CBC.swift
[15/95] Compiling CryptoSwift CCM.swift
[16/95] Compiling CryptoSwift CFB.swift
[17/95] Compiling CryptoSwift CTR.swift
[18/95] Compiling CryptoSwift CipherModeWorker.swift
[19/95] Compiling CryptoSwift ECB.swift
[20/95] Compiling CryptoSwift GCM.swift
[21/95] Compiling CryptoSwift BatchedCollection.swift
[22/95] Compiling CryptoSwift Bit.swift
[23/95] Compiling CryptoSwift BlockCipher.swift
[24/95] Compiling CryptoSwift BlockDecryptor.swift
[25/95] Compiling CryptoSwift CompactMap.swift
[26/95] Compiling CryptoSwift Cryptor.swift
[27/95] Compiling CryptoSwift Array+Extension.swift
[28/95] Compiling CryptoSwift Authenticator.swift
[29/96] Compiling CryptoSwift AEAD.swift
[30/96] Compiling CryptoSwift AEADChaCha20Poly1305.swift
[31/96] Compiling CryptoSwift Cryptors.swift
[32/96] Compiling CryptoSwift Digest.swift
[33/96] Compiling CryptoSwift AES.Cryptors.swift
[34/96] Compiling CryptoSwift AES.swift
[35/96] Emitting module PromiseKit
[36/96] Compiling CryptoSwift Data+Extension.swift
[37/96] Compiling CryptoSwift HMAC+Foundation.swift
[38/96] Compiling CryptoSwift Rabbit+Foundation.swift
[39/96] Compiling CryptoSwift String+FoundationExtension.swift
[40/96] Compiling CryptoSwift Utils+Foundation.swift
[41/96] Compiling CryptoSwift Generics.swift
[42/96] Compiling CryptoSwift HKDF.swift
[43/96] Compiling CryptoSwift HMAC.swift
[44/96] Compiling CryptoSwift Int+Extension.swift
[45/96] Compiling PromiseKit when.swift
[46/96] Compiling CryptoSwift String+Extension.swift
[47/96] Compiling CryptoSwift UInt128.swift
[48/96] Compiling CryptoSwift UInt16+Extension.swift
[49/96] Compiling CryptoSwift UInt32+Extension.swift
[50/96] Compiling CryptoSwift UInt64+Extension.swift
[51/96] Compiling CryptoSwift UInt8+Extension.swift
[52/96] Compiling CryptoSwift Updatable.swift
[53/96] Compiling CryptoSwift Utils.swift
[54/96] Compiling CryptoSwift ZeroPadding.swift
[55/96] Compiling Starscream SSLClientCertificate.swift
[56/96] Compiling Starscream Compression.swift
[57/96] Compiling Starscream SSLSecurity.swift
[58/96] Emitting module Starscream
[59/96] Compiling Starscream WebSocket.swift
[70/96] Compiling CryptoSwift OFB.swift
[71/96] Compiling CryptoSwift PCBC.swift
[72/96] Compiling CryptoSwift Blowfish.swift
[73/96] Compiling CryptoSwift CBCMAC.swift
[74/96] Compiling CryptoSwift CMAC.swift
[75/96] Compiling CryptoSwift ChaCha20.swift
[76/96] Compiling CryptoSwift Checksum.swift
[77/96] Compiling CryptoSwift Cipher.swift
[78/96] Compiling CryptoSwift Collection+Extension.swift
[83/96] Compiling CryptoSwift DigestType.swift
[84/96] Compiling CryptoSwift AES+Foundation.swift
[85/96] Compiling CryptoSwift Array+Foundation.swift
[86/96] Compiling CryptoSwift Blowfish+Foundation.swift
[87/96] Compiling CryptoSwift ChaCha20+Foundation.swift
[88/96] Compiling CryptoSwift Poly1305.swift
[89/96] Compiling CryptoSwift Rabbit.swift
[90/96] Compiling CryptoSwift SHA1.swift
[91/96] Compiling CryptoSwift SHA2.swift
[92/96] Compiling CryptoSwift SHA3.swift
[93/96] Compiling CryptoSwift Scrypt.swift
[94/96] Compiling CryptoSwift SecureBytes.swift
[95/96] Compiling CryptoSwift StreamDecryptor.swift
[96/96] Compiling CryptoSwift StreamEncryptor.swift
[97/120] Compiling WalletConnect WCBinanceInteractor.swift
[98/120] Compiling WalletConnect WCEthereumInteractor.swift
[99/120] Compiling WalletConnect WCTrustInteractor.swift
[100/123] Compiling WalletConnect Data+Hex.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
[101/123] Compiling WalletConnect Encodable+Extension.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
[102/123] Compiling WalletConnect JSONRPC.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
[103/123] Compiling WalletConnect WCBinanceCancelOrder.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
[104/123] Compiling WalletConnect WCPeerMeta.swift
[105/123] Compiling WalletConnect WCSessionModels.swift
[106/123] Compiling WalletConnect WCSocketMessage.swift
[107/123] Compiling WalletConnect WCTrustAccount.swift
[108/123] Compiling WalletConnect WCTrustTransaction.swift
[109/123] Compiling WalletConnect WCEvent.swift
[110/123] Emitting module WalletConnect
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
[111/123] Compiling WalletConnect WCEncryptor.swift
[112/123] Compiling WalletConnect WCError.swift
[113/123] Compiling WalletConnect WCInteractor.swift
[114/123] Compiling WalletConnect WCBinanceOrder.swift
[115/123] Compiling WalletConnect WCBinanceTradeOrder.swift
[116/123] Compiling WalletConnect WCBinanceTradePair.swift
[117/123] Compiling WalletConnect WCBinanceTransferOrder.swift
[118/123] Compiling WalletConnect AnyDecodable.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/Models/Ethereum/AnyDecodable.swift:45:25: error: cannot find 'NSNull' in scope
                value = NSNull()
                        ^~~~~~
[119/123] Compiling WalletConnect WCEthereumSignPayload.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/Models/Ethereum/AnyDecodable.swift:45:25: error: cannot find 'NSNull' in scope
                value = NSNull()
                        ^~~~~~
[120/123] Compiling WalletConnect WCEthereumTransaction.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/Models/Ethereum/AnyDecodable.swift:45:25: error: cannot find 'NSNull' in scope
                value = NSNull()
                        ^~~~~~
[121/123] Compiling WalletConnect WCLog.swift
[122/123] Compiling WalletConnect WCSession.swift
[123/123] Compiling WalletConnect WCSessionStore.swift
error: fatalError
Retrying in 0 seconds ...
Building ... (attempt 2)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
[0/1] Planning build
Building for debugging...
[1/4] Compiling WalletConnect WCEthereumSignPayload.swift
[2/4] Compiling WalletConnect WCEthereumTransaction.swift
[3/4] Compiling WalletConnect AnyDecodable.swift
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/Models/Ethereum/AnyDecodable.swift:45:25: error: cannot find 'NSNull' in scope
                value = NSNull()
                        ^~~~~~
[4/6] Emitting module WalletConnect
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:18:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-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
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: set the initial value via the initializer or explicitly define a CodingKeys enum including a 'jsonrpc' case to silence this warning
    let jsonrpc = JSONRPCVersion
        ^
/Users/builder/builds/o86TiJKT/3/finestructure/swiftpackageindex-builder/spi-builder-workspace/WalletConnect/JSONRPC/JSONRPC.swift:42:9: note: make the property mutable instead
    let jsonrpc = JSONRPCVersion
    ~~~ ^
    var
[5/6] Compiling WalletConnect WCEthereumInteractor.swift
[6/6] Compiling WalletConnect WCInteractor.swift
error: fatalError
Retrying in 0 seconds ...
BUILD FAILURE 5.9 macosSpm

Build Machine: Mac 5