The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-webauthn, reference main (b55c39), with Swift 6.3 for Wasm on 17 Apr 2026 05:30:18 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/brokenhandsio/swift-webauthn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-log.git
[1/1491] Fetching swiftcbor
[76/3768] Fetching swiftcbor, swift-docc-plugin
[1948/10379] Fetching swiftcbor, swift-docc-plugin, swift-log
[8794/27753] Fetching swiftcbor, swift-docc-plugin, swift-log, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (0.38s)
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (0.39s)
[7306/23985] Fetching swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (2.03s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.08s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.6.0 (4.73s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.4.6 (0.45s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.40s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.89s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.4.0 (2.51s)
Fetching https://github.com/apple/swift-asn1.git
[1/1803] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.31s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.0 (0.77s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.39s)
Creating working copy for https://github.com/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.6.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.12.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.7.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.6
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.4.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/383] Write sources
[10/383] Compiling KeccakHash.c
[11/383] Compiling SimpleFIPS202.c
[12/383] Compiling CXKCPShims shims.c
[13/383] Compiling aes-gcm-avx512-x86_64-apple.S
[14/383] Compiling KeccakSponge.c
[15/383] Write swift-version-24593BA9C3E375BF.txt
[16/383] Compiling fiat_p256_adx_sqr.S
[17/383] Compiling md5-x86_64-apple.S
[18/383] Compiling fiat_p256_adx_mul.S
[19/383] Compiling fiat_curve25519_adx_mul.S
[20/383] Compiling md5-x86_64-linux.S
[21/383] Compiling fiat_curve25519_adx_square.S
[22/383] Compiling md5-586-apple.S
[23/383] Compiling md5-586-linux.S
[24/390] Compiling chacha20_poly1305_x86_64-linux.S
[25/422] Compiling chacha20_poly1305_x86_64-apple.S
[26/422] Compiling chacha20_poly1305_armv8-win.S
[27/422] Compiling chacha20_poly1305_armv8-linux.S
[28/422] Compiling chacha20_poly1305_armv8-apple.S
[29/422] Compiling chacha-x86_64-linux.S
[30/422] Compiling chacha-x86_64-apple.S
[31/422] Compiling chacha-x86-apple.S
[32/422] Compiling chacha-x86-linux.S
[33/422] Compiling chacha-armv8-linux.S
[34/422] Compiling chacha-armv8-win.S
[35/422] Compiling CCryptoBoringSSLShims shims.c
[36/422] Compiling chacha-armv4-linux.S
[37/422] Compiling chacha-armv8-apple.S
[38/422] Compiling aes128gcmsiv-x86_64-linux.S
[39/422] Compiling aes128gcmsiv-x86_64-apple.S
[40/422] Compiling x86_64-mont5-linux.S
[41/422] Compiling err_data.cc
[42/422] Compiling x86_64-mont5-apple.S
[43/422] Compiling x86_64-mont-linux.S
[44/422] Compiling x86_64-mont-apple.S
[45/422] Compiling x86-mont-linux.S
[46/422] Compiling vpaes-x86_64-linux.S
[47/422] Compiling vpaes-x86_64-apple.S
[48/422] Compiling x86-mont-apple.S
[49/422] Compiling vpaes-x86-linux.S
[50/422] Compiling vpaes-armv8-linux.S
[51/422] Compiling vpaes-x86-apple.S
[52/422] Compiling vpaes-armv8-win.S
[53/422] Compiling vpaes-armv8-apple.S
[54/422] Compiling vpaes-armv7-linux.S
[55/422] Compiling sha512-x86_64-linux.S
[56/422] Compiling sha512-x86_64-apple.S
[57/422] Compiling sha512-armv8-win.S
[58/422] Compiling sha512-armv8-linux.S
[59/422] Compiling sha512-armv8-apple.S
[60/422] Compiling sha512-armv4-linux.S
[61/422] Compiling sha512-586-linux.S
[62/422] Compiling sha512-586-apple.S
[63/422] Compiling sha256-x86_64-linux.S
[64/422] Compiling sha256-x86_64-apple.S
[65/422] Compiling sha256-armv8-win.S
[66/422] Compiling sha256-armv8-linux.S
[67/422] Compiling sha256-armv8-apple.S
[68/422] Compiling sha256-armv4-linux.S
[69/422] Compiling sha256-586-apple.S
[70/422] Compiling sha256-586-linux.S
[71/422] Compiling sha1-x86_64-linux.S
[72/422] Compiling sha1-armv8-win.S
[73/422] Compiling sha1-x86_64-apple.S
[74/422] Compiling sha1-armv4-large-linux.S
[75/422] Compiling sha1-armv8-linux.S
[76/422] Compiling sha1-armv8-apple.S
[77/422] Compiling sha1-586-linux.S
[78/422] Compiling rsaz-avx2-linux.S
[79/422] Compiling sha1-586-apple.S
[80/422] Compiling rsaz-avx2-apple.S
[81/422] Compiling rdrand-x86_64-apple.S
[82/422] Compiling rdrand-x86_64-linux.S
[83/422] Compiling p256_beeu-x86_64-asm-apple.S
[84/422] Compiling p256_beeu-x86_64-asm-linux.S
[85/422] Compiling p256_beeu-armv8-asm-linux.S
[86/422] Compiling p256_beeu-armv8-asm-win.S
[87/422] Compiling p256-x86_64-asm-linux.S
[88/422] Compiling p256_beeu-armv8-asm-apple.S
[89/422] Compiling p256-x86_64-asm-apple.S
[90/422] Compiling p256-armv8-asm-win.S
[91/422] Compiling p256-armv8-asm-linux.S
[92/422] Compiling ghashv8-armv8-win.S
[93/422] Compiling p256-armv8-asm-apple.S
[94/422] Compiling ghashv8-armv8-linux.S
[94/422] Compiling ghashv8-armv8-apple.S
[96/422] Compiling ghashv8-armv7-linux.S
[97/422] Compiling ghash-x86_64-linux.S
[98/422] Compiling ghash-x86_64-apple.S
[99/422] Compiling ghash-x86-linux.S
[100/422] Compiling ghash-ssse3-x86_64-linux.S
[101/422] Compiling ghash-ssse3-x86_64-apple.S
[102/422] Compiling ghash-x86-apple.S
[103/422] Compiling ghash-ssse3-x86-linux.S
[104/422] Compiling ghash-ssse3-x86-apple.S
[105/422] Compiling ghash-neon-armv8-linux.S
[106/422] Compiling ghash-neon-armv8-win.S
[107/422] Compiling ghash-neon-armv8-apple.S
[108/422] Compiling ghash-armv4-linux.S
[109/422] Compiling co-586-linux.S
[110/422] Compiling co-586-apple.S
[111/422] Compiling bsaes-armv7-linux.S
[112/422] Compiling bn-armv8-win.S
[113/422] Compiling bn-armv8-linux.S
[114/422] Compiling bn-armv8-apple.S
[115/422] Compiling armv8-mont-win.S
[116/422] Compiling bn-586-linux.S
[117/422] Compiling bn-586-apple.S
[118/422] Compiling armv8-mont-linux.S
[119/422] Compiling aesv8-gcm-armv8-win.S
[120/422] Compiling armv8-mont-apple.S
[121/422] Compiling armv4-mont-linux.S
[122/422] Compiling aesv8-gcm-armv8-linux.S
[123/422] Compiling aesv8-gcm-armv8-apple.S
[124/422] Compiling aesv8-armv8-win.S
[125/422] Compiling aesv8-armv8-linux.S
[126/422] Compiling aesv8-armv7-linux.S
[127/422] Compiling aesv8-armv8-apple.S
[128/422] Compiling aesni-x86_64-linux.S
[129/422] Compiling aesni-x86_64-apple.S
[130/422] Compiling aesni-x86-linux.S
[131/422] Compiling aesni-x86-apple.S
[132/422] Compiling aesni-gcm-x86_64-linux.S
[133/422] Compiling aesni-gcm-x86_64-apple.S
[134/422] Compiling aes-gcm-avx512-x86_64-linux.S
[135/422] Compiling aes-gcm-avx2-x86_64-linux.S
[136/422] Compiling aes-gcm-avx2-x86_64-apple.S
[138/422] Emitting module SwiftCBOR
[138/424] Compiling xwing.cc
[139/424] Compiling x_spki.cc
[140/424] Compiling x_x509.cc
[141/424] Compiling x_x509a.cc
[143/424] Emitting module SwiftASN1
[143/426] Compiling x_sig.cc
[144/426] Compiling x_req.cc
[145/426] Compiling x_pubkey.cc
[146/426] Compiling x_name.cc
[148/426] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[149/426] Compiling SwiftASN1 DER.swift
[150/426] Compiling SwiftASN1 ArraySliceBigint.swift
[151/426] Compiling SwiftASN1 GeneralizedTime.swift
[152/426] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[155/426] Compiling SwiftASN1 Errors.swift
[156/426] Compiling SwiftASN1 ASN1OctetString.swift
[157/426] Compiling SwiftASN1 ASN1Strings.swift
[157/426] Compiling x_exten.cc
[158/426] Compiling x_crl.cc
[160/426] Emitting module Logging
[161/426] Compiling Logging Locks.swift
[162/426] Compiling Logging MetadataProvider.swift
[163/426] Compiling SwiftASN1 ObjectIdentifier.swift
[164/426] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[165/426] Compiling SwiftASN1 ASN1Integer.swift
[166/426] Compiling SwiftASN1 ASN1Null.swift
[167/426] Compiling SwiftASN1 ASN1BitString.swift
[168/426] Compiling SwiftASN1 ASN1Boolean.swift
[169/426] Compiling SwiftASN1 ASN1Identifier.swift
[170/426] Compiling SwiftASN1 ASN1.swift
[171/426] Compiling SwiftASN1 BER.swift
[172/426] Compiling SwiftASN1 ASN1Any.swift
[173/427] Compiling x_attrib.cc
[174/427] Compiling x_all.cc
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:276:53: error: cannot find 'NSEC_PER_SEC' in scope
274 |
275 |         let seconds = Int64(integral)
276 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
277 |
278 |         switch options.dateStrategy {
/host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift:276:53: error: cannot find 'NSEC_PER_SEC' in scope
274 |
275 |         let seconds = Int64(integral)
276 |         let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
    |                                                     `- error: cannot find 'NSEC_PER_SEC' in scope
277 |
278 |         switch options.dateStrategy {
[190/427] Compiling x509spki.cc
[190/427] Compiling KeccakP-1600-opt64.c
[190/427] Compiling x509cset.cc
[190/427] Compiling x509rset.cc
[190/427] Compiling x509name.cc
[191/427] Compiling Logging LogHandler.swift
[192/427] Compiling Logging LogEvent.swift
[192/427] Compiling x_algor.cc
BUILD FAILURE 6.3 wasm