Build Information
Failed to build webauthn-swift, reference 0.0.3 (71b78c), with Swift 6.2 for Wasm on 10 Oct 2025 06:48:44 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brokenhandsio/swift-webauthn.git
Reference: 0.0.3
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 0.0.3 -> FETCH_HEAD
HEAD is now at 71b78cb update docc documentation (#29)
Cloned https://github.com/brokenhandsio/swift-webauthn.git
Revision (git rev-parse @):
71b78cb2ce4989b2e598225d6f42a75f042986f1
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brokenhandsio/swift-webauthn.git at 0.0.3
========================================
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-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: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/apple/swift-crypto.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
[1/1401] Fetching swiftcbor
[128/5334] Fetching swiftcbor, swift-log
[2661/7467] Fetching swiftcbor, swift-log, swift-docc-plugin
[3215/14095] Fetching swiftcbor, swift-log, swift-docc-plugin, swift-certificates
[12628/31302] Fetching swiftcbor, swift-log, swift-docc-plugin, swift-certificates, swift-crypto
Fetched https://github.com/unrelentingtech/SwiftCBOR.git from cache (2.79s)
Fetched https://github.com/apple/swift-log.git from cache (2.79s)
Fetched https://github.com/apple/swift-certificates.git from cache (2.80s)
Fetched https://github.com/apple/swift-docc-plugin from cache (2.80s)
Fetched https://github.com/apple/swift-crypto.git from cache (2.83s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.5.0 (3.15s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 0.6.0 (0.42s)
Fetching https://github.com/apple/swift-asn1.git
[1/1645] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git from cache (0.89s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 0.8.0 (1.37s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (0.35s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3541] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.94s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.4 (9.18s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
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-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 0.6.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.6.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 0.8.0
Creating working copy for https://github.com/unrelentingtech/SwiftCBOR.git
Working copy of https://github.com/unrelentingtech/SwiftCBOR.git resolved at 0.5.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/425] Write sources
[10/425] Compiling sha512-armv8-linux.linux.aarch64.S
[11/425] Compiling rsaz-avx2-linux.linux.x86_64.S
[12/425] Compiling fiat_curve25519_adx_mul.S
[13/425] Compiling sha512-armv8-ios.ios.aarch64.S
[14/425] Compiling fiat_curve25519_adx_square.S
[15/425] Write swift-version-24593BA9C3E375BF.txt
[16/425] Compiling a_bool.c
[17/441] Compiling v3_skey.c
[18/441] Compiling v3_purp.c
[19/441] Compiling v3_pcons.c
[20/441] Compiling CCryptoBoringSSLShims shims.c
[21/445] Compiling v3_prn.c
[22/455] Compiling v3_utl.c
[23/461] Compiling v3_pmaps.c
[24/461] Compiling v3_info.c
[25/461] Compiling v3_ocsp.c
[26/461] Compiling v3_lib.c
[27/461] Compiling v3_int.c
[28/461] Compiling v3_ncons.c
[29/461] Compiling v3_enum.c
[30/461] Compiling v3_ia5.c
[31/461] Compiling v3_genn.c
[32/461] Compiling v3_extku.c
[33/461] Compiling v3_crld.c
[34/461] Compiling v3_cpols.c
[35/461] Compiling v3_bitst.c
[36/461] Compiling v3_conf.c
[37/461] Compiling v3_bcons.c
[38/461] Compiling v3_akey.c
[39/461] Compiling v3_alt.c
[40/461] Compiling v3_akeya.c
[41/461] Compiling x_x509a.c
[42/461] Compiling x_x509.c
[43/461] Compiling x_spki.c
[44/461] Compiling x_val.c
[45/461] Compiling x_req.c
[46/461] Compiling x_pubkey.c
[47/461] Compiling x_sig.c
[48/461] Compiling x_info.c
[49/461] Compiling x_name.c
[50/461] Compiling x_pkey.c
[51/461] Compiling x_all.c
[52/461] Compiling x_exten.c
[53/461] Compiling x_attrib.c
[54/461] Compiling x_algor.c
[55/461] Compiling x_crl.c
[56/461] Compiling x509spki.c
[57/461] Compiling x509rset.c
[58/461] Compiling x509name.c
[58/461] Compiling x509cset.c
[60/461] Compiling x509_vpm.c
[61/461] Compiling x509_v3.c
[62/461] Compiling x509_txt.c
[63/461] Compiling x509_req.c
[64/461] Compiling x509_trs.c
[65/461] Compiling x509_set.c
[66/461] Compiling x509_vfy.c
[67/461] Compiling x509_obj.c
[68/461] Compiling x509_def.c
[69/461] Compiling x509_ext.c
[70/461] Compiling x509_d2.c
[71/461] Compiling x509_cmp.c
[72/461] Compiling x509_lu.c
[73/461] Compiling t_x509a.c
[74/461] Compiling x509.c
[75/461] Compiling x509_att.c
[76/461] Compiling t_x509.c
[78/461] Compiling SwiftASN1 ASN1.swift
[79/461] Compiling SwiftASN1 ASN1Any.swift
[79/461] Compiling t_crl.c
[80/463] Compiling i2d_pr.c
[82/463] Compiling SwiftASN1 ASN1BitString.swift
[83/463] Compiling SwiftASN1 ASN1Boolean.swift
[84/463] Compiling SwiftASN1 ASN1Identifier.swift
[85/463] Compiling SwiftASN1 ASN1Integer.swift
[86/463] Compiling SwiftASN1 ASN1Null.swift
[87/463] Compiling SwiftASN1 ASN1OctetString.swift
[88/463] Emitting module SwiftASN1
[88/463] Compiling t_req.c
[89/463] Compiling rsa_pss.c
[90/463] Compiling name_print.c
[91/463] Compiling by_file.c
[92/463] Compiling policy.c
[93/463] Compiling asn1_gen.c
[94/463] Compiling a_verify.c
[95/463] Compiling by_dir.c
[96/463] Compiling a_digest.c
[98/463] Compiling Logging MetadataProvider.swift
[98/463] Compiling algorithm.c
[99/463] Compiling a_sign.c
[100/463] Compiling trust_token.c
[101/463] Compiling voprf.c
[102/463] Compiling thread_win.c
[103/463] Compiling thread_pthread.c
[104/463] Compiling thread.c
[105/463] Compiling thread_none.c
[107/463] Compiling SwiftASN1 TimeUtilities.swift
[108/463] Compiling SwiftASN1 ASN1Strings.swift
[112/463] Compiling SwiftASN1 PEMDocument.swift
[112/465] Compiling stack.c
[115/465] Compiling SwiftASN1 ArraySliceBigint.swift
[115/465] Compiling siphash.c
[117/465] Compiling SwiftASN1 GeneralizedTime.swift
[118/465] Compiling SwiftASN1 ObjectIdentifier.swift
[121/465] Compiling SwiftASN1 UTCTime.swift
[122/465] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[122/466] Compiling refcount.c
[124/466] Compiling rsa_print.c
[125/466] Compiling rsa_crypt.c
[130/466] 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 {
[132/466] Compiling pmbtoken.c
[133/466] Compiling rc4.c
[134/466] Compiling rsa_asn1.c
[139/466] Compiling windows.c
[140/466] Compiling ios.c
[141/466] Compiling passive.c
[142/466] Compiling rand_extra.c
[144/466] Compiling Logging LogHandler.swift
[145/466] Emitting module Logging
[146/466] Compiling Logging Logging.swift
[147/466] Compiling Logging Locks.swift
[147/466] Compiling trusty.c
[148/467] Compiling getentropy.c
[150/467] Compiling deterministic.c
[151/467] Compiling forkunsafe.c
[152/467] Compiling pool.c
[153/467] Compiling poly1305_arm_asm.S
[154/467] Compiling poly1305_arm.c
[154/467] Compiling poly1305_vec.c
[156/467] Compiling poly1305.c
[157/467] Compiling pkcs7.c
[160/467] Compiling SwiftCBOR Util.swift
[160/467] Compiling pem_x509.c
[160/467] Compiling pkcs8_x509.c
[160/467] Compiling pem_pkey.c
[160/467] Compiling pkcs7_x509.c
[160/467] Compiling p5_pbev2.c
[160/467] Compiling pem_xaux.c
[160/467] Compiling pkcs8.c
BUILD FAILURE 6.2 wasm