The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Keystore, reference master (4038fc), with Swift 6.2 for Wasm on 21 Jun 2025 09:26:55 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.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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.2
Building package at path:  $PWD
https://github.com/Boilertalk/Keystore.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/Boilertalk/secp256k1.swift.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
Fetching https://github.com/greymass/swift-scrypt.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/MyEtherWallet/bls-eth-swift.git
[1/140] Fetching bls-eth-swift
[18/282] Fetching bls-eth-swift, swift-scrypt
[53/1062] Fetching bls-eth-swift, swift-scrypt, secp256k1.swift
[116/14003] Fetching bls-eth-swift, swift-scrypt, secp256k1.swift, cryptoswift
[423/28762] Fetching bls-eth-swift, swift-scrypt, secp256k1.swift, cryptoswift, quick
[6737/48346] Fetching bls-eth-swift, swift-scrypt, secp256k1.swift, cryptoswift, quick, nimble
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.38s)
Fetched https://github.com/Quick/Quick.git from cache (2.45s)
[20557/20646] Fetching bls-eth-swift, swift-scrypt, secp256k1.swift, nimble
Fetched https://github.com/greymass/swift-scrypt.git from cache (6.89s)
Fetched https://github.com/Boilertalk/secp256k1.swift.git from cache (6.89s)
Fetched https://github.com/Quick/Nimble.git from cache (6.95s)
Fetched https://github.com/MyEtherWallet/bls-eth-swift.git from cache (7.19s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 10.0.0 (10.71s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.45s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 5.0.1 (0.97s)
Computing version for https://github.com/Boilertalk/secp256k1.swift.git
Computed https://github.com/Boilertalk/secp256k1.swift.git at 0.1.7 (1.25s)
Computing version for https://github.com/MyEtherWallet/bls-eth-swift.git
Computed https://github.com/MyEtherWallet/bls-eth-swift.git at 1.0.1 (0.43s)
Computing version for https://github.com/greymass/swift-scrypt.git
Computed https://github.com/greymass/swift-scrypt.git at 1.0.2 (0.48s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.61s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.50s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.26s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.89s)
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/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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 5.0.1
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 10.0.0
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.64s)
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 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-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/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.
[7/12] Compiling crypto_scrypt-nosse.c
[7/12] Compiling slowequals.c
[7/12] Write swift-version-24593BA9C3E375BF.txt
[7/12] Compiling sha256.c
[7/12] Compiling secp256k1.c
BUILD FAILURE 6.2 wasm