Build Information
Failed to build Forging, reference main (ff4731), with Swift 6.2 for Wasm on 22 Nov 2025 22:58:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BCSuite/Forging.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/BCSuite/Forging
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ff47316 Update README.
Cloned https://github.com/BCSuite/Forging.git
Revision (git rev-parse @):
ff473161aa191ae62fd70827d81552cb17520240
SUCCESS checkout https://github.com/BCSuite/Forging.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/BCSuite/Forging.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/Sajjon/K1
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/tesseract-one/Bip39.swift.git
[1/3699] Fetching k1
[186/8525] Fetching k1, bigint
[261/8607] Fetching k1, bigint, bip39.swift
Fetched https://github.com/tesseract-one/Bip39.swift.git from cache (0.57s)
Fetched https://github.com/attaswift/BigInt.git from cache (0.58s)
Fetched https://github.com/Sajjon/K1 from cache (0.58s)
Computing version for https://github.com/Sajjon/K1
Computed https://github.com/Sajjon/K1 at 0.6.0 (2.70s)
Computing version for https://github.com/tesseract-one/Bip39.swift.git
Computed https://github.com/tesseract-one/Bip39.swift.git at 0.2.0 (0.40s)
Fetching https://github.com/tesseract-one/UncommonCrypto.swift.git
[1/143] Fetching uncommoncrypto.swift
Fetched https://github.com/tesseract-one/UncommonCrypto.swift.git from cache (0.24s)
Computing version for https://github.com/tesseract-one/UncommonCrypto.swift.git
Computed https://github.com/tesseract-one/UncommonCrypto.swift.git at 0.2.1 (0.65s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.33s)
Creating working copy for https://github.com/tesseract-one/Bip39.swift.git
Working copy of https://github.com/tesseract-one/Bip39.swift.git resolved at 0.2.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.7.0
Creating working copy for https://github.com/tesseract-one/UncommonCrypto.swift.git
Working copy of https://github.com/tesseract-one/UncommonCrypto.swift.git resolved at 0.2.1
Creating working copy for https://github.com/Sajjon/K1
Working copy of https://github.com/Sajjon/K1 resolved at 0.6.0
Building for debugging...
[0/17] Write sources
[3/17] Compiling ecdh_variants.c
[4/17] Compiling lax_der_parsing.c
[5/17] Compiling lax_der_privatekey_parsing.c
[6/17] Compiling CUncommonCrypto sha3.c
[7/17] Compiling CUncommonCrypto pbkdf2.c
[7/17] Write sources
[10/17] Compiling CUncommonCrypto memzero.c
[11/17] Compiling precomputed_ecmult_gen.c
[12/17] Write swift-version-24593BA9C3E375BF.txt
[13/17] Compiling CUncommonCrypto hmac.c
[14/38] Compiling secp256k1.c
[15/38] Compiling CUncommonCrypto sha2.c
[16/45] Compiling precomputed_ecmult.c
[18/94] Compiling K1 Schnorr+Signature.swift
[19/94] Compiling K1 Schnorr.swift
[20/94] Compiling K1 Signing.generated.swift
[21/96] Compiling K1 FFI+ECDSA+NonRecovery.swift
[22/96] Compiling K1 ECDSA+Recovery+Wrapped.swift
[23/96] Compiling K1 FFI+ECDSA+Recovery.swift
[24/96] Compiling K1 FFI+ECDSA.swift
[25/96] Compiling K1 ECDSA+NonRecovery+Wrapped.swift
[26/96] Compiling BigInt Subtraction.swift
[27/96] Compiling BigInt Words and Bits.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/96] Emitting module K1
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[29/96] Compiling K1 K1.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[30/96] Compiling K1 KeyAgreement.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[31/96] Compiling K1 ECDSA.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[32/96] Compiling K1 ECDSASignatureNonRecoverable.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[33/96] Compiling K1 ECDSASignatureRecoverable.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[34/96] Compiling K1 RecoveryID.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[35/96] Compiling K1 Keys.generated.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[36/102] Compiling K1 Validation.generated.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:170:13: error: '_mantissa' is inaccessible due to 'internal' protection level
168 | var mantissaParts: [UInt16] {
169 | [
170 | _mantissa.0,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
171 | _mantissa.1,
172 | _mantissa.2,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:171:13: error: '_mantissa' is inaccessible due to 'internal' protection level
169 | [
170 | _mantissa.0,
171 | _mantissa.1,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
172 | _mantissa.2,
173 | _mantissa.3,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:172:13: error: '_mantissa' is inaccessible due to 'internal' protection level
170 | _mantissa.0,
171 | _mantissa.1,
172 | _mantissa.2,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
173 | _mantissa.3,
174 | _mantissa.4,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:173:13: error: '_mantissa' is inaccessible due to 'internal' protection level
171 | _mantissa.1,
172 | _mantissa.2,
173 | _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
174 | _mantissa.4,
175 | _mantissa.5,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:174:13: error: '_mantissa' is inaccessible due to 'internal' protection level
172 | _mantissa.2,
173 | _mantissa.3,
174 | _mantissa.4,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
175 | _mantissa.5,
176 | _mantissa.6,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:175:13: error: '_mantissa' is inaccessible due to 'internal' protection level
173 | _mantissa.3,
174 | _mantissa.4,
175 | _mantissa.5,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
176 | _mantissa.6,
177 | _mantissa.7,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:176:13: error: '_mantissa' is inaccessible due to 'internal' protection level
174 | _mantissa.4,
175 | _mantissa.5,
176 | _mantissa.6,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
177 | _mantissa.7,
178 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:177:13: error: '_mantissa' is inaccessible due to 'internal' protection level
175 | _mantissa.5,
176 | _mantissa.6,
177 | _mantissa.7,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
178 | ]
179 | }
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
[37/102] Compiling K1 Data+Extensions.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:170:13: error: '_mantissa' is inaccessible due to 'internal' protection level
168 | var mantissaParts: [UInt16] {
169 | [
170 | _mantissa.0,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
171 | _mantissa.1,
172 | _mantissa.2,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:171:13: error: '_mantissa' is inaccessible due to 'internal' protection level
169 | [
170 | _mantissa.0,
171 | _mantissa.1,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
172 | _mantissa.2,
173 | _mantissa.3,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:172:13: error: '_mantissa' is inaccessible due to 'internal' protection level
170 | _mantissa.0,
171 | _mantissa.1,
172 | _mantissa.2,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
173 | _mantissa.3,
174 | _mantissa.4,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:173:13: error: '_mantissa' is inaccessible due to 'internal' protection level
171 | _mantissa.1,
172 | _mantissa.2,
173 | _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
174 | _mantissa.4,
175 | _mantissa.5,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:174:13: error: '_mantissa' is inaccessible due to 'internal' protection level
172 | _mantissa.2,
173 | _mantissa.3,
174 | _mantissa.4,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
175 | _mantissa.5,
176 | _mantissa.6,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:175:13: error: '_mantissa' is inaccessible due to 'internal' protection level
173 | _mantissa.3,
174 | _mantissa.4,
175 | _mantissa.5,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
176 | _mantissa.6,
177 | _mantissa.7,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:176:13: error: '_mantissa' is inaccessible due to 'internal' protection level
174 | _mantissa.4,
175 | _mantissa.5,
176 | _mantissa.6,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
177 | _mantissa.7,
178 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:177:13: error: '_mantissa' is inaccessible due to 'internal' protection level
175 | _mantissa.5,
176 | _mantissa.6,
177 | _mantissa.7,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
178 | ]
179 | }
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
[38/102] Compiling K1 FFI+ECDH.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:170:13: error: '_mantissa' is inaccessible due to 'internal' protection level
168 | var mantissaParts: [UInt16] {
169 | [
170 | _mantissa.0,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
171 | _mantissa.1,
172 | _mantissa.2,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:171:13: error: '_mantissa' is inaccessible due to 'internal' protection level
169 | [
170 | _mantissa.0,
171 | _mantissa.1,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
172 | _mantissa.2,
173 | _mantissa.3,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:172:13: error: '_mantissa' is inaccessible due to 'internal' protection level
170 | _mantissa.0,
171 | _mantissa.1,
172 | _mantissa.2,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
173 | _mantissa.3,
174 | _mantissa.4,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:173:13: error: '_mantissa' is inaccessible due to 'internal' protection level
171 | _mantissa.1,
172 | _mantissa.2,
173 | _mantissa.3,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
174 | _mantissa.4,
175 | _mantissa.5,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:174:13: error: '_mantissa' is inaccessible due to 'internal' protection level
172 | _mantissa.2,
173 | _mantissa.3,
174 | _mantissa.4,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
175 | _mantissa.5,
176 | _mantissa.6,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:175:13: error: '_mantissa' is inaccessible due to 'internal' protection level
173 | _mantissa.3,
174 | _mantissa.4,
175 | _mantissa.5,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
176 | _mantissa.6,
177 | _mantissa.7,
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:176:13: error: '_mantissa' is inaccessible due to 'internal' protection level
174 | _mantissa.4,
175 | _mantissa.5,
176 | _mantissa.6,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
177 | _mantissa.7,
178 | ]
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Floating Point Conversion.swift:177:13: error: '_mantissa' is inaccessible due to 'internal' protection level
175 | _mantissa.5,
176 | _mantissa.6,
177 | _mantissa.7,
| `- error: '_mantissa' is inaccessible due to 'internal' protection level
178 | ]
179 | }
FoundationEssentials.Decimal._mantissa:2:14: note: '_mantissa' declared here
1 | struct Decimal {
2 | internal var _mantissa: Decimal.Mantissa { get set }}
| `- note: '_mantissa' declared here
3 |
[40/102] Compiling K1 PrivateKeyImplementation.swift
[41/102] Compiling K1 PublicKeyImplementation.swift
[48/102] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[50/102] Compiling K1 Curve.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[51/102] Compiling K1 K1+Error.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[52/102] Compiling K1 SharedSecret.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[53/102] Compiling K1 ASN1.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[54/102] Compiling K1 ASN1Any.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[55/102] Compiling K1 ASN1BitString.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[70/102] Compiling UncommonCrypto SHA3.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
| `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
[71/102] Compiling UncommonCrypto SecureRandom.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
| `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:20:20: error: cannot find 'native' in scope
18 | throw Error.invalidSize
19 | }
20 | return try native(size: size)
| `- error: cannot find 'native' in scope
21 | }
22 |
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:24:25: error: cannot find 'native' in scope
22 |
23 | public static func number<T: BinaryInteger>(of type: T) throws -> T {
24 | let bytes = try native(size: MemoryLayout<T>.size)
| `- error: cannot find 'native' in scope
25 | return bytes.withUnsafeBytes { $0.load(as: T.self) }
26 | }
[72/102] Compiling UncommonCrypto SHA2.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
| `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
[73/102] Compiling UncommonCrypto SHA1.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
| `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[74/102] Emitting module UncommonCrypto
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
| `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
[75/102] Compiling UncommonCrypto HMAC.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
| `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
[76/102] Compiling UncommonCrypto PBKDF2.swift
/host/spi-builder-workspace/.build/checkouts/UncommonCrypto.swift/Sources/UncommonCrypto/SecureRandom.swift:55:8: error: SecureRandom isn't implemented for this platform
53 | }
54 | #else
55 | #error("SecureRandom isn't implemented for this platform")
| `- error: SecureRandom isn't implemented for this platform
56 | #endif
57 |
[77/102] Compiling K1 ASN1Boolean.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[78/102] Compiling K1 ASN1Identifier.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[79/102] Compiling K1 ASN1Integer.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[80/102] Compiling K1 ASN1Null.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[81/102] Compiling K1 ASN1OctetString.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[82/102] Compiling K1 ASN1Strings.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[83/102] Compiling K1 ArraySliceBigint.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[84/102] Compiling K1 GeneralizedTime.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[85/102] Compiling K1 ObjectIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[86/102] Compiling K1 ECDSASignature.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[87/102] Compiling K1 PEMDocument.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[88/102] Compiling K1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[89/102] Compiling K1 SEC1PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[90/102] Compiling K1 FFI+PublicKey.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[91/102] Compiling K1 PublicKey+Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[92/102] Compiling K1 FFI+Schnorr.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[93/102] Compiling K1 Schnorr+Wrapped.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[94/102] Compiling K1 FFI+Call.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[95/102] Compiling K1 FFI+Context.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
[96/102] Compiling K1 FFI+Format.swift
/host/spi-builder-workspace/.build/checkouts/K1/Sources/K1/K1/ECDH/KeyAgreement.swift:1:15: error: no such module 'CryptoKit'
1 | import struct CryptoKit.SharedSecret
| `- error: no such module 'CryptoKit'
2 | import Foundation
3 |
BUILD FAILURE 6.2 wasm