Build Information
Failed to build Keystore, reference master (4038fc
), with Swift 6.1 for Wasm on 29 May 2025 07:10:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Boilertalk/Keystore.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/Boilertalk/Keystore.swift
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 4038fcc feat: create eth2 keystores
Cloned https://github.com/Boilertalk/Keystore.swift.git
Revision (git rev-parse @):
4038fccf60005b17f5296e29b63b7221c7106baa
SUCCESS checkout https://github.com/Boilertalk/Keystore.swift.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Boilertalk/Keystore.swift.git
https://github.com/Boilertalk/Keystore.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cryptoswift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.8.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/krzyzanowskim/CryptoSwift.git"
},
{
"identity" : "secp256k1.swift",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.7",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Boilertalk/secp256k1.swift.git"
},
{
"identity" : "swift-scrypt",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/greymass/swift-scrypt.git"
},
{
"identity" : "bls-eth-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/MyEtherWallet/bls-eth-swift.git"
},
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "10.0.0",
"upper_bound" : "11.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
}
],
"manifest_display_name" : "Keystore",
"name" : "Keystore",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "maccatalyst",
"version" : "14.0"
},
{
"name" : "driverkit",
"version" : "20.0"
}
],
"products" : [
{
"name" : "Keystore",
"targets" : [
"Keystore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "KeystoreTests",
"module_type" : "SwiftTarget",
"name" : "KeystoreTests",
"path" : "Tests/KeystoreTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/KeystoreTests/Stubs",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"KeystoreETH2Tests/ETH2PrivateKeyExtractionTests.swift",
"KeystoreTests/KeystoreCreationTests.swift",
"KeystoreTests/PrivateKeyExtractionTests.swift",
"Toolbox/StubLoader.swift"
],
"target_dependencies" : [
"Keystore"
],
"type" : "test"
},
{
"c99name" : "Keystore",
"module_type" : "SwiftTarget",
"name" : "Keystore",
"path" : "Sources",
"product_dependencies" : [
"CryptoSwift",
"secp256k1",
"Scrypt",
"bls-eth-swift"
],
"product_memberships" : [
"Keystore"
],
"sources" : [
"Keystore/Keystore.swift",
"Keystore/KeystoreETH2.swift",
"Keystore/KeystoreETH2Factory.swift",
"Keystore/KeystoreFactory.swift",
"Keystore/Toolbox/Bytes+SecureRandom.swift",
"Keystore/Toolbox/HexUtils.swift",
"Keystore/Toolbox/Secp256k1Helper.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/greymass/swift-scrypt.git
Fetching https://github.com/Boilertalk/secp256k1.swift.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/MyEtherWallet/bls-eth-swift.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/142] Fetching swift-scrypt
[143/282] Fetching swift-scrypt, bls-eth-swift
[160/1062] Fetching swift-scrypt, bls-eth-swift, secp256k1.swift
[488/15817] Fetching swift-scrypt, bls-eth-swift, secp256k1.swift, quick
[1973/28758] Fetching swift-scrypt, bls-eth-swift, secp256k1.swift, quick, cryptoswift
[8802/48342] Fetching swift-scrypt, bls-eth-swift, secp256k1.swift, quick, cryptoswift, nimble
Fetched https://github.com/Boilertalk/secp256k1.swift.git from cache (0.80s)
[33500/47562] Fetching swift-scrypt, bls-eth-swift, quick, cryptoswift, nimble
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.22s)
Fetched https://github.com/Quick/Nimble.git from cache (2.44s)
[14948/15037] Fetching swift-scrypt, bls-eth-swift, quick
Fetched https://github.com/greymass/swift-scrypt.git from cache (7.45s)
Fetched https://github.com/Quick/Quick.git from cache (7.46s)
Fetched https://github.com/MyEtherWallet/bls-eth-swift.git from cache (7.66s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 10.0.0 (8.38s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.22s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 5.0.1 (0.91s)
Computing version for https://github.com/Boilertalk/secp256k1.swift.git
Computed https://github.com/Boilertalk/secp256k1.swift.git at 0.1.7 (0.56s)
Computing version for https://github.com/MyEtherWallet/bls-eth-swift.git
Computed https://github.com/MyEtherWallet/bls-eth-swift.git at 1.0.1 (2.12s)
Computing version for https://github.com/greymass/swift-scrypt.git
Computed https://github.com/greymass/swift-scrypt.git at 1.0.2 (0.50s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (1.14s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.97s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.42s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.26s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 5.0.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/MyEtherWallet/bls-eth-swift.git
Working copy of https://github.com/MyEtherWallet/bls-eth-swift.git resolved at 1.0.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Creating working copy for https://github.com/greymass/swift-scrypt.git
Working copy of https://github.com/greymass/swift-scrypt.git resolved at 1.0.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 10.0.0
Creating working copy for https://github.com/Boilertalk/secp256k1.swift.git
Working copy of https://github.com/Boilertalk/secp256k1.swift.git resolved at 0.1.7
Downloading binary artifact https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip
[1397/15950716] Downloading https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip
Downloaded https://github.com/MyEtherWallet/bls-eth-swift/releases/download/1.0.1/bls_framework.xcframework.zip (2.11s)
warning: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/Info.plist
Building for debugging...
[0/12] Write sources
[1/12] Copying PrivacyInfo.xcprivacy
[1/12] Write sources
[5/12] Compiling lax_der_privatekey_parsing.c
[6/12] Compiling slowequals.c
[7/12] Compiling lax_der_parsing.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-scrypt/Sources/libscrypt/libscrypt/crypto_scrypt-nosse.c:32:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
1 error generated.
[8/12] Compiling crypto_scrypt-nosse.c
[8/12] Compiling sha256.c
[8/12] Compiling secp256k1.c
[8/12] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 'quick': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/.build/checkouts/Quick/Sources/Quick/Info.plist
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/swift-scrypt/Sources/libscrypt/libscrypt/crypto_scrypt-nosse.c:32:
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
| ^
1 error generated.
[0/4] Compiling crypto_scrypt-nosse.c
[0/4] Compiling sha256.c
[0/4] Compiling secp256k1.c
[0/4] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm