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 SubVTData, reference 0.21.0 (04c8c6), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 14:05:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/helikon-labs/subvt-data-swift.git
Reference: 0.21.0
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/helikon-labs/subvt-data-swift
 * tag               0.21.0     -> FETCH_HEAD
HEAD is now at 04c8c60 Set max message size for ws connections.
Cloned https://github.com/helikon-labs/subvt-data-swift.git
Revision (git rev-parse @):
04c8c600b3268673dc783ebf09181b20db38cb85
SUCCESS checkout https://github.com/helikon-labs/subvt-data-swift.git at 0.21.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/helikon-labs/subvt-data-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/keefertaylor/Base58Swift.git
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/SwiftyBeaver/SwiftyBeaver.git
Fetching https://github.com/tesseract-one/Blake2.swift.git
Fetching https://github.com/attaswift/BigInt.git
[1/141] Fetching blake2.swift
[120/675] Fetching blake2.swift, base58swift
[226/5482] Fetching blake2.swift, base58swift, bigint
[227/9868] Fetching blake2.swift, base58swift, bigint, keychainaccess
[535/13925] Fetching blake2.swift, base58swift, bigint, keychainaccess, swiftybeaver
Fetching https://github.com/GigaBitcoin/secp256k1.swift.git
[13446/18838] Fetching blake2.swift, base58swift, bigint, keychainaccess, swiftybeaver, secp256k1.swift
Fetched https://github.com/keefertaylor/Base58Swift.git from cache (1.40s)
[16290/18304] Fetching blake2.swift, bigint, keychainaccess, swiftybeaver, secp256k1.swift
Fetching https://github.com/konkab/AlamofireNetworkActivityLogger.git
Fetched https://github.com/tesseract-one/Blake2.swift.git from cache (1.61s)
Fetched https://github.com/GigaBitcoin/secp256k1.swift.git from cache (1.00s)
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (1.62s)
Fetched https://github.com/attaswift/BigInt.git from cache (1.61s)
Fetched https://github.com/SwiftyBeaver/SwiftyBeaver.git from cache (1.62s)
Fetching https://github.com/Alamofire/Alamofire.git
[1/320] Fetching alamofirenetworkactivitylogger
Fetched https://github.com/konkab/AlamofireNetworkActivityLogger.git from cache (0.49s)
[1/30141] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (4.19s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift.git
Computed https://github.com/GigaBitcoin/secp256k1.swift.git at 0.15.0 (8.21s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (1.13s)
Computing version for https://github.com/tesseract-one/Blake2.swift.git
Computed https://github.com/tesseract-one/Blake2.swift.git at 0.2.0 (0.83s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.3.0 (0.51s)
Computing version for https://github.com/konkab/AlamofireNetworkActivityLogger.git
Computed https://github.com/konkab/AlamofireNetworkActivityLogger.git at 3.4.0 (0.51s)
Computing version for https://github.com/Alamofire/Alamofire.git
warning: 'alamofire': /Package.swift:30:41: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
28 | let package = Package(name: "Alamofire",
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
   |                                         `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
31 |                                   .tvOS(.v11),
32 |                                   .watchOS(.v4)],
/Package.swift:31:42: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
31 |                                   .tvOS(.v11),
   |                                          `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
32 |                                   .watchOS(.v4)],
33 |                       products: [.library(name: "Alamofire",
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/Alamofire/Alamofire.git at 5.8.1 (0.85s)
Computing version for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Computed https://github.com/SwiftyBeaver/SwiftyBeaver.git at 2.1.1 (0.91s)
Computing version for https://github.com/keefertaylor/Base58Swift.git
Computed https://github.com/keefertaylor/Base58Swift.git at 2.1.14 (0.83s)
Creating working copy for https://github.com/konkab/AlamofireNetworkActivityLogger.git
Working copy of https://github.com/konkab/AlamofireNetworkActivityLogger.git resolved at 3.4.0
Creating working copy for https://github.com/tesseract-one/Blake2.swift.git
Working copy of https://github.com/tesseract-one/Blake2.swift.git resolved at 0.2.0
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift.git
Working copy of https://github.com/GigaBitcoin/secp256k1.swift.git resolved at 0.15.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.8.1
Creating working copy for https://github.com/keefertaylor/Base58Swift.git
Working copy of https://github.com/keefertaylor/Base58Swift.git resolved at 2.1.14
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.3.0
Creating working copy for https://github.com/SwiftyBeaver/SwiftyBeaver.git
Working copy of https://github.com/SwiftyBeaver/SwiftyBeaver.git resolved at 2.1.1
warning: 'alamofire': /host/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:30:41: warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
28 | let package = Package(name: "Alamofire",
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
   |                                         `- warning: 'v11' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
31 |                                   .tvOS(.v11),
32 |                                   .watchOS(.v4)],
/host/spi-builder-workspace/.build/checkouts/Alamofire/Package.swift:31:42: warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
29 |                       platforms: [.macOS(.v10_13),
30 |                                   .iOS(.v11),
31 |                                   .tvOS(.v11),
   |                                          `- warning: 'v11' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
32 |                                   .watchOS(.v4)],
33 |                       products: [.library(name: "Alamofire",
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
warning: 'spi-builder-workspace': Invalid Resource 'Resources/data-env.json': File not found.
Building for debugging...
[0/21] Write sources
[2/21] Copying data-env-example.json
[2/21] Write sources
[5/21] Compiling Utility.c
[6/21] Compiling CBlake2 blake2sp-ref.c
[7/21] Compiling CBlake2 blake2xs-ref.c
[8/21] Compiling CBlake2 blake2xb-ref.c
[8/21] Write sources
[14/21] Compiling precomputed_ecmult_gen.c
[15/21] Compiling CBlake2 blake2bp-ref.c
[16/21] Compiling CBlake2 blake2s-ref.c
[17/21] Compiling CBlake2 blake2b-ref.c
[18/21] Write swift-version-24593BA9C3E375BF.txt
[18/21] Compiling secp256k1.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/95] Emitting module SwiftyBeaver
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/BaseDestination.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 | import Dispatch
 12 |
[21/96] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/133] Emitting module secp256k1
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[24/138] Compiling SwiftyBeaver SwiftyBeaver.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/BaseDestination.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 | import Dispatch
 12 |
[25/138] Compiling Blake2 Blake2xs.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
[26/138] Compiling Blake2 Blake2xb.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
[27/139] Compiling Blake2 Blake2sp.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
[28/139] Compiling secp256k1 Recovery.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[29/139] Compiling secp256k1 SHA256.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[30/139] Compiling secp256k1 SafeCompare.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[31/139] Compiling secp256k1 Schnorr.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[32/139] Compiling secp256k1 SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[33/139] Compiling SwiftyBeaver Filter.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/BaseDestination.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 | import Dispatch
 12 |
[34/139] Compiling secp256k1 Context.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | #if canImport(Security)
[35/139] Compiling secp256k1 CryptoKitErrors.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | #if canImport(Security)
[36/139] Compiling secp256k1 ASN1Null.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | #if canImport(Security)
[37/139] Compiling secp256k1 ASN1OctetString.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:25:8: error: no such module 'Foundation'
 23 | //
 24 |
 25 | import Foundation
    |        `- error: no such module 'Foundation'
 26 |
 27 | #if canImport(Security)
[38/143] Compiling Alamofire Validation.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[39/143] Compiling secp256k1 Tweak.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[40/143] Compiling secp256k1 Utility.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[41/143] Compiling secp256k1 Zeroization.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[42/143] Compiling secp256k1 secp256k1.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[43/143] Compiling Blake2 DataPtr.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
[44/143] Compiling secp256k1 ObjectIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[45/143] Compiling secp256k1 ECDSASignature.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[46/143] Compiling secp256k1 PEMDocument.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[47/145] Compiling SwiftyBeaver Extensions.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/BaseDestination.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 | import Dispatch
 12 |
[48/145] Compiling Blake2 Blake2s.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/145] Emitting module BigInt
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[50/145] Compiling secp256k1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[51/145] Compiling secp256k1 SEC1PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[52/145] Compiling secp256k1 ASN1.swift
/host/spi-builder-workspace/.build/checkouts/BigInt/Sources/Comparable.swift:9:8: error: no such module 'Foundation'
 7 | //
 8 |
 9 | import Foundation
   |        `- error: no such module 'Foundation'
10 |
11 | extension BigUInt: Comparable {
[53/145] Compiling SwiftyBeaver FilterValidator.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/BaseDestination.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 | import Dispatch
 12 |
[54/145] Compiling SwiftyBeaver GoogleCloudDestination.swift
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/BaseDestination.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 | import Dispatch
 12 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/145] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:26:8: error: no such module 'Foundation'
  24 | // THE SOFTWARE.
  25 |
  26 | import Foundation
     |        `- error: no such module 'Foundation'
  27 | import Security
  28 | #if os(iOS) || os(OSX)
[56/145] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:26:8: error: no such module 'Foundation'
  24 | // THE SOFTWARE.
  25 |
  26 | import Foundation
     |        `- error: no such module 'Foundation'
  27 | import Security
  28 | #if os(iOS) || os(OSX)
[57/145] Compiling Blake2 Blake2b.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
[58/145] Compiling Blake2 Blake2.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[59/145] Emitting module Blake2
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
[60/145] Compiling Blake2 Blake2bp.swift
/host/spi-builder-workspace/.build/checkouts/Blake2.swift/Sources/Blake2/Blake2.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | public enum Blake2Error: Swift.Error {
/host/spi-builder-workspace/.build/checkouts/SwiftyBeaver/Sources/BaseDestination.swift:10:8: error: no such module 'Foundation'
  8 | //
  9 |
 10 | import Foundation
    |        `- error: no such module 'Foundation'
 11 | import Dispatch
 12 |
[61/145] Compiling BigInt Words and Bits.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[62/145] Compiling secp256k1 Digest.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[63/145] Compiling secp256k1 ECDH.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[64/145] Compiling secp256k1 ECDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
[65/145] Compiling secp256k1 EdDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/ASN1/ASN1.swift:17:8: error: no such module 'Foundation'
 15 | @_exported import CryptoKit
 16 | #else
 17 | import Foundation
    |        `- error: no such module 'Foundation'
 18 |
 19 | // This module implements "just enough" ASN.1. Specifically, we implement exactly enough ASN.1 DER parsing to handle
BUILD FAILURE 6.2 wasm