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 (b55c39), with Swift 6.2 for Wasm on 25 Nov 2025 20:31:11 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brokenhandsio/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/brokenhandsio/swift-webauthn
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b55c39f Added support for optional `AuthenticatorSelection` (#120)
Cloned https://github.com/brokenhandsio/swift-webauthn.git
Revision (git rev-parse @):
b55c39fa6e1d3fdbd044a36f4a39ebf3a518ea70
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brokenhandsio/swift-webauthn.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/brokenhandsio/swift-webauthn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
[1/1412] Fetching swiftcbor
[143/3570] Fetching swiftcbor, swift-docc-plugin
[1651/8645] Fetching swiftcbor, swift-docc-plugin, swift-log
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.29s)
[3114/7233] Fetching swift-docc-plugin, swift-log
[7234/24686] Fetching swift-docc-plugin, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.47s)
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (0.47s)
[1048/17453] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (2.37s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (4.79s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.5 (0.41s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3581] 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.85s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.35s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (3.03s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.26s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (0.67s)
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.0
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.4
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/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.4.5
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/383] Write sources
[7/383] Compiling a_d2i_fp.cc
[8/383] Write sources
[8/383] Compiling cpu_aarch64_win.cc
[12/383] Compiling a_dup.cc
[13/383] Compiling CXKCPShims shims.c
[14/383] Compiling SimpleFIPS202.c
[15/383] Compiling KeccakSponge.c
[16/383] Compiling KeccakHash.c
[17/383] Compiling a_i2d_fp.cc
[18/383] Write swift-version-24593BA9C3E375BF.txt
[19/383] Compiling a_gentm.cc
[20/383] Compiling fiat_p256_adx_sqr.S
[21/383] Compiling evp_ctx.cc
[22/383] Compiling fiat_p256_adx_mul.S
[23/383] Compiling fiat_curve25519_adx_square.S
[24/383] Compiling a_int.cc
[25/421] Compiling fiat_curve25519_adx_mul.S
[26/421] Compiling md5-x86_64-apple.S
[27/421] Compiling md5-x86_64-linux.S
[28/421] Compiling CCryptoBoringSSLShims shims.c
[29/421] Compiling md5-586-linux.S
[30/421] Compiling md5-586-apple.S
[31/421] Compiling chacha20_poly1305_x86_64-linux.S
[32/421] Compiling chacha20_poly1305_x86_64-apple.S
[33/421] Compiling chacha20_poly1305_armv8-win.S
[34/421] Compiling chacha20_poly1305_armv8-linux.S
[35/421] Compiling chacha20_poly1305_armv8-apple.S
[36/421] Compiling chacha-x86_64-linux.S
[37/421] Compiling chacha-x86_64-apple.S
[38/421] Compiling chacha-x86-linux.S
[39/421] Compiling chacha-x86-apple.S
[40/421] Compiling chacha-armv8-linux.S
[41/421] Compiling chacha-armv8-apple.S
[42/421] Compiling chacha-armv8-win.S
[43/421] Compiling chacha-armv4-linux.S
[44/421] Compiling aes128gcmsiv-x86_64-apple.S
[45/421] Compiling aes128gcmsiv-x86_64-linux.S
[46/421] Compiling x86_64-mont5-linux.S
[47/421] Compiling x86_64-mont5-apple.S
[48/421] Compiling x86_64-mont-linux.S
[49/421] Compiling err_data.cc
[50/421] Compiling x86_64-mont-apple.S
[51/421] Compiling x86-mont-linux.S
[52/421] Compiling x86-mont-apple.S
[53/421] Compiling vpaes-x86_64-linux.S
[54/421] Compiling vpaes-x86_64-apple.S
[55/421] Compiling vpaes-x86-linux.S
[56/421] Compiling vpaes-x86-apple.S
[57/421] Compiling vpaes-armv8-win.S
[58/421] Compiling vpaes-armv8-linux.S
[59/421] Compiling vpaes-armv7-linux.S
[60/421] Compiling vpaes-armv8-apple.S
[61/421] Compiling sha512-x86_64-linux.S
[62/421] Compiling sha512-x86_64-apple.S
[63/421] Compiling sha512-armv8-win.S
[64/421] Compiling sha512-armv8-linux.S
[65/421] Compiling sha512-armv8-apple.S
[66/421] Compiling sha512-armv4-linux.S
[67/421] Compiling sha512-586-linux.S
[68/421] Compiling sha256-x86_64-apple.S
[69/421] Compiling sha512-586-apple.S
[70/421] Compiling sha256-armv8-win.S
[71/421] Compiling sha256-armv8-linux.S
[72/421] Compiling sha256-x86_64-linux.S
[73/421] Compiling sha256-armv8-apple.S
[74/421] Compiling sha256-586-linux.S
[75/421] Compiling sha256-armv4-linux.S
[76/421] Compiling sha256-586-apple.S
[77/421] Compiling sha1-x86_64-apple.S
[78/421] Compiling sha1-x86_64-linux.S
[79/421] Compiling sha1-armv8-linux.S
[80/421] Compiling sha1-armv8-win.S
[81/421] Compiling sha1-armv8-apple.S
[82/421] Compiling sha1-armv4-large-linux.S
[83/421] Compiling rsaz-avx2-linux.S
[84/421] Compiling sha1-586-apple.S
[85/421] Compiling sha1-586-linux.S
[86/421] Compiling rsaz-avx2-apple.S
[87/421] Compiling rdrand-x86_64-linux.S
[88/421] Compiling p256_beeu-x86_64-asm-linux.S
[89/421] Compiling rdrand-x86_64-apple.S
[90/421] Compiling p256_beeu-x86_64-asm-apple.S
[91/421] Compiling p256_beeu-armv8-asm-win.S
[92/421] Compiling p256_beeu-armv8-asm-apple.S
[93/421] Compiling p256_beeu-armv8-asm-linux.S
[94/421] Compiling p256-x86_64-asm-linux.S
[95/421] Compiling p256-x86_64-asm-apple.S
[96/421] Compiling p256-armv8-asm-linux.S
[97/421] Compiling p256-armv8-asm-apple.S
[98/421] Compiling p256-armv8-asm-win.S
[99/421] Compiling ghashv8-armv8-win.S
[100/421] Compiling ghashv8-armv8-linux.S
[101/421] Compiling ghashv8-armv8-apple.S
[102/421] Compiling ghashv8-armv7-linux.S
[103/421] Compiling ghash-x86_64-apple.S
[104/421] Compiling ghash-x86_64-linux.S
[105/421] Compiling ghash-x86-linux.S
[106/421] Compiling ghash-ssse3-x86_64-linux.S
[107/421] Compiling ghash-ssse3-x86_64-apple.S
[108/421] Compiling ghash-x86-apple.S
[109/421] Compiling ghash-ssse3-x86-linux.S
[110/421] Compiling ghash-ssse3-x86-apple.S
[111/421] Compiling ghash-neon-armv8-win.S
[112/421] Compiling ghash-neon-armv8-linux.S
[113/421] Compiling ghash-armv4-linux.S
[114/421] Compiling ghash-neon-armv8-apple.S
[115/421] Compiling co-586-linux.S
[116/421] Compiling co-586-apple.S
[117/421] Compiling bsaes-armv7-linux.S
[118/421] Compiling bn-armv8-win.S
[119/421] Compiling bn-armv8-linux.S
[120/421] Compiling bn-armv8-apple.S
[121/421] Compiling bn-586-linux.S
[122/421] Compiling bn-586-apple.S
[123/421] Compiling armv8-mont-win.S
[124/421] Compiling armv8-mont-apple.S
[125/421] Compiling aesv8-gcm-armv8-win.S
[126/421] Compiling armv8-mont-linux.S
[127/421] Compiling armv4-mont-linux.S
[128/421] Compiling aesv8-gcm-armv8-linux.S
[129/421] Compiling aesv8-gcm-armv8-apple.S
[130/421] Compiling aesv8-armv8-linux.S
[131/421] Compiling aesv8-armv8-win.S
[132/421] Compiling aesv8-armv7-linux.S
[133/421] Compiling aesv8-armv8-apple.S
[134/421] Compiling aesni-x86_64-apple.S
[135/421] Compiling aesni-x86_64-linux.S
[136/421] Compiling aesni-x86-linux.S
[137/421] Compiling aesni-gcm-x86_64-linux.S
[138/421] Compiling aesni-x86-apple.S
[139/421] Compiling aesni-gcm-x86_64-apple.S
[140/421] Compiling aes-gcm-avx512-x86_64-apple.S
[141/421] Compiling aes-gcm-avx2-x86_64-linux.S
[142/421] Compiling aes-gcm-avx512-x86_64-linux.S
[143/421] Compiling aes-gcm-avx2-x86_64-apple.S
[144/421] Compiling xwing.cc
[145/421] Compiling x_spki.cc
[146/421] Compiling x_x509.cc
[147/421] Compiling x_x509a.cc
[149/421] Compiling SwiftASN1 ASN1Integer.swift
[150/421] Compiling SwiftASN1 ASN1Null.swift
[151/423] Compiling SwiftASN1 TimeUtilities.swift
[152/423] Compiling SwiftASN1 UTCTime.swift
[153/423] Compiling SwiftASN1 ASN1BitString.swift
[154/423] Compiling SwiftASN1 ASN1Boolean.swift
[155/423] Compiling SwiftASN1 ASN1Identifier.swift
[156/423] Compiling SwiftASN1 ASN1.swift
[157/423] Compiling SwiftASN1 BER.swift
[158/423] Compiling SwiftASN1 ASN1Any.swift
[159/423] Emitting module SwiftASN1
[159/423] Compiling x_sig.cc
[160/423] Compiling x_req.cc
[162/423] Compiling SwiftASN1 ASN1OctetString.swift
[163/423] Compiling SwiftASN1 ASN1Strings.swift
[164/423] Compiling SwiftASN1 ObjectIdentifier.swift
[165/423] Compiling SwiftASN1 PEMDocument.swift
[166/423] Compiling SwiftASN1 ArraySliceBigint.swift
[167/423] Compiling SwiftASN1 GeneralizedTime.swift
[167/423] Compiling x_name.cc
[168/423] Compiling x_pubkey.cc
[170/423] Compiling Logging MetadataProvider.swift
[170/423] Compiling KeccakP-1600-opt64.c
[172/423] Compiling SwiftASN1 DER.swift
[173/423] Compiling SwiftASN1 Errors.swift
[188/426] Emitting module SwiftCBOR
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:259:53: error: cannot find 'NSEC_PER_SEC' in scope
257 |
258 |         let seconds = Int64(integral)
259 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
260 |
261 |         switch options.dateStrategy {
[191/426] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[192/426] Compiling SwiftCBOR Util.swift
[192/426] Compiling x_exten.cc
[193/426] Compiling x_algor.cc
[193/426] Compiling x_all.cc
[194/426] Compiling Logging LogHandler.swift
[195/426] Compiling Logging Logging.swift
[196/426] Emitting module Logging
[197/426] Compiling Logging Locks.swift
[197/426] Compiling x_crl.cc
[197/426] Compiling x509rset.cc
[197/426] Compiling x_attrib.cc
[197/426] Compiling x509spki.cc
BUILD FAILURE 6.2 wasm