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 (2f0d7e), with Swift 6.2 (beta) for Wasm on 24 Aug 2025 15:24:07 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
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 2f0d7e5 Merge remote-tracking branch 'refs/remotes/origin/main'
Cloned https://github.com/ATProtoKit/ATIdentityTools.git
Revision (git rev-parse @):
2f0d7e56a05c5e3d834818291567d6144f9095b0
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" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:3160178686d03086db4c1712d78c1980537bb37521128c64baade7f466b6b4aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-async-dns-resolver
Fetching https://github.com/ATProtoKit/ATCryptography.git
Fetching https://github.com/ATProtoKit/ATCommonTools.git
[1/992] Fetching atcryptography
[378/1849] Fetching atcryptography, swift-async-dns-resolver
[545/2200] Fetching atcryptography, swift-async-dns-resolver, atcommontools
Fetched https://github.com/ATProtoKit/ATCommonTools.git from cache (0.25s)
Fetched https://github.com/apple/swift-async-dns-resolver from cache (0.27s)
Fetched https://github.com/ATProtoKit/ATCryptography.git from cache (0.27s)
Computing version for https://github.com/apple/swift-async-dns-resolver
Computed https://github.com/apple/swift-async-dns-resolver at 0.4.0 (2.72s)
Computing version for https://github.com/ATProtoKit/ATCryptography.git
Computed https://github.com/ATProtoKit/ATCryptography.git at 0.2.0 (0.77s)
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/attaswift/BigInt.git
Fetching https://github.com/21-DOT-DEV/swift-secp256k1.git
[1/4826] Fetching bigint
[725/9975] Fetching bigint, swift-secp256k1
[9156/26251] Fetching bigint, swift-secp256k1, swift-crypto
Fetched https://github.com/attaswift/BigInt.git from cache (0.64s)
[6452/21425] Fetching swift-secp256k1, swift-crypto
Fetched https://github.com/21-DOT-DEV/swift-secp256k1.git from cache (2.34s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.37s)
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.77s)
Computing version for https://github.com/attaswift/BigInt.git
Computed https://github.com/attaswift/BigInt.git at 5.7.0 (0.35s)
Computing version for https://github.com/ATProtoKit/ATCommonTools.git
Computed https://github.com/ATProtoKit/ATCommonTools.git at 0.0.14 (0.40s)
Fetching https://github.com/ATProtoKit/MultiformatsKit.git
Fetching https://github.com/MasterJ93/swift-cbor.git
[1/579] Fetching multiformatskit
[297/706] Fetching multiformatskit, swift-cbor
Fetched https://github.com/MasterJ93/swift-cbor.git from cache (0.26s)
Fetched https://github.com/ATProtoKit/MultiformatsKit.git from cache (0.27s)
Computing version for https://github.com/ATProtoKit/MultiformatsKit.git
Computed https://github.com/ATProtoKit/MultiformatsKit.git at 0.3.0 (0.69s)
Computing version for https://github.com/MasterJ93/swift-cbor.git
Computed https://github.com/MasterJ93/swift-cbor.git at 0.0.8 (0.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.14.0 (1.01s)
Fetching https://github.com/apple/swift-asn1.git
[1/1629] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.28s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.4.0 (0.80s)
Creating working copy for https://github.com/ATProtoKit/ATCryptography.git
Working copy of https://github.com/ATProtoKit/ATCryptography.git resolved at 0.2.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.4.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.14.0
Creating working copy for https://github.com/ATProtoKit/ATCommonTools.git
Working copy of https://github.com/ATProtoKit/ATCommonTools.git resolved at 0.0.14
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/apple/swift-async-dns-resolver
Working copy of https://github.com/apple/swift-async-dns-resolver resolved at 0.4.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/MasterJ93/swift-cbor.git
Working copy of https://github.com/MasterJ93/swift-cbor.git resolved at 0.0.8
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
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/445] Write sources
[7/445] Write swift-version-24593BA9C3E375BF.txt
[8/445] Compiling ares__read_line.c
[9/445] Compiling precomputed_ecmult_gen.c
[10/460] Compiling Utility.c
[11/460] Compiling CCryptoBoringSSLShims shims.c
[12/460] Compiling fiat_p256_adx_sqr.S
[13/460] Compiling fiat_p256_adx_mul.S
[14/460] Compiling fiat_curve25519_adx_square.S
[15/460] Compiling fiat_curve25519_adx_mul.S
[16/460] Compiling md5-x86_64-linux.S
[17/460] Compiling md5-x86_64-apple.S
[18/460] Compiling md5-586-linux.S
[19/460] Compiling md5-586-apple.S
[20/460] Compiling chacha20_poly1305_x86_64-linux.S
[21/460] Compiling chacha20_poly1305_x86_64-apple.S
[22/460] Compiling windows.cc
[23/460] Compiling deterministic.cc
[24/460] Compiling chacha20_poly1305_armv8-apple.S
[25/460] Compiling chacha20_poly1305_armv8-linux.S
[26/460] Compiling chacha20_poly1305_armv8-win.S
[27/460] Compiling secp256k1.c
[28/460] Compiling chacha-x86_64-apple.S
[29/460] Compiling chacha-x86_64-linux.S
[30/460] Compiling chacha-x86-linux.S
[31/460] Compiling chacha-armv8-win.S
[32/460] Compiling chacha-x86-apple.S
[33/460] Compiling chacha-armv8-apple.S
[34/460] Compiling chacha-armv8-linux.S
[35/460] Compiling chacha-armv4-linux.S
[36/460] Compiling x86_64-mont5-linux.S
[37/460] Compiling aes128gcmsiv-x86_64-apple.S
[38/460] Compiling aes128gcmsiv-x86_64-linux.S
[39/460] Compiling x86_64-mont-linux.S
[40/460] Compiling x86_64-mont5-apple.S
[41/460] Compiling x86_64-mont-apple.S
[42/460] Compiling x86-mont-linux.S
[43/460] Compiling vpaes-x86-linux.S
[44/460] Compiling vpaes-x86_64-linux.S
[45/460] Compiling x86-mont-apple.S
[46/460] Compiling vpaes-x86_64-apple.S
[47/460] Compiling vpaes-armv8-win.S
[48/460] Compiling vpaes-x86-apple.S
[49/460] Compiling vpaes-armv8-linux.S
[50/460] Compiling vpaes-armv8-apple.S
[51/460] Compiling sha512-x86_64-linux.S
[52/460] Compiling vpaes-armv7-linux.S
[53/460] Compiling sha512-x86_64-apple.S
[54/460] Compiling sha512-armv8-win.S
[55/460] Compiling sha512-armv8-linux.S
[56/460] Compiling sha512-armv8-apple.S
[57/460] Compiling sha512-armv4-linux.S
[58/460] Compiling sha512-586-linux.S
[59/460] Compiling sha512-586-apple.S
[60/460] Compiling sha256-x86_64-linux.S
[61/460] Compiling sha256-x86_64-apple.S
[62/460] Compiling sha256-armv8-win.S
[63/460] Compiling sha256-armv8-linux.S
[64/460] Compiling sha256-armv8-apple.S
[65/460] Compiling err_data.cc
[66/460] Compiling sha256-armv4-linux.S
[67/460] Compiling sha256-586-linux.S
[68/460] Compiling sha1-x86_64-linux.S
[69/460] Compiling sha256-586-apple.S
[70/460] Compiling sha1-armv8-win.S
[71/460] Compiling sha1-x86_64-apple.S
[72/460] Compiling sha1-armv8-linux.S
[73/460] Compiling sha1-586-linux.S
[74/460] Compiling sha1-armv4-large-linux.S
[75/460] Compiling sha1-586-apple.S
[76/460] Compiling sha1-armv8-apple.S
[77/460] Compiling rsaz-avx2-linux.S
[78/460] Compiling rsaz-avx2-apple.S
[79/460] Compiling rdrand-x86_64-linux.S
[80/460] Compiling rdrand-x86_64-apple.S
[81/460] Compiling p256_beeu-x86_64-asm-apple.S
[82/460] Compiling p256_beeu-x86_64-asm-linux.S
[83/460] Compiling p256_beeu-armv8-asm-win.S
[84/460] Compiling p256_beeu-armv8-asm-linux.S
[85/460] Compiling p256-x86_64-asm-linux.S
[86/460] Compiling p256_beeu-armv8-asm-apple.S
[87/460] Compiling p256-x86_64-asm-apple.S
[88/460] Compiling p256-armv8-asm-win.S
[89/460] Compiling ghashv8-armv8-win.S
[90/460] Compiling p256-armv8-asm-linux.S
[91/460] Compiling p256-armv8-asm-apple.S
[92/460] Compiling ghashv8-armv8-apple.S
[93/460] Compiling ghashv8-armv8-linux.S
[94/460] Compiling ghashv8-armv7-linux.S
[95/460] Compiling ghash-x86_64-linux.S
[96/460] Compiling ghash-x86-linux.S
[97/460] Compiling ghash-x86_64-apple.S
[98/460] Compiling ghash-x86-apple.S
[99/460] Compiling ghash-ssse3-x86_64-linux.S
[100/460] Compiling ghash-ssse3-x86_64-apple.S
[101/460] Compiling ghash-ssse3-x86-linux.S
[102/460] Compiling ghash-neon-armv8-win.S
[103/460] Compiling ghash-neon-armv8-linux.S
[104/460] Compiling ghash-ssse3-x86-apple.S
[105/460] Compiling ghash-neon-armv8-apple.S
[106/460] Compiling ghash-armv4-linux.S
[107/460] Compiling co-586-linux.S
[108/460] Compiling bsaes-armv7-linux.S
[109/460] Compiling co-586-apple.S
[110/460] Compiling bn-armv8-win.S
[111/460] Compiling bn-armv8-linux.S
[112/460] Compiling bn-586-linux.S
[113/460] Compiling bn-armv8-apple.S
[114/460] Compiling bn-586-apple.S
[115/460] Compiling armv8-mont-apple.S
[116/460] Compiling armv8-mont-linux.S
[117/460] Compiling armv4-mont-linux.S
[118/460] Compiling aesv8-gcm-armv8-win.S
[119/460] Compiling armv8-mont-win.S
[120/460] Compiling aesv8-gcm-armv8-apple.S
[121/460] Compiling aesv8-armv8-linux.S
[122/460] Compiling aesv8-gcm-armv8-linux.S
[123/460] Compiling aesv8-armv8-apple.S
[124/460] Compiling aesv8-armv8-win.S
[125/460] Compiling aesni-x86_64-linux.S
[126/460] Compiling aesv8-armv7-linux.S
[127/460] Compiling aesni-x86_64-apple.S
[128/460] Compiling aesni-x86-linux.S
[129/460] Compiling aesni-x86-apple.S
[130/460] Compiling aesni-gcm-x86_64-linux.S
[131/460] Compiling aes-gcm-avx512-x86_64-linux.S
[132/460] Compiling aesni-gcm-x86_64-apple.S
[133/460] Compiling aes-gcm-avx2-x86_64-linux.S
[134/460] Compiling aes-gcm-avx2-x86_64-apple.S
[135/460] Compiling aes-gcm-avx512-x86_64-apple.S
[136/460] Compiling xwing.cc
[137/460] Compiling x_val.cc
[138/460] Compiling x_spki.cc
[139/460] Compiling x_x509a.cc
[140/460] Compiling x_x509.cc
[141/460] Compiling precomputed_ecmult.c
[142/460] Compiling x_sig.cc
[143/499] Compiling x_req.cc
[144/499] Compiling x_pubkey.cc
[145/499] Compiling x_exten.cc
[146/499] Compiling x_crl.cc
[147/499] Compiling x_name.cc
[148/499] Compiling x_algor.cc
[150/499] 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).
[151/499] 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).
[152/499] 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
[153/499] 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
[154/499] 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
[155/499] 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
[156/499] 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
[157/499] 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
[158/504] 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 {}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[159/504] 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 {}
[160/504] 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 {}
[161/504] 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/504] 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 {}
[163/504] 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
[164/504] 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
[165/504] 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
[166/504] 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
[167/504] 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
[168/504] 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
[169/504] 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
[170/504] 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
[171/504] 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
[172/504] 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
[173/504] 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).
[174/504] 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
[175/504] 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
[176/504] 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
[177/504] 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
[178/504] 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
[179/504] 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/504] 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/504] 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/504] 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/504] 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/504] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[185/504] Emitting module DIDCore
/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).
[186/504] 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 {}
[187/504] 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 {}
error: emit-module command failed with exit code 1 (use -v to see invocation)
[188/504] 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
[189/504] 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
[190/504] 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
[191/504] 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
[192/504] 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
[193/504] 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
[194/504] 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
[195/504] 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).
[196/504] 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).
[196/504] Compiling x_attrib.cc
[196/504] Compiling x509spki.cc
[196/504] Compiling x_all.cc
[196/504] Compiling x509name.cc
[196/504] Compiling x509rset.cc
BUILD FAILURE 6.2 wasm