Build Information
Failed to build swift-webauthn, reference 1.0.0-beta.1 (909cf4), with Swift 6.2 for Wasm on 3 Nov 2025 19:39:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brokenhandsio/swift-webauthn.git
Reference: 1.0.0-beta.1
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
* tag 1.0.0-beta.1 -> FETCH_HEAD
HEAD is now at 909cf41 Added guiding documentation to the new public initializers (#111)
Cloned https://github.com/brokenhandsio/swift-webauthn.git
Revision (git rev-parse @):
909cf4193cde7d64196553c4245ab647a68aaaca
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brokenhandsio/swift-webauthn.git at 1.0.0-beta.1
========================================
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-4609320-3":/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:f6b6b9bdb5d5605d727da337418fc455cd8a0394d3a815b70631008c48829755
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/2160] Fetching swift-docc-plugin
[217/3572] Fetching swift-docc-plugin, swiftcbor
[1651/7727] Fetching swift-docc-plugin, swiftcbor, swift-log
[7347/25083] Fetching swift-docc-plugin, swiftcbor, swift-log, swift-crypto
Fetched https://github.com/swiftlang/swift-docc-plugin.git from cache (0.49s)
[5881/22923] Fetching swiftcbor, swift-log, swift-crypto
Fetched https://github.com/apple/swift-log.git from cache (0.54s)
[2073/18768] Fetching swiftcbor, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (2.63s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.68s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (5.12s)
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.43s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3569] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.01s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (0.36s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.1.0 (3.02s)
Fetching https://github.com/apple/swift-asn1.git
[1/1653] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.36s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.0 (0.82s)
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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.1.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.5.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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/383] Write sources
[7/383] Compiling poly1305_arm_asm.S
[7/383] Write sources
[11/383] Compiling CXKCPShims shims.c
[12/383] Compiling SimpleFIPS202.c
[13/383] Compiling KeccakSponge.c
[14/383] Compiling deterministic.cc
[15/383] Compiling KeccakHash.c
[16/383] Compiling poly1305_vec.cc
[17/383] Compiling poly1305_arm.cc
[18/383] Compiling fiat_p256_adx_sqr.S
[19/383] Compiling fiat_p256_adx_mul.S
[20/383] Compiling fiat_curve25519_adx_square.S
[21/383] Compiling fiat_curve25519_adx_mul.S
[22/383] Compiling poly1305.cc
[23/383] Compiling md5-x86_64-linux.S
[24/383] Compiling md5-x86_64-apple.S
[25/383] Compiling pool.cc
[26/383] Compiling md5-586-linux.S
[27/383] Compiling md5-586-apple.S
[28/383] Compiling chacha20_poly1305_armv8-win.S
[29/383] Compiling chacha20_poly1305_x86_64-linux.S
[30/383] Compiling chacha20_poly1305_x86_64-apple.S
[31/383] Write swift-version-24593BA9C3E375BF.txt
[32/383] Compiling pmbtoken.cc
[33/383] Compiling chacha20_poly1305_armv8-apple.S
[34/383] Compiling CCryptoBoringSSLShims shims.c
[35/383] Compiling chacha20_poly1305_armv8-linux.S
[36/383] Compiling chacha-x86_64-linux.S
[37/383] Compiling chacha-x86_64-apple.S
[38/384] Compiling chacha-x86-apple.S
[39/393] Compiling chacha-x86-linux.S
[40/421] Compiling chacha-armv8-linux.S
[41/421] Compiling chacha-armv8-win.S
[42/421] Compiling chacha-armv8-apple.S
[43/421] Compiling aes128gcmsiv-x86_64-linux.S
[44/421] Compiling chacha-armv4-linux.S
[45/421] Compiling aes128gcmsiv-x86_64-apple.S
[46/421] Compiling x86_64-mont5-apple.S
[46/421] Compiling x86_64-mont5-linux.S
[48/421] Compiling x86_64-mont-linux.S
[49/421] Compiling x86_64-mont-apple.S
[50/421] Compiling err_data.cc
[51/421] Compiling x86-mont-linux.S
[52/421] Compiling vpaes-x86_64-linux.S
[53/421] Compiling x86-mont-apple.S
[54/421] Compiling vpaes-x86_64-apple.S
[55/421] Compiling vpaes-x86-linux.S
[57/421] Emitting module Logging
[57/421] Compiling vpaes-armv8-win.S
[58/421] Compiling vpaes-x86-apple.S
[59/421] Compiling vpaes-armv8-linux.S
[60/421] Compiling vpaes-armv8-apple.S
[61/421] Compiling vpaes-armv7-linux.S
[62/421] Compiling sha512-x86_64-apple.S
[63/421] Compiling sha512-x86_64-linux.S
[64/421] Compiling sha512-armv8-win.S
[65/421] Compiling sha512-armv8-linux.S
[66/421] Compiling sha512-armv4-linux.S
[67/421] Compiling sha512-586-linux.S
[68/421] Compiling sha512-armv8-apple.S
[69/421] Compiling sha256-x86_64-linux.S
[70/421] Compiling sha512-586-apple.S
[71/421] Compiling sha256-x86_64-apple.S
[72/421] Compiling sha256-armv8-linux.S
[73/421] Compiling sha256-armv8-apple.S
[74/421] Compiling sha256-armv8-win.S
[75/421] Compiling sha256-586-linux.S
[76/421] Compiling sha256-armv4-linux.S
[77/421] Compiling sha1-x86_64-linux.S
[78/421] Compiling sha256-586-apple.S
[79/421] Compiling sha1-armv8-win.S
[80/421] Compiling sha1-x86_64-apple.S
[81/421] Compiling sha1-armv8-linux.S
[82/421] Compiling sha1-armv8-apple.S
[83/421] Compiling sha1-586-linux.S
[84/421] Compiling sha1-armv4-large-linux.S
[85/421] Compiling sha1-586-apple.S
[86/421] Compiling rsaz-avx2-linux.S
[87/421] Compiling rdrand-x86_64-linux.S
[88/421] Compiling rsaz-avx2-apple.S
[89/421] Compiling rdrand-x86_64-apple.S
[90/421] Compiling p256_beeu-armv8-asm-win.S
[91/421] Compiling p256_beeu-x86_64-asm-linux.S
[92/421] Compiling p256_beeu-armv8-asm-linux.S
[93/421] Compiling p256_beeu-x86_64-asm-apple.S
[94/421] Compiling p256_beeu-armv8-asm-apple.S
[95/421] Compiling p256-x86_64-asm-linux.S
[96/421] Compiling p256-armv8-asm-apple.S
[97/421] Compiling p256-x86_64-asm-apple.S
[98/421] Compiling p256-armv8-asm-linux.S
[99/421] Compiling p256-armv8-asm-win.S
[100/421] Compiling ghashv8-armv8-linux.S
[101/421] Compiling ghashv8-armv8-win.S
[102/421] Compiling ghashv8-armv8-apple.S
[103/421] Compiling ghashv8-armv7-linux.S
[104/421] Compiling ghash-x86_64-linux.S
[105/421] Compiling ghash-x86-apple.S
[106/421] Compiling ghash-x86-linux.S
[107/421] Compiling ghash-x86_64-apple.S
[108/421] Compiling ghash-ssse3-x86_64-linux.S
[109/421] Compiling ghash-ssse3-x86_64-apple.S
[110/421] Compiling ghash-ssse3-x86-linux.S
[111/421] Compiling ghash-ssse3-x86-apple.S
[112/421] Compiling ghash-neon-armv8-win.S
[113/421] Compiling ghash-neon-armv8-linux.S
[114/421] Compiling ghash-armv4-linux.S
[115/421] Compiling ghash-neon-armv8-apple.S
[116/421] Compiling co-586-apple.S
[117/421] Compiling co-586-linux.S
[118/421] Compiling bsaes-armv7-linux.S
[119/421] Compiling bn-armv8-win.S
[120/421] Compiling bn-armv8-linux.S
[121/421] Compiling bn-armv8-apple.S
[122/421] Compiling bn-586-linux.S
[123/421] Compiling bn-586-apple.S
[124/421] Compiling armv8-mont-apple.S
[125/421] Compiling armv8-mont-linux.S
[126/421] Compiling armv8-mont-win.S
[127/421] Compiling aesv8-gcm-armv8-linux.S
[128/421] Compiling armv4-mont-linux.S
[129/421] Compiling aesv8-gcm-armv8-apple.S
[130/421] Compiling aesv8-gcm-armv8-win.S
[131/421] Compiling aesv8-armv8-win.S
[132/421] Compiling aesv8-armv8-apple.S
[133/421] Compiling aesv8-armv8-linux.S
[134/421] Compiling aesv8-armv7-linux.S
[135/421] Compiling aesni-x86_64-linux.S
[136/421] Compiling aesni-x86_64-apple.S
[137/421] Compiling aesni-x86-linux.S
[138/421] Compiling aesni-gcm-x86_64-linux.S
[139/421] Compiling aesni-x86-apple.S
[140/421] Compiling aesni-gcm-x86_64-apple.S
[141/421] Compiling aes-gcm-avx512-x86_64-linux.S
[142/421] Compiling aes-gcm-avx2-x86_64-linux.S
[143/421] Compiling aes-gcm-avx512-x86_64-apple.S
[144/421] Compiling aes-gcm-avx2-x86_64-apple.S
[145/421] Compiling xwing.cc
[146/421] Compiling x_x509a.cc
[147/421] Compiling x_spki.cc
[148/421] Compiling x_x509.cc
[149/421] Compiling x_sig.cc
[150/421] Compiling x_req.cc
[151/421] Compiling x_name.cc
[153/421] Compiling SwiftASN1 ASN1OctetString.swift
[154/421] Compiling SwiftASN1 ASN1Strings.swift
[155/421] Compiling SwiftASN1 ASN1BitString.swift
[156/421] Compiling SwiftASN1 ASN1Boolean.swift
[157/421] Compiling SwiftASN1 ASN1Identifier.swift
[158/421] Compiling SwiftASN1 TimeUtilities.swift
[159/421] Compiling SwiftASN1 UTCTime.swift
[160/423] Emitting module SwiftASN1
[160/423] Compiling x_pubkey.cc
[161/423] Compiling x_exten.cc
[163/423] Compiling Logging MetadataProvider.swift
[164/423] Compiling SwiftASN1 ArraySliceBigint.swift
[165/423] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[166/423] Compiling SwiftASN1 ASN1Integer.swift
[167/423] Compiling SwiftASN1 ASN1Null.swift
[168/423] Compiling SwiftASN1 ASN1.swift
[169/423] Compiling SwiftASN1 BER.swift
[170/423] Compiling SwiftASN1 ASN1Any.swift
[171/423] Compiling SwiftASN1 ObjectIdentifier.swift
[172/423] Compiling SwiftASN1 PEMDocument.swift
[173/423] 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 {
[189/425] Compiling SwiftCBOR Util.swift
[190/425] Compiling SwiftASN1 Errors.swift
[190/425] Compiling x_crl.cc
[192/426] Compiling KeccakP-1600-opt64.c
[193/426] Compiling x_attrib.cc
[195/426] Compiling Logging Locks.swift
[196/426] Compiling Logging LogHandler.swift
[197/426] Compiling Logging Logging.swift
[197/427] Compiling x_all.cc
[200/427] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[201/427] Compiling x509rset.cc
[201/427] Compiling x509_vpm.cc
[201/427] Compiling x509_vfy.cc
[201/427] Compiling x509name.cc
[201/427] Compiling x509spki.cc
[201/427] Compiling x509cset.cc
[201/427] Compiling x_algor.cc
BUILD FAILURE 6.2 wasm