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 Web3swift, reference 3.3.0 (119d17), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 18:55:21 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/web3swift-team/web3swift.git
Reference: 3.3.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/web3swift-team/web3swift
 * tag               3.3.0      -> FETCH_HEAD
HEAD is now at 119d179 Merge branch 'develop'
Cloned https://github.com/web3swift-team/web3swift.git
Revision (git rev-parse @):
119d179305788687e80083671698b3f08c970e7f
SUCCESS checkout https://github.com/web3swift-team/web3swift.git at 3.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/web3swift-team/web3swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/GigaBitcoin/secp256k1.swift
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/krzyzanowskim/CryptoSwift.git
[1/4807] Fetching bigint
[530/9720] Fetching bigint, secp256k1.swift
[725/22661] Fetching bigint, secp256k1.swift, cryptoswift
Fetched https://github.com/GigaBitcoin/secp256k1.swift from cache (2.51s)
Fetched https://github.com/attaswift/BigInt.git from cache (2.51s)
Fetched https://github.com/krzyzanowskim/CryptoSwift.git from cache (2.54s)
Computing version for https://github.com/GigaBitcoin/secp256k1.swift
Computed https://github.com/GigaBitcoin/secp256k1.swift at 0.10.0 (3.11s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.4.1 (2.13s)
Computing version for https://github.com/krzyzanowskim/CryptoSwift.git
Computed https://github.com/krzyzanowskim/CryptoSwift.git at 1.8.4 (0.51s)
Creating working copy for https://github.com/GigaBitcoin/secp256k1.swift
Working copy of https://github.com/GigaBitcoin/secp256k1.swift resolved at 0.10.0
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.4.1
Creating working copy for https://github.com/krzyzanowskim/CryptoSwift.git
Working copy of https://github.com/krzyzanowskim/CryptoSwift.git resolved at 1.8.4
Building for debugging...
[0/14] Write sources
[0/14] Copying wk.bridge.min.js
[3/14] Copying browser.min.js
[3/14] Write sources
[3/14] Copying PrivacyInfo.xcprivacy
[3/14] Copying browser.js
[3/14] Write sources
[9/14] Compiling Utility.c
[10/14] Compiling precomputed_ecmult_gen.c
[11/14] Compiling secp256k1.c
[12/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/136] 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 {
[14/138] Compiling precomputed_ecmult.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/158] Emitting module secp256k1
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[17/160] Compiling secp256k1 Tweak.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[18/160] Compiling secp256k1 Utility.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[19/160] Compiling secp256k1 ECDH.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[20/160] Compiling secp256k1 ECDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[21/160] Compiling secp256k1 EdDSA.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[22/160] Compiling secp256k1 Zeroization.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[23/160] Compiling secp256k1 secp256k1.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/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 {
/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 {
/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 {
[27/160] Compiling secp256k1 Asymmetric.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 {
[28/160] Compiling secp256k1 DH.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 {
[29/160] Compiling secp256k1 Digest.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[30/160] Emitting module CryptoSwift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[31/160] Compiling secp256k1 SecureBytes.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 {
[32/160] Compiling secp256k1 Signature.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 {
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/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 {
[37/166] Compiling BigInt Words and Bits.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 {
[38/174] Compiling secp256k1 SHA256.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 {
[39/174] Compiling secp256k1 SafeCompare.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 {
[40/174] Compiling secp256k1 Schnorr.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 {
[41/174] Compiling secp256k1 PrettyBytes.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[42/174] Compiling secp256k1 RNG_boring.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[43/174] Compiling secp256k1 Recovery.swift
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
[44/174] Compiling secp256k1 Errors.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/174] Compiling secp256k1 Exports.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/174] Compiling secp256k1 HashDigest.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 {
/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 {
/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 {
/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 {
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/host/spi-builder-workspace/.build/checkouts/secp256k1.swift/Sources/secp256k1/Asymmetric.swift:11:8: error: no such module 'Foundation'
  9 | //
 10 |
 11 | import Foundation
    |        `- error: no such module 'Foundation'
 12 |
 13 | /// The secp256k1 Elliptic Curve.
/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 {
/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 {
/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 {
[61/174] Compiling CryptoSwift CMAC.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[62/174] Compiling CryptoSwift Addition.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[63/174] Compiling CryptoSwift BigInt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[64/174] Compiling CryptoSwift BigUInt.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[65/174] Compiling CryptoSwift BitwiseOps.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[66/174] Compiling CryptoSwift CS.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[67/174] Compiling CryptoSwift Codable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[68/174] Compiling CryptoSwift Comparable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[69/174] Compiling CryptoSwift DataConversion.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[70/174] Compiling CryptoSwift Division.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[71/174] Compiling CryptoSwift Exponentiation.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[72/174] Compiling CryptoSwift FloatingPointConversion.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[73/174] Compiling CryptoSwift GCD.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
[74/174] Compiling CryptoSwift Hashable.swift
/host/spi-builder-workspace/.build/checkouts/CryptoSwift/Sources/CryptoSwift/AEAD/AEADXChaCha20Poly1305.swift:16:8: error: no such module 'Foundation'
14 | //
15 |
16 | import Foundation
   |        `- error: no such module 'Foundation'
17 |
18 | /// This class implements the XChaCha20-Poly1305 Authenticated Encryption with
BUILD FAILURE 6.2 wasm