Build Information
Failed to build SwiftyKaspa, reference main (415ed5), with Swift 6.2 for Wasm on 16 Jul 2026 14:12:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pichukov/swifty-kaspa.git
Reference: main
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/pichukov/swifty-kaspa
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 415ed5a initial commit
Cloned https://github.com/pichukov/swifty-kaspa.git
Revision (git rev-parse @):
415ed5a115b3f3020676ce0561ab60aae3aadc8c
SUCCESS checkout https://github.com/pichukov/swifty-kaspa.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/pichukov/swifty-kaspa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/21-DOT-DEV/swift-secp256k1.git
[1/11030] Fetching swift-secp256k1
Fetched https://github.com/21-DOT-DEV/swift-secp256k1.git from cache (1.60s)
Computing version for https://github.com/21-DOT-DEV/swift-secp256k1.git
Computed https://github.com/21-DOT-DEV/swift-secp256k1.git at 0.23.2 (1.88s)
Creating working copy for https://github.com/21-DOT-DEV/swift-secp256k1.git
Working copy of https://github.com/21-DOT-DEV/swift-secp256k1.git resolved at 0.23.2
[1/1] Compiling plugin SharedSourcesPlugin
Building for debugging...
[1/22] Write sources
[17/22] Write swift-version-24593BA9C3E375BF.txt
[18/22] Compiling precomputed_ecmult_gen.c
[19/22] Compiling Utility.c
[20/30] Compiling secp256k1.c
[21/30] Compiling precomputed_ecmult.c
[23/87] Compiling KaspaCore Hex.swift
[24/87] Compiling KaspaCore SecureBytes.swift
[25/87] Compiling KaspaCore Network.swift
[26/87] Compiling KaspaCore KaspaError.swift
[27/87] Compiling KaspaCore Sompi.swift
[28/87] Compiling P256K MuSig.swift
[29/87] Compiling P256K ObjectIdentifier.swift
[30/87] Compiling P256K P256K.swift
[31/87] Compiling P256K PEMDocument.swift
[32/87] Compiling P256K PKCS8PrivateKey.swift
[33/87] Compiling P256K PrettyBytes.swift
[34/87] Compiling P256K PrivateKeyImplementation.swift
[35/87] Compiling P256K PublicKeyImplementation.swift
[36/95] Compiling KaspaCore Hash32.swift
[37/95] Emitting module KaspaCore
[38/95] Compiling KaspaCore DataWriter.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[40/103] Emitting module KaspaStore
/host/spi-builder-workspace/Sources/KaspaStore/EnvelopeCrypto.swift:1:8: error: no such module 'CryptoKit'
1 | import CryptoKit
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 | import KaspaCore
[41/103] Compiling P256K ECDH.swift
[42/103] Compiling P256K ECDSA+PrivateKey.swift
[43/103] Compiling P256K ECDSA+PublicKey.swift
[44/103] Compiling P256K ECDSA+Signature.swift
[45/103] Compiling P256K ECDSA+Tweak.swift
[46/103] Compiling P256K ECDSA+XonlyKey.swift
[47/103] Compiling P256K ECDSA.swift
[48/103] Compiling P256K ECDSASignature.swift
[49/103] Compiling P256K EdDSA.swift
[50/103] Compiling P256K Errors.swift
[51/103] Compiling P256K GeneralizedTime.swift
[52/103] Compiling P256K HashDigest.swift
[53/103] Compiling P256K MuSig+Aggregate.swift
[54/103] Compiling P256K MuSig+Nonces.swift
[55/103] Compiling P256K MuSig+Signing.swift
[56/103] Compiling P256K MuSig+Tweak.swift
[57/103] Compiling P256K ASN1OctetString.swift
[58/103] Compiling P256K ASN1Strings.swift
[59/103] Compiling P256K ArraySliceBigint.swift
[60/103] Compiling P256K Combine.swift
[61/103] Compiling P256K Context.swift
[62/103] Compiling P256K CryptoKitErrors.swift
[63/103] Compiling P256K DH.swift
[64/103] Compiling P256K Digest.swift
[65/103] Compiling P256K Schnorr+PublicKey.swift
[66/103] Compiling P256K Schnorr+Signature.swift
[67/103] Compiling P256K Schnorr+Tweak.swift
[68/103] Compiling P256K Schnorr+XonlyKey.swift
[69/103] Compiling P256K Schnorr.swift
[70/103] Compiling P256K SecureBytes.swift
[71/103] Compiling P256K Signature.swift
[72/103] Compiling P256K SubjectPublicKeyInfo.swift
[73/103] Compiling P256K RNG_boring.swift
[74/103] Compiling P256K Recovery+Signature.swift
[75/103] Compiling P256K Recovery.swift
[76/103] Compiling P256K SEC1PrivateKey.swift
[77/103] Compiling P256K SHA256.swift
[78/103] Compiling P256K SafeCompare.swift
[79/103] Compiling P256K Schnorr+Nonces.swift
[80/103] Compiling P256K Schnorr+PrivateKey.swift
[81/103] Compiling P256K Placeholder.swift
[82/103] Compiling P256K ASN1.swift
[83/103] Compiling P256K ASN1Any.swift
[84/103] Compiling P256K ASN1BitString.swift
[85/103] Compiling P256K ASN1Boolean.swift
[86/103] Compiling P256K ASN1Identifier.swift
[87/103] Compiling P256K ASN1Integer.swift
[88/103] Compiling P256K ASN1Null.swift
[89/103] Emitting module P256K
[90/103] Compiling KaspaStore SecureKeyStore.swift
/host/spi-builder-workspace/Sources/KaspaStore/EnvelopeCrypto.swift:1:8: error: no such module 'CryptoKit'
1 | import CryptoKit
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 | import KaspaCore
[91/103] Compiling KaspaStore EnvelopeCrypto.swift
/host/spi-builder-workspace/Sources/KaspaStore/EnvelopeCrypto.swift:1:8: error: no such module 'CryptoKit'
1 | import CryptoKit
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 | import KaspaCore
[92/103] Compiling KaspaHashing DomainHashers.swift
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
1 | import CryptoKit
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 | import KaspaCore
[93/103] Compiling P256K UInt256+Arithmetic.swift
[94/103] Compiling P256K UInt256+FixedWidthInteger.swift
[95/103] Compiling P256K UInt256+Modular.swift
[96/103] Compiling P256K UInt256+Representation.swift
[97/103] Compiling P256K UInt256.swift
[98/103] Compiling P256K Utility.swift
[99/103] Compiling P256K XonlyKeyImplementation.swift
[100/103] Compiling P256K Zeroization.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/103] Emitting module KaspaHashing
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
1 | import CryptoKit
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 | import KaspaCore
[102/103] Compiling KaspaHashing Blake3.swift
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
1 | import CryptoKit
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 | import KaspaCore
[103/103] Compiling KaspaHashing Blake2b.swift
/host/spi-builder-workspace/Sources/KaspaHashing/DomainHashers.swift:1:8: error: no such module 'CryptoKit'
1 | import CryptoKit
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 | import KaspaCore
BUILD FAILURE 6.2 wasm