The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-webauthn, reference main (030acd), with Swift 6.2 for Wasm on 9 Oct 2026 20:36:47 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
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 030acd1 Updated `swift-crypto` to include 5.0.0 (#129)
Cloned https://github.com/brokenhandsio/swift-webauthn.git
Revision (git rev-parse @):
030acd1eedaa835958ae3fcc0e491bec03b2abf1
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-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:c092ff8dc506a2a30e6239b6992792fd4f7dfaaa46cac3b3c48d8fe35e954282
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/2345] Fetching swift-docc-plugin
[2/3893] Fetching swift-docc-plugin, swiftcbor
[18/12150] Fetching swift-docc-plugin, swiftcbor, swift-log
[2848/30763] Fetching swift-docc-plugin, swiftcbor, swift-log, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (1.24s)
Fetched https://github.com/apple/swift-log.git from cache (1.24s)
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (1.24s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.25s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.6.0 (2.13s)
Computing version for https://github.com/swiftlang/swift-docc-plugin.git
Computed https://github.com/swiftlang/swift-docc-plugin.git at 1.5.0 (0.17s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3835] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.68s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.88s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.0 (1.19s)
Fetching https://github.com/apple/swift-asn1.git
[1/2009] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.60s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (0.14s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
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/swiftlang/swift-docc-plugin.git
Working copy of https://github.com/swiftlang/swift-docc-plugin.git resolved at 1.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.7.3
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/382] Write sources
[10/382] Compiling CXKCPShims shims.c
[11/382] Compiling SimpleFIPS202.c
[11/382] Compiling KeccakHash.c
[13/382] Compiling KeccakSponge.c
[14/382] Compiling fiat_p256_adx_mul.S
[15/382] Compiling fiat_p256_adx_sqr.S
[16/382] Compiling fiat_curve25519_adx_square.S
[17/382] Compiling fiat_curve25519_adx_mul.S
[18/382] Compiling md5-x86_64-linux.S
[19/382] Compiling md5-586-linux.S
[19/382] Compiling md5-586-apple.S
[21/382] Write swift-version-24593BA9C3E375BF.txt
[22/382] Compiling md5-x86_64-apple.S
[23/382] Compiling chacha20_poly1305_x86_64-apple.S
[24/382] Compiling chacha20_poly1305_x86_64-linux.S
[25/382] Compiling chacha20_poly1305_armv8-win.S
[26/382] Compiling chacha20_poly1305_armv8-linux.S
[27/399] Compiling chacha20_poly1305_armv8-apple.S
[28/415] Compiling chacha-x86_64-linux.S
[29/415] Compiling chacha-x86_64-apple.S
[30/420] Compiling chacha-x86-linux.S
[31/421] Compiling chacha-armv8-win.S
[32/426] Compiling chacha-x86-apple.S
[33/426] Compiling chacha-armv8-linux.S
[34/426] Compiling chacha-armv4-linux.S
[35/426] Compiling aes128gcmsiv-x86_64-linux.S
[36/426] Compiling chacha-armv8-apple.S
[37/426] Compiling aes128gcmsiv-x86_64-apple.S
[38/426] Compiling x86_64-mont5-linux.S
[39/426] Compiling x86_64-mont5-apple.S
[40/426] Compiling x86_64-mont-linux.S
[41/426] Compiling x86_64-mont-apple.S
[42/426] Compiling x86-mont-linux.S
[43/426] Compiling vpaes-x86_64-linux.S
[44/426] Compiling x86-mont-apple.S
[45/426] Compiling vpaes-x86_64-apple.S
[46/426] Compiling vpaes-x86-linux.S
[47/426] Compiling vpaes-x86-apple.S
[48/426] Compiling vpaes-armv8-win.S
[49/426] Compiling err_data.cc
[50/426] Compiling vpaes-armv8-linux.S
[51/426] Compiling vpaes-armv8-apple.S
[52/426] Compiling vpaes-armv7-linux.S
[53/426] Compiling sha512-x86_64-linux.S
[54/426] Compiling sha512-x86_64-apple.S
[55/426] Compiling sha512-armv8-win.S
[56/426] Compiling sha512-armv8-linux.S
[57/426] Compiling sha512-armv8-apple.S
[58/426] Compiling sha512-armv4-linux.S
[59/426] Compiling sha512-586-linux.S
[60/426] Compiling sha512-586-apple.S
[61/426] Compiling sha256-x86_64-linux.S
[62/426] Compiling sha256-armv8-win.S
[63/426] Compiling sha256-x86_64-apple.S
[64/426] Compiling sha256-armv8-linux.S
[65/426] Compiling sha256-armv4-linux.S
[66/426] Compiling sha256-armv8-apple.S
[67/426] Compiling sha256-586-linux.S
[68/426] Compiling sha256-586-apple.S
[69/426] Compiling sha1-x86_64-linux.S
[70/426] Compiling sha1-x86_64-apple.S
[71/426] Compiling sha1-armv8-win.S
[72/426] Compiling sha1-armv8-apple.S
[73/426] Compiling sha1-armv8-linux.S
[74/426] Compiling sha1-armv4-large-linux.S
[75/426] Compiling sha1-586-apple.S
[76/426] Compiling sha1-586-linux.S
[77/426] Compiling rsaz-avx2-linux.S
[78/426] Compiling rsaz-avx2-apple.S
[79/426] Compiling rdrand-x86_64-linux.S
[80/426] Compiling rdrand-x86_64-apple.S
[81/426] Compiling p256_beeu-x86_64-asm-linux.S
[82/426] Compiling p256_beeu-x86_64-asm-apple.S
[83/426] Compiling p256_beeu-armv8-asm-win.S
[84/426] Compiling p256_beeu-armv8-asm-linux.S
[85/426] Compiling p256_beeu-armv8-asm-apple.S
[86/426] Compiling p256-x86_64-asm-apple.S
[87/426] Compiling p256-x86_64-asm-linux.S
[88/426] Compiling p256-armv8-asm-win.S
[88/426] Compiling p256-armv8-asm-linux.S
[90/426] Compiling p256-armv8-asm-apple.S
[91/426] Compiling ghashv8-armv8-win.S
[92/426] Compiling ghashv8-armv8-linux.S
[93/426] Compiling ghashv8-armv8-apple.S
[94/426] Compiling ghashv8-armv7-linux.S
[95/426] Compiling ghash-x86_64-linux.S
[96/426] Compiling ghash-x86_64-apple.S
[97/426] Compiling ghash-x86-linux.S
[98/426] Compiling ghash-x86-apple.S
[99/426] Compiling ghash-ssse3-x86_64-apple.S
[100/426] Compiling ghash-ssse3-x86_64-linux.S
[101/426] Compiling ghash-ssse3-x86-linux.S
[102/426] Compiling ghash-ssse3-x86-apple.S
[103/426] Compiling ghash-neon-armv8-win.S
[104/426] Compiling ghash-neon-armv8-linux.S
[105/426] Compiling ghash-neon-armv8-apple.S
[106/426] Compiling co-586-linux.S
[107/426] Compiling ghash-armv4-linux.S
[108/426] Compiling co-586-apple.S
[109/426] Compiling bsaes-armv7-linux.S
[110/426] Compiling bn-armv8-linux.S
[110/426] Compiling bn-armv8-win.S
[112/426] Compiling bn-armv8-apple.S
[113/426] Compiling bn-586-linux.S
[114/426] Compiling armv8-mont-win.S
[115/426] Compiling bn-586-apple.S
[116/426] Compiling armv8-mont-apple.S
[117/426] Compiling armv8-mont-linux.S
[118/426] Compiling armv4-mont-linux.S
[119/426] Compiling aesv8-gcm-armv8-win.S
[120/426] Compiling aesv8-gcm-armv8-linux.S
[121/426] Compiling aesv8-gcm-armv8-apple.S
[122/426] Compiling aesv8-armv8-linux.S
[123/426] Compiling aesv8-armv8-win.S
[124/426] Compiling aesv8-armv7-linux.S
[125/426] Compiling aesv8-armv8-apple.S
[126/426] Compiling aesni-x86_64-linux.S
[127/426] Compiling aesni-x86-linux.S
[128/426] Compiling aesni-x86-apple.S
[129/426] Compiling aesni-x86_64-apple.S
[130/426] Compiling aesni-gcm-x86_64-linux.S
[131/426] Compiling aesni-gcm-x86_64-apple.S
[132/426] Compiling aes-gcm-avx512-x86_64-linux.S
[133/426] Compiling aes-gcm-avx512-x86_64-apple.S
[134/426] Compiling aes-gcm-avx2-x86_64-linux.S
[135/426] Compiling aes-gcm-avx2-x86_64-apple.S
[136/426] Compiling xwing.cc
[137/426] Compiling x_x509a.cc
[138/426] Compiling x_x509.cc
[139/426] Compiling x_spki.cc
[140/426] Compiling x_sig.cc
[141/426] Compiling x_req.cc
[142/426] Compiling x_pubkey.cc
[143/426] Compiling x_name.cc
[144/426] Compiling x_crl.cc
[145/426] Compiling x_exten.cc
[147/426] Compiling Logging LoggingSystem.swift
[148/427] Compiling SwiftASN1 TimeUtilities.swift
[149/427] Compiling SwiftASN1 UTCTime.swift
[150/429] Compiling Logging LogEvent.swift
[151/429] Compiling Logging LogHandler.swift
[152/429] Compiling Logging SwiftLogNoOpLogHandler.swift
[153/429] Compiling Logging Locks.swift
[155/429] Emitting module SwiftASN1
[156/429] Compiling SwiftASN1 ASN1Integer.swift
[157/429] Compiling SwiftASN1 ASN1Null.swift
[158/429] Compiling SwiftASN1 ArraySliceBigint.swift
[159/429] Compiling SwiftASN1 GeneralizedTime.swift
[160/429] Compiling SwiftASN1 ASN1OctetString.swift
[161/429] Compiling SwiftASN1 ASN1Strings.swift
[161/429] Compiling x_attrib.cc
[162/429] Compiling Logging Logger+With.swift
[163/429] Compiling x_algor.cc
[164/429] Compiling x_all.cc
[166/429] Emitting module Logging
[167/429] Compiling Logging MetadataProvider.swift
[168/429] Compiling Logging Logger+Attributes.swift
[169/429] Compiling Logging Logger.swift
[171/429] Compiling Logging MultiplexLogHandler.swift
[172/429] Compiling Logging StreamLogHandler.swift
[173/429] Compiling SwiftCBOR KeyedDecodingContainer.swift
[174/429] Compiling SwiftCBOR CBORInputStream.swift
/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 {
[177/429] Emitting module SwiftCBOR
[177/431] Compiling x509spki.cc
[197/432] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[198/432] Compiling SwiftCBOR Util.swift
[198/432] Compiling x509_vpm.cc
[198/432] Compiling x509_vfy.cc
[198/432] Compiling KeccakP-1600-opt64.c
[198/432] Compiling x509name.cc
[198/432] Compiling x509rset.cc
[198/432] Compiling x509cset.cc
BUILD FAILURE 6.2 wasm