Build Information
Failed to build WalletConnect, reference master (128765), with Swift 6.1 for Wasm on 27 May 2025 17:04:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/leixjin/WC-Swift.git
Reference: master
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/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: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/leixjin/WC-Swift.git
https://github.com/leixjin/WC-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.1.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift"
},
{
"identity" : "promisekit",
"requirement" : {
"range" : [
{
"lower_bound" : "6.8.0",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/PromiseKit"
},
{
"identity" : "starscream",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/daltoniam/Starscream"
},
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "WalletConnect",
"name" : "WalletConnect",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "WalletConnect",
"targets" : [
"WalletConnect"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WalletConnect",
"module_type" : "SwiftTarget",
"name" : "WalletConnect",
"path" : "WalletConnect",
"product_dependencies" : [
"CryptoSwift",
"PromiseKit",
"Starscream"
],
"product_memberships" : [
"WalletConnect"
],
"sources" : [
"Extensions/Data+Hex.swift",
"Extensions/Encodable+Extension.swift",
"JSONRPC/JSONRPC.swift",
"Models/Binance/WCBinanceCancelOrder.swift",
"Models/Binance/WCBinanceOrder.swift",
"Models/Binance/WCBinanceTradeOrder.swift",
"Models/Binance/WCBinanceTradePair.swift",
"Models/Binance/WCBinanceTransferOrder.swift",
"Models/Ethereum/AnyDecodable.swift",
"Models/Ethereum/WCEthereumSignPayload.swift",
"Models/Ethereum/WCEthereumTransaction.swift",
"Models/Trust/WCTrustAccount.swift",
"Models/Trust/WCTrustTransaction.swift",
"Models/WCEvent.swift",
"Models/WCPeerMeta.swift",
"Models/WCSessionModels.swift",
"Models/WCSocketMessage.swift",
"SubInteractor/WCBinanceInteractor.swift",
"SubInteractor/WCEthereumInteractor.swift",
"SubInteractor/WCTrustInteractor.swift",
"WCEncryptor.swift",
"WCError.swift",
"WCInteractor.swift",
"WCLog.swift",
"WCSession.swift",
"WCSessionStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/krzyzanowskim/CryptoSwift
Fetching https://github.com/daltoniam/Starscream
Fetching https://github.com/mxcl/PromiseKit
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
[783/5815] Fetching anycodable, starscream
[784/23001] Fetching anycodable, starscream, promisekit
[9426/35942] Fetching anycodable, starscream, promisekit, cryptoswift
Fetched https://github.com/Flight-School/AnyCodable from cache (1.44s)
Fetched https://github.com/daltoniam/Starscream from cache (1.44s)
Fetched https://github.com/mxcl/PromiseKit from cache (1.95s)
Fetched https://github.com/krzyzanowskim/CryptoSwift from cache (1.97s)
Computing version for https://github.com/daltoniam/Starscream
Computed https://github.com/daltoniam/Starscream at 3.1.2 (4.22s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.24s)
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 (4.28s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.66s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift
Computed https://github.com/krzyzanowskim/CryptoSwift at 1.8.4 (0.79s)
Computing version for https://github.com/mxcl/PromiseKit
Computed https://github.com/mxcl/PromiseKit at 6.22.1 (0.65s)
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/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
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/daltoniam/Starscream
Working copy of https://github.com/daltoniam/Starscream resolved at 3.1.2
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: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'spi-builder-workspace': dependency 'anycodable' is not used by any target
Building for debugging...
[0/6] Write sources
[3/6] Copying PrivacyInfo.xcprivacy
[4/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/128] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[8/128] Compiling CryptoSwift CFB.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[9/128] Compiling CryptoSwift CTR.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/128] Emitting module PromiseKit
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[11/128] Compiling CryptoSwift CBC.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[12/128] Compiling CryptoSwift CCM.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[13/128] Compiling CryptoSwift BlockEncryptor.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[14/128] Compiling CryptoSwift BlockMode.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[15/128] Compiling CryptoSwift BlockModeOptions.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[16/128] Compiling CryptoSwift GCM.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[17/128] Compiling CryptoSwift OCB.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[18/130] Compiling CryptoSwift CipherModeWorker.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[19/130] Compiling CryptoSwift ECB.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[20/130] Compiling CryptoSwift Blowfish.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[21/130] Compiling CryptoSwift CBCMAC.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[22/130] Compiling CryptoSwift OFB.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[23/130] Compiling CryptoSwift PCBC.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[24/130] Compiling Starscream WebSocket.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[25/130] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[26/130] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[27/130] Compiling CryptoSwift CMAC.swift
[28/130] Compiling PromiseKit race.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[29/130] Compiling PromiseKit when.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[30/130] Compiling CryptoSwift Addition.swift
[31/130] Compiling CryptoSwift BigInt.swift
[32/130] Compiling CryptoSwift BigUInt.swift
[33/130] Compiling CryptoSwift BitwiseOps.swift
[34/130] Compiling CryptoSwift CS.swift
[35/130] Compiling CryptoSwift Codable.swift
[36/130] Compiling CryptoSwift Comparable.swift
[37/130] Compiling CryptoSwift DataConversion.swift
[38/130] Compiling CryptoSwift Division.swift
[39/130] Compiling CryptoSwift Exponentiation.swift
[40/130] Compiling CryptoSwift FloatingPointConversion.swift
[41/130] Compiling CryptoSwift GCD.swift
[42/130] Compiling CryptoSwift Hashable.swift
[43/130] Compiling CryptoSwift IntegerConversion.swift
[44/130] Compiling CryptoSwift Multiplication.swift
[45/130] Compiling CryptoSwift PrimeTest.swift
[46/130] Compiling CryptoSwift Random.swift
[47/130] Compiling CryptoSwift Shifts.swift
[48/130] Compiling CryptoSwift SquareRoot.swift
[49/130] Compiling CryptoSwift Strideable.swift
[50/130] Compiling CryptoSwift StringConversion.swift
[51/130] Compiling CryptoSwift Subtraction.swift
[52/130] Compiling CryptoSwift WordsAndBits.swift
[53/130] Compiling CryptoSwift ChaCha20.swift
[54/130] Compiling CryptoSwift Checksum.swift
[55/130] Compiling CryptoSwift Cipher.swift
[56/130] Compiling CryptoSwift Collection+Extension.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: 'spi-builder-workspace': dependency 'anycodable' is not used by any target
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/123] Compiling CryptoSwift Checksum.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[3/123] Compiling CryptoSwift Cipher.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[4/125] Compiling CryptoSwift WordsAndBits.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[5/125] Compiling CryptoSwift ChaCha20.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/125] Emitting module PromiseKit
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[7/125] Compiling CryptoSwift PrimeTest.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[8/125] Compiling CryptoSwift Random.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[9/125] Compiling CryptoSwift Shifts.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[10/125] Compiling CryptoSwift IntegerConversion.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[11/125] Compiling CryptoSwift Multiplication.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[12/125] Compiling CryptoSwift Collection+Extension.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[13/125] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[14/125] Compiling CryptoSwift StringConversion.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[15/125] Compiling CryptoSwift Subtraction.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[16/125] Compiling CryptoSwift SquareRoot.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[17/125] Compiling CryptoSwift Strideable.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[18/125] Compiling PromiseKit race.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
[19/125] Compiling PromiseKit when.swift
/host/spi-builder-workspace/.build/checkouts/PromiseKit/Sources/Box.swift:1:8: error: no such module 'Dispatch'
1 | import Dispatch
| `- error: no such module 'Dispatch'
2 |
3 | enum Sealant<R> {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/125] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[21/125] Compiling Starscream SSLSecurity.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
[22/125] Compiling Starscream SSLClientCertificate.swift
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Starscream/Compression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | class Decompressor {
BUILD FAILURE 6.1 wasm