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 ATIdentityTools, reference main (b98b46), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 02:15:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/ATProtoKit/ATIdentityTools.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/ATProtoKit/ATIdentityTools
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b98b46a Create SECURITY.md
Cloned https://github.com/ATProtoKit/ATIdentityTools.git
Revision (git rev-parse @):
b98b46adbf521ddd8b393c8427bcc22de4cbd50c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ATProtoKit/ATIdentityTools.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ATProtoKit/ATIdentityTools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/ATProtoKit/ATCommonTools.git
Fetching https://github.com/ATProtoKit/ATCryptography.git
Fetching https://github.com/apple/swift-async-dns-resolver
[1/850] Fetching swift-async-dns-resolver
[61/1103] Fetching swift-async-dns-resolver, atcommontools
[1104/2026] Fetching swift-async-dns-resolver, atcommontools, atcryptography
Fetched https://github.com/ATProtoKit/ATCommonTools.git from cache (0.68s)
Fetched https://github.com/apple/swift-async-dns-resolver from cache (0.88s)
Fetched https://github.com/ATProtoKit/ATCryptography.git from cache (0.88s)
Computing version for https://github.com/apple/swift-async-dns-resolver
Computed https://github.com/apple/swift-async-dns-resolver at 0.4.0 (3.70s)
Computing version for https://github.com/ATProtoKit/ATCryptography.git
Computed https://github.com/ATProtoKit/ATCryptography.git at 0.1.9 (0.41s)
Fetching https://github.com/21-DOT-DEV/swift-secp256k1.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/apple/swift-crypto.git
[1/4807] Fetching bigint
[723/9720] Fetching bigint, swift-secp256k1
[9721/25139] Fetching bigint, swift-secp256k1, swift-crypto
Fetched https://github.com/21-DOT-DEV/swift-secp256k1.git from cache (0.46s)
[6195/20226] Fetching bigint, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (1.79s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.83s)
Computing version for https://github.com/21-DOT-DEV/swift-secp256k1.git
Computed https://github.com/21-DOT-DEV/swift-secp256k1.git at 0.18.0 (2.30s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.6.0 (0.40s)
Computing version for https://github.com/ATProtoKit/ATCommonTools.git
Computed https://github.com/ATProtoKit/ATCommonTools.git at 0.0.12 (0.44s)
Fetching https://github.com/ATProtoKit/MultiformatsKit.git
Fetching https://github.com/nnabeyang/swift-cbor
[1/567] Fetching multiformatskit
[398/635] Fetching multiformatskit, swift-cbor
Fetched https://github.com/nnabeyang/swift-cbor from cache (0.28s)
Fetched https://github.com/ATProtoKit/MultiformatsKit.git from cache (0.28s)
Computing version for https://github.com/nnabeyang/swift-cbor
Computed https://github.com/nnabeyang/swift-cbor at 0.0.4 (0.67s)
Computing version for https://github.com/ATProtoKit/MultiformatsKit.git
Computed https://github.com/ATProtoKit/MultiformatsKit.git at 0.3.0 (0.45s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.28s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.30s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.83s)
Creating working copy for https://github.com/attaswift/BigInt.git
Working copy of https://github.com/attaswift/BigInt.git resolved at 5.6.0
Creating working copy for https://github.com/ATProtoKit/MultiformatsKit.git
Working copy of https://github.com/ATProtoKit/MultiformatsKit.git resolved at 0.3.0
Creating working copy for https://github.com/21-DOT-DEV/swift-secp256k1.git
Working copy of https://github.com/21-DOT-DEV/swift-secp256k1.git resolved at 0.18.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/ATProtoKit/ATCommonTools.git
Working copy of https://github.com/ATProtoKit/ATCommonTools.git resolved at 0.0.12
Creating working copy for https://github.com/nnabeyang/swift-cbor
Working copy of https://github.com/nnabeyang/swift-cbor resolved at 0.0.4
Creating working copy for https://github.com/ATProtoKit/ATCryptography.git
Working copy of https://github.com/ATProtoKit/ATCryptography.git resolved at 0.1.9
Creating working copy for https://github.com/apple/swift-async-dns-resolver
Working copy of https://github.com/apple/swift-async-dns-resolver resolved at 0.4.0
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/ATIdentityTools/PrivacyInfo.xcprivacy
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/DIDCore/PrivacyInfo.xcprivacy
Building for debugging...
[0/437] Write sources
[9/437] Compiling chacha-armv4-linux.S
[10/437] Write sources
[11/437] Compiling precomputed_ecmult_gen.c
[12/437] Compiling aesni-x86-linux.S
[13/437] Compiling Utility.c
[14/437] Compiling fiat_p256_adx_sqr.S
[15/437] Compiling fiat_p256_adx_mul.S
[16/437] Compiling fiat_curve25519_adx_square.S
[17/437] Compiling fiat_curve25519_adx_mul.S
[18/437] Compiling md5-x86_64-linux.S
[19/437] Compiling md5-x86_64-apple.S
[20/437] Compiling md5-586-linux.S
[21/437] Compiling md5-586-apple.S
[22/437] Compiling chacha20_poly1305_x86_64-linux.S
[23/437] Compiling CCryptoBoringSSLShims shims.c
[24/437] Compiling chacha20_poly1305_x86_64-apple.S
[25/437] Compiling chacha20_poly1305_armv8-win.S
[26/437] Compiling chacha20_poly1305_armv8-linux.S
[27/437] Compiling chacha20_poly1305_armv8-apple.S
[28/437] Compiling chacha-x86_64-linux.S
[29/437] Compiling chacha-x86_64-apple.S
[30/437] Compiling chacha-x86-linux.S
[31/437] Compiling chacha-x86-apple.S
[32/437] Compiling chacha-armv8-win.S
[33/437] Compiling chacha-armv8-linux.S
[34/437] Compiling chacha-armv8-apple.S
[35/437] Compiling aes128gcmsiv-x86_64-linux.S
[36/437] Compiling secp256k1.c
[37/437] Compiling aes128gcmsiv-x86_64-apple.S
[38/437] Compiling x86_64-mont5-linux.S
[39/437] Compiling err_data.cc
[40/437] Compiling x86_64-mont-linux.S
[41/437] Compiling x86_64-mont5-apple.S
[42/437] Compiling x86_64-mont-apple.S
[43/437] Compiling x86-mont-linux.S
[44/437] Compiling x86-mont-apple.S
[45/437] Compiling vpaes-x86_64-linux.S
[46/437] Compiling vpaes-x86_64-apple.S
[47/437] Compiling vpaes-x86-linux.S
[48/437] Compiling vpaes-x86-apple.S
[49/437] Compiling vpaes-armv8-linux.S
[50/437] Compiling vpaes-armv8-win.S
[51/437] Compiling vpaes-armv7-linux.S
[52/437] Compiling vpaes-armv8-apple.S
[53/437] Compiling sha512-x86_64-linux.S
[54/437] Compiling sha512-armv8-win.S
[55/437] Compiling sha512-x86_64-apple.S
[56/437] Compiling sha512-armv8-linux.S
[57/437] Compiling sha512-armv8-apple.S
[58/437] Compiling sha512-armv4-linux.S
[59/437] Compiling sha512-586-linux.S
[60/437] Compiling sha256-x86_64-linux.S
[61/437] Compiling sha512-586-apple.S
[62/437] Compiling sha256-armv8-win.S
[63/437] Compiling sha256-x86_64-apple.S
[64/437] Write swift-version-24593BA9C3E375BF.txt
[65/437] Compiling x509cset.cc
[66/437] Compiling sha256-armv8-apple.S
[67/437] Compiling sha256-armv8-linux.S
[68/437] Compiling sha256-586-linux.S
[69/437] Compiling sha256-armv4-linux.S
[70/437] Compiling sha256-586-apple.S
[71/439] Compiling sha1-x86_64-linux.S
[72/452] Compiling sha1-x86_64-apple.S
[73/452] Compiling sha1-armv8-apple.S
[74/452] Compiling sha1-armv8-win.S
[75/452] Compiling sha1-armv8-linux.S
[76/452] Compiling sha1-586-linux.S
[77/452] Compiling sha1-armv4-large-linux.S
[78/452] Compiling rsaz-avx2-linux.S
[79/452] Compiling sha1-586-apple.S
[80/452] Compiling rsaz-avx2-apple.S
[81/452] Compiling rdrand-x86_64-linux.S
[82/452] Compiling rdrand-x86_64-apple.S
[83/452] Compiling p256_beeu-x86_64-asm-linux.S
[84/452] Compiling p256_beeu-x86_64-asm-apple.S
[85/452] Compiling p256_beeu-armv8-asm-linux.S
[86/452] Compiling p256_beeu-armv8-asm-apple.S
[87/452] Compiling p256_beeu-armv8-asm-win.S
[88/452] Compiling p256-x86_64-asm-linux.S
[89/452] Compiling p256-x86_64-asm-apple.S
[90/452] Compiling p256-armv8-asm-win.S
[91/452] Compiling p256-armv8-asm-apple.S
[92/452] Compiling p256-armv8-asm-linux.S
[93/452] Compiling ghashv8-armv8-apple.S
[94/452] Compiling ghashv8-armv8-win.S
[95/452] Compiling ghashv8-armv8-linux.S
[96/452] Compiling ghashv8-armv7-linux.S
[97/452] Compiling ghash-x86_64-linux.S
[98/452] Compiling ghash-x86-linux.S
[99/452] Compiling ghash-x86_64-apple.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[101/452] Emitting module SwiftCbor
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | private protocol _CborDictionaryDecodableMarker {}
[101/452] Compiling ghash-ssse3-x86_64-linux.S
[102/452] Compiling ghash-x86-apple.S
[103/452] Compiling ghash-ssse3-x86_64-apple.S
[104/452] Compiling ghash-ssse3-x86-linux.S
[105/452] Compiling ghash-ssse3-x86-apple.S
[106/452] Compiling ghash-neon-armv8-win.S
[107/452] Compiling ghash-neon-armv8-apple.S
[108/452] Compiling ghash-neon-armv8-linux.S
[109/452] Compiling co-586-linux.S
[110/452] Compiling ghash-armv4-linux.S
[111/452] Compiling co-586-apple.S
[112/452] Compiling bsaes-armv7-linux.S
[113/452] Compiling bn-armv8-linux.S
[114/452] Compiling bn-armv8-apple.S
[115/452] Compiling bn-armv8-win.S
[116/452] Compiling bn-586-linux.S
[117/452] Compiling armv8-mont-win.S
[118/452] Compiling armv8-mont-apple.S
[119/452] Compiling armv8-mont-linux.S
[120/452] Compiling bn-586-apple.S
[121/452] Compiling armv4-mont-linux.S
[122/452] Compiling aesv8-gcm-armv8-win.S
[123/452] Compiling aesv8-armv8-win.S
[124/452] Compiling aesv8-gcm-armv8-apple.S
[125/452] Compiling aesv8-gcm-armv8-linux.S
[126/452] Compiling aesv8-armv8-apple.S
[127/452] Compiling aesv8-armv8-linux.S
[128/452] Compiling aesv8-armv7-linux.S
[129/452] Compiling aesni-x86_64-linux.S
[130/452] Compiling aesni-x86_64-apple.S
[131/452] Compiling aesni-gcm-x86_64-linux.S
[132/452] Compiling aesni-x86-apple.S
[133/452] Compiling aesni-gcm-x86_64-apple.S
[134/452] Compiling aes-gcm-avx10-x86_64-apple.S
[135/452] Compiling aes-gcm-avx10-x86_64-linux.S
[136/452] Compiling x_val.cc
[137/452] Compiling x_x509a.cc
[138/452] Compiling x_spki.cc
[139/452] Compiling x_sig.cc
[140/452] Compiling precomputed_ecmult.c
[141/452] Compiling x_x509.cc
[142/491] Compiling x_pubkey.cc
[143/491] Compiling x_req.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[145/491] Emitting module secp256k1
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[145/496] Compiling x_name.cc
[146/496] Compiling x_crl.cc
[147/496] Compiling x_exten.cc
[148/496] Compiling x_all.cc
[149/496] Compiling x_attrib.cc
[150/496] Compiling x509spki.cc
[151/496] Compiling x_algor.cc
[152/496] Compiling x509rset.cc
[153/496] Compiling x509name.cc
[154/496] Compiling x509_vpm.cc
[156/496] Compiling DIDCore Errors.swift
/host/spi-builder-workspace/Sources/DIDCore/DID.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a decentralized identifier (DID).
[157/496] Compiling DIDCore DIDPLCIdentifier.swift
/host/spi-builder-workspace/Sources/DIDCore/DID.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a decentralized identifier (DID).
[158/496] Compiling DIDCore DIDProtocol.swift
/host/spi-builder-workspace/Sources/DIDCore/DID.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a decentralized identifier (DID).
[159/496] Compiling DIDCore DIDWebIdentifier.swift
/host/spi-builder-workspace/Sources/DIDCore/DID.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a decentralized identifier (DID).
[160/496] Compiling SwiftCbor DataNumber.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | private protocol _CborDictionaryDecodableMarker {}
[161/496] Compiling SwiftCbor CborDecoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | private protocol _CborDictionaryDecodableMarker {}
[162/496] Compiling secp256k1 HashDigest.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[163/496] Compiling secp256k1 MuSig.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[164/496] Compiling secp256k1 Nonces.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[165/496] Compiling secp256k1 PrettyBytes.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[166/496] Compiling secp256k1 RNG_boring.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[167/496] Compiling secp256k1 Recovery.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[168/496] Compiling secp256k1 SHA256.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[169/496] Compiling secp256k1 SafeCompare.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[170/496] Compiling secp256k1 Schnorr.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[171/496] Compiling secp256k1 SecureBytes.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[172/496] Compiling DIDCore DIDMethod.swift
/host/spi-builder-workspace/Sources/DIDCore/DID.swift:8:8: error: no such module 'Foundation'
 6 | //
 7 |
 8 | import Foundation
   |        `- error: no such module 'Foundation'
 9 |
10 | /// A representation of a decentralized identifier (DID).
[173/496] Compiling secp256k1 ASN1.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[174/496] Compiling secp256k1 ASN1Any.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[175/496] Compiling secp256k1 ASN1BitString.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[176/496] Compiling secp256k1 ASN1Boolean.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[177/496] Compiling secp256k1 ASN1Identifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[178/496] Compiling secp256k1 ASN1Integer.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[179/496] Compiling secp256k1 ECDSASignature.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[180/496] Compiling secp256k1 PEMDocument.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[181/496] Compiling secp256k1 PKCS8PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[182/496] Compiling secp256k1 SEC1PrivateKey.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[183/496] Compiling secp256k1 SubjectPublicKeyInfo.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[184/496] Compiling secp256k1 Asymmetric.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[185/496] Compiling secp256k1 ASN1Null.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[186/496] Compiling secp256k1 ASN1OctetString.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[187/496] Compiling secp256k1 ASN1Strings.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[188/496] Compiling secp256k1 ArraySliceBigint.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[189/496] Compiling secp256k1 GeneralizedTime.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[190/496] Compiling secp256k1 ObjectIdentifier.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[191/496] Compiling secp256k1 Combine.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[192/496] Compiling secp256k1 Context.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[193/496] Compiling secp256k1 CryptoKitErrors.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[194/496] Compiling secp256k1 DH.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[195/496] Compiling secp256k1 Digest.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[196/496] Compiling SwiftCbor CborScanner.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | private protocol _CborDictionaryDecodableMarker {}
[197/496] Compiling secp256k1 Signature.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[198/496] Compiling secp256k1 Tweak.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[199/496] Compiling secp256k1 Utility.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[200/496] Compiling SwiftCbor CborEncoder.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | private protocol _CborDictionaryDecodableMarker {}
[201/496] Compiling secp256k1 Zeroization.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[202/496] Compiling secp256k1 secp256k1.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[203/496] Compiling SwiftCbor CborValue.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | private protocol _CborDictionaryDecodableMarker {}
[204/496] Compiling SwiftCbor CborCodable.swift
/host/spi-builder-workspace/.build/checkouts/swift-cbor/Sources/SwiftCbor/CborDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | private protocol _CborDictionaryDecodableMarker {}
[205/496] Compiling secp256k1 ECDH.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[206/496] Compiling secp256k1 ECDSA.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[207/496] Compiling secp256k1 EdDSA.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[208/496] Compiling secp256k1 Errors.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[209/496] Compiling secp256k1 Exports.swift
/host/spi-builder-workspace/.build/checkouts/swift-secp256k1/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
[209/496] Compiling x509_trs.cc
[209/496] Compiling x509_set.cc
[209/496] Compiling x509_vfy.cc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[209/496] Compiling x509_v3.cc
[209/496] Compiling x509_txt.cc
BUILD FAILURE 6.2 wasm