The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Forging, reference 0.0.1 (b6d204), with Swift 6.3 for Wasm on 17 Apr 2026 14:53:52 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BCSuite/Forging.git
Reference: 0.0.1
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
 * tag               0.0.1      -> FETCH_HEAD
HEAD is now at b6d204f Update README.
Cloned https://github.com/BCSuite/Forging.git
Revision (git rev-parse @):
b6d204fb1f4ffe1504b36a9e68d70f6958a98ff4
SUCCESS checkout https://github.com/BCSuite/Forging.git at 0.0.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/BCSuite/Forging.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/tesseract-one/Bip39.swift.git
Fetching https://github.com/Sajjon/K1
[1/4378] Fetching k1
[1753/4460] Fetching k1, bip39.swift
Fetching https://github.com/attaswift/BigInt.git
Fetched https://github.com/tesseract-one/Bip39.swift.git from cache (0.39s)
[2759/4378] Fetching k1
[4379/9256] Fetching k1, bigint
Fetched https://github.com/Sajjon/K1 from cache (0.74s)
[781/4878] Fetching bigint
Fetched https://github.com/attaswift/BigInt.git from cache (0.69s)
Computing version for https://github.com/tesseract-one/Bip39.swift.git
Computed https://github.com/tesseract-one/Bip39.swift.git at 0.2.0 (3.79s)
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.77s)
Computing version for https://github.com/Sajjon/K1
Computed https://github.com/Sajjon/K1 at 0.7.1 (1.38s)
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.53s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.44s)
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.7.1
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/Bip39.swift.git
Working copy of https://github.com/tesseract-one/Bip39.swift.git resolved at 0.2.0
Building for debugging...
[0/17] Write sources
[3/17] Compiling lax_der_privatekey_parsing.c
[4/17] Compiling lax_der_parsing.c
[5/17] Compiling CUncommonCrypto sha3.c
[6/17] Compiling CUncommonCrypto pbkdf2.c
[7/17] Compiling CUncommonCrypto memzero.c
[8/17] Write sources
[9/17] Compiling ecdh_variants.c
[10/17] Write swift-version-24593BA9C3E375BF.txt
[10/17] Write sources
[12/17] Compiling CUncommonCrypto hmac.c
[13/17] Compiling precomputed_ecmult_gen.c
[14/38] Compiling secp256k1.c
[15/38] Compiling CUncommonCrypto sha2.c
[17/45] Emitting module BigInt
[17/47] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/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 |
[20/102] Compiling K1 Schnorr+Wrapped.swift
[21/102] Compiling K1 FFI+Call.swift
[22/102] Compiling K1 FFI+Context.swift
[23/102] Compiling K1 FFI+Format.swift
[24/102] Compiling K1 FFI+Raw.swift
[25/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 |
[26/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 |
[27/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 |
/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 |
[32/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 |     }
[33/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 |
[34/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 |
[35/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 |
[36/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 |
[37/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 |
[38/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 |
[39/102] Compiling K1 Schnorr+Signature.swift
[40/102] Compiling K1 Schnorr.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 |
/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 |
/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 |
[44/102] Compiling K1 Keys.generated.swift
[45/102] Compiling K1 PrivateKeyImplementation.swift
[46/102] Compiling K1 PublicKeyImplementation.swift
[47/102] Compiling K1 Signing.generated.swift
[48/102] Compiling K1 Validation.generated.swift
[49/102] Compiling K1 Data+Extensions.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 |
[57/102] Compiling K1 SubjectPublicKeyInfo.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 |
[58/102] Compiling K1 ASN1Error.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 |
[59/102] Compiling K1 BytesUtil.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 |
[60/102] Compiling K1 RNG_boring.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 |
[61/102] Compiling K1 SafeCompare_boring.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 |
[62/102] Compiling K1 SecureBytes.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 |
[63/102] 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 |
[64/102] 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 |
[65/102] 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 |
[66/102] 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 |
[67/102] 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 |
[68/102] 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 |
/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 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 |
[71/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 |
/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 |
[73/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 |
[74/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 |
[75/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 |
[76/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 |
[77/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 |
[78/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 |
[79/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 |
[80/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[81/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 |
[82/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 |
[83/102] Compiling K1 FFI+ECDH.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 FFI+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 |
[85/102] Compiling K1 ECDSA+NonRecovery+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 |
[86/102] Compiling K1 FFI+ECDSA+NonRecovery.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 ECDSA+Recovery+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 |
[88/102] Compiling K1 FFI+ECDSA+Recovery.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 PrivateKey+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 |
/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.3 wasm