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 swift-webauthn, reference main (d90659), with Swift 6.2 (beta) for Wasm on 22 Jun 2025 02:26:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/swift-server/swift-webauthn.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/swift-server/swift-webauthn
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d906591 Added RSA key and signature support (#88)
Cloned https://github.com/swift-server/swift-webauthn.git
Revision (git rev-parse @):
d906591937ccf5a2487b3ae837ec1abb35922fcd
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-webauthn.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swift-server/swift-webauthn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/1397] Fetching swiftcbor
[43/5233] Fetching swiftcbor, swift-log
[1884/7315] Fetching swiftcbor, swift-log, swift-docc-plugin
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.32s)
[4461/5918] Fetching swift-log, swift-docc-plugin
[5919/21337] Fetching swift-log, swift-docc-plugin, swift-crypto
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (0.40s)
[4916/19255] Fetching swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (1.46s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.49s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (3.73s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.4 (0.39s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.87s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (1.57s)
Fetching https://github.com/apple/swift-asn1.git
[1/1616] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.83s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.4.4
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/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.5.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/370] Write sources
[9/370] Compiling CCryptoBoringSSLShims shims.c
[10/370] Compiling fiat_p256_adx_sqr.S
[11/370] Compiling asn1_par.cc
[12/370] Compiling asn_pack.cc
[13/370] Compiling a_bitstr.cc
[14/370] Compiling fiat_p256_adx_mul.S
[14/370] Compiling fiat_curve25519_adx_square.S
[16/370] Compiling fiat_curve25519_adx_mul.S
[17/370] Compiling md5-x86_64-linux.S
[18/370] Compiling md5-586-linux.S
[19/370] Compiling md5-x86_64-apple.S
[20/370] Compiling md5-586-apple.S
[21/370] Compiling a_utctm.cc
[22/370] Write swift-version-24593BA9C3E375BF.txt
[23/370] Compiling a_type.cc
[24/370] Compiling asn1_lib.cc
[25/370] Compiling chacha20_poly1305_armv8-win.S
[26/370] Compiling chacha20_poly1305_armv8-linux.S
[27/370] Compiling chacha20_poly1305_x86_64-apple.S
[28/370] Compiling chacha20_poly1305_x86_64-linux.S
[29/370] Compiling chacha20_poly1305_armv8-apple.S
[30/384] Compiling chacha-x86_64-apple.S
[31/408] Compiling chacha-x86_64-linux.S
[32/408] Compiling chacha-x86-apple.S
[33/408] Compiling chacha-x86-linux.S
[34/408] Compiling chacha-armv8-linux.S
[35/408] Compiling chacha-armv8-win.S
[36/408] Compiling chacha-armv4-linux.S
[37/408] Compiling chacha-armv8-apple.S
[38/408] Compiling aes128gcmsiv-x86_64-linux.S
[39/408] Compiling aes128gcmsiv-x86_64-apple.S
[40/408] Compiling x86_64-mont5-linux.S
[41/408] Compiling x86_64-mont5-apple.S
[42/408] Compiling x86_64-mont-linux.S
[43/408] Compiling x86-mont-linux.S
[44/408] Compiling x86-mont-apple.S
[44/408] Compiling x86_64-mont-apple.S
[46/408] Compiling vpaes-x86_64-linux.S
[47/408] Compiling vpaes-x86-apple.S
[48/408] Compiling vpaes-x86-linux.S
[49/408] Compiling vpaes-armv8-win.S
[50/408] Compiling vpaes-x86_64-apple.S
[51/408] Compiling vpaes-armv8-linux.S
[52/408] Compiling vpaes-armv8-apple.S
[53/408] Compiling sha512-x86_64-apple.S
[54/408] Compiling vpaes-armv7-linux.S
[55/408] Compiling sha512-x86_64-linux.S
[56/408] Compiling err_data.cc
[57/408] Compiling sha512-armv8-apple.S
[58/408] Compiling sha512-armv8-win.S
[59/408] Compiling sha512-586-linux.S
[60/408] Compiling sha512-armv4-linux.S
[61/408] Compiling sha512-armv8-linux.S
[62/408] Compiling sha512-586-apple.S
[63/408] Compiling sha256-x86_64-apple.S
[64/408] Compiling sha256-armv8-linux.S
[65/408] Compiling sha256-armv8-win.S
[66/408] Compiling sha256-x86_64-linux.S
[67/408] Compiling sha256-armv8-apple.S
[68/408] Compiling sha256-armv4-linux.S
[69/408] Compiling sha256-586-apple.S
[70/408] Compiling sha256-586-linux.S
[71/408] Compiling sha1-x86_64-apple.S
[72/408] Compiling sha1-x86_64-linux.S
[73/408] Compiling sha1-586-linux.S
[74/408] Compiling sha1-armv8-win.S
[75/408] Compiling sha1-armv4-large-linux.S
[76/408] Compiling sha1-armv8-linux.S
[77/408] Compiling sha1-armv8-apple.S
[78/408] Compiling sha1-586-apple.S
[79/408] Compiling rsaz-avx2-apple.S
[80/408] Compiling rdrand-x86_64-linux.S
[81/408] Compiling rsaz-avx2-linux.S
[82/408] Compiling rdrand-x86_64-apple.S
[83/408] Compiling p256_beeu-armv8-asm-linux.S
[84/408] Compiling p256_beeu-x86_64-asm-apple.S
[85/408] Compiling p256_beeu-armv8-asm-win.S
[86/408] Compiling p256_beeu-x86_64-asm-linux.S
[87/408] Compiling p256_beeu-armv8-asm-apple.S
[88/408] Compiling p256-x86_64-asm-linux.S
[89/408] Compiling p256-x86_64-asm-apple.S
[90/408] Compiling p256-armv8-asm-apple.S
[90/408] Compiling p256-armv8-asm-linux.S
[92/408] Compiling p256-armv8-asm-win.S
[93/408] Compiling ghashv8-armv8-win.S
[94/408] Compiling ghashv8-armv8-linux.S
[95/408] Compiling ghashv8-armv8-apple.S
[96/408] Compiling ghash-x86_64-apple.S
[97/408] Compiling ghash-x86-linux.S
[98/408] Compiling ghash-x86_64-linux.S
[99/408] Compiling ghashv8-armv7-linux.S
[100/408] Compiling ghash-x86-apple.S
[101/408] Compiling ghash-ssse3-x86-linux.S
[102/408] Compiling ghash-ssse3-x86_64-linux.S
[103/408] Compiling ghash-ssse3-x86_64-apple.S
[104/408] Compiling ghash-ssse3-x86-apple.S
[105/408] Compiling ghash-neon-armv8-apple.S
[106/408] Compiling ghash-armv4-linux.S
[107/408] Compiling ghash-neon-armv8-win.S
[108/408] Compiling ghash-neon-armv8-linux.S
[109/408] Compiling bsaes-armv7-linux.S
[110/408] Compiling co-586-apple.S
[111/408] Compiling co-586-linux.S
[112/408] Compiling bn-armv8-linux.S
[113/408] Compiling bn-armv8-win.S
[114/408] Compiling bn-armv8-apple.S
[114/408] Compiling bn-586-linux.S
[116/408] Compiling armv8-mont-win.S
[117/408] Compiling bn-586-apple.S
[118/408] Compiling armv8-mont-linux.S
[119/408] Compiling aesv8-gcm-armv8-win.S
[120/408] Compiling armv8-mont-apple.S
[121/408] Compiling armv4-mont-linux.S
[122/408] Compiling aesv8-gcm-armv8-linux.S
[123/408] Compiling aesv8-armv8-win.S
[124/408] Compiling aesv8-gcm-armv8-apple.S
[125/408] Compiling aesv8-armv8-linux.S
[126/408] Compiling aesv8-armv8-apple.S
[127/408] Compiling aesv8-armv7-linux.S
[128/408] Compiling aesni-x86_64-linux.S
[129/408] Compiling aesni-x86_64-apple.S
[130/408] Compiling aesni-x86-linux.S
[131/408] Compiling aesni-x86-apple.S
[132/408] Compiling aes-gcm-avx10-x86_64-linux.S
[133/408] Compiling aesni-gcm-x86_64-linux.S
[134/408] Compiling aesni-gcm-x86_64-apple.S
[135/408] Compiling aes-gcm-avx10-x86_64-apple.S
[136/408] Compiling x_sig.cc
[137/408] Compiling x_spki.cc
[138/408] Compiling x_x509.cc
[139/408] Compiling x_val.cc
[140/408] Compiling x_x509a.cc
[141/408] Compiling x_req.cc
[142/408] Compiling x_pubkey.cc
[143/408] Compiling x_exten.cc
[144/408] Compiling x_crl.cc
[145/408] Compiling x_name.cc
[147/408] Compiling SwiftASN1 ASN1Strings.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[148/408] Compiling SwiftASN1 TimeUtilities.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[149/410] Emitting module SwiftCBOR
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[150/410] Compiling SwiftASN1 ASN1Any.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[151/410] Compiling SwiftASN1 ASN1BitString.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[152/410] Compiling SwiftASN1 ASN1Boolean.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[153/410] Compiling SwiftASN1 ASN1Identifier.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[154/410] Compiling SwiftASN1 ASN1Integer.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[155/410] Compiling SwiftASN1 ASN1.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[156/410] Compiling SwiftASN1 BER.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[158/410] Compiling SwiftASN1 ASN1Null.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[160/410] Compiling SwiftASN1 ASN1OctetString.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[161/412] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[162/412] Compiling SwiftCBOR CodableCBOREncoder.swift
[164/412] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[167/412] Compiling SwiftCBOR KeyedEncodingContainer.swift
[168/412] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[170/412] Compiling SwiftASN1 DER.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[177/412] Emitting module SwiftASN1
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift:1:8: error: no such module 'Foundation'
  1 | import Foundation
    |        `- error: no such module 'Foundation'
  2 |
  3 | final public class CodableCBORDecoder {
[181/412] Compiling x_algor.cc
[181/412] Compiling x509rset.cc
[181/412] Compiling x_all.cc
[182/412] Compiling Logging LogHandler.swift
[182/412] Compiling x_attrib.cc
[182/412] Compiling x509spki.cc
BUILD FAILURE 6.2 wasm