The Swift Package Index logo.Swift Package Index

Build Information

Failed to build webauthn-swift, reference 0.0.3 (71b78c), with Swift 6.4 for Wasm on 23 Sep 2026 04:21:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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.4
Building package at path:  $PWD
https://github.com/brokenhandsio/swift-webauthn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-2":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-certificates.git
[1/2345] Fetching swift-docc-plugin
[236/10493] Fetching swift-docc-plugin, swift-log
[3007/18068] Fetching swift-docc-plugin, swift-log, swift-certificates
Fetched https://github.com/apple/swift-docc-plugin (0.75s)
[15193/15723] Fetching swift-log, swift-certificates
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
Fetched https://github.com/apple/swift-log.git (0.84s)
Fetched https://github.com/apple/swift-certificates.git (0.96s)
[1/18549] Fetching swift-crypto
[743/20097] Fetching swift-crypto, swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git (0.62s)
[1299/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git (1.72s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 0.6.0 (2.97s)
Fetching https://github.com/apple/swift-asn1.git
[20/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.54s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 0.8.0 (0.96s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.6.0 (0.42s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.6.0 (0.36s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (0.33s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[39/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.69s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.09s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.47s)
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/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin 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/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.15.1
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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 335]
[Planning deferred tasks]
[Constructing 866 / 1136]
[55 / 528]
[64 / 532] CryptoBoringWrapper
[71 / 562] SwiftCBOR
[72 / 562] SwiftASN1
[76 / 562] CCryptoBoringSSL
[78 / 562] CCryptoBoringSSL
[79 / 562] CCryptoBoringSSL
[82 / 562] CCryptoBoringSSL
[84 / 562] CCryptoBoringSSL
[90 / 562] CCryptoBoringSSL
[95 / 562] CCryptoBoringSSL
[98 / 562] CCryptoBoringSSL
[99 / 562] CCryptoBoringSSL
[101 / 562] CCryptoBoringSSL
[103 / 562] CCryptoBoringSSL
[104 / 562] CCryptoBoringSSL
[107 / 562] CCryptoBoringSSL
[110 / 562] Logging
[115 / 562] CCryptoBoringSSL
[121 / 562] CCryptoBoringSSL
[127 / 562] CCryptoBoringSSL
[130 / 562] CCryptoBoringSSL
[134 / 562] CCryptoBoringSSL
[136 / 562] CCryptoBoringSSL
[138 / 562] CCryptoBoringSSL
[141 / 562] CCryptoBoringSSL
[144 / 562] CryptoBoringWrapper
[149 / 562] CCryptoBoringSSL
[151 / 562] CCryptoBoringSSL
[154 / 562] SwiftCBOR
[164 / 562] CCryptoBoringSSL
[166 / 562] CCryptoBoringSSL
[172 / 562] CCryptoBoringSSL
[177 / 562] CCryptoBoringSSL
[180 / 562] CCryptoBoringSSL
[184 / 562] CCryptoBoringSSL
[188 / 562] CCryptoBoringSSL
[194 / 562] CCryptoBoringSSL
[200 / 562] CCryptoBoringSSL
[205 / 562] CCryptoBoringSSL
[212 / 562] CCryptoBoringSSL
[218 / 562] CCryptoBoringSSL
[221 / 562] CCryptoBoringSSL
[225 / 562] CCryptoBoringSSL
[227 / 562] CCryptoBoringSSL
[230 / 562] CCryptoBoringSSL
[235 / 562] CCryptoBoringSSL
[240 / 562] CCryptoBoringSSL
[245 / 562] CCryptoBoringSSL
[249 / 562] CCryptoBoringSSL
[251 / 562] CCryptoBoringSSL
[256 / 562] CCryptoBoringSSL
[257 / 562] CCryptoBoringSSL
[261 / 562] CCryptoBoringSSL
[264 / 562] CCryptoBoringSSL
[268 / 562] CCryptoBoringSSL
[273 / 562] CCryptoBoringSSL
[276 / 562] CCryptoBoringSSL
[281 / 562] CCryptoBoringSSL
[287 / 562] CCryptoBoringSSL
[297 / 562] CCryptoBoringSSL
[299 / 562] CCryptoBoringSSL
[303 / 562] CCryptoBoringSSL
[310 / 562] CCryptoBoringSSL
[313 / 562] CCryptoBoringSSL
[319 / 562] CCryptoBoringSSL
[321 / 562] CCryptoBoringSSL
[330 / 562] CCryptoBoringSSL
[337 / 562] CCryptoBoringSSL
[342 / 562] CCryptoBoringSSL
[349 / 562] CCryptoBoringSSL
[354 / 562] CCryptoBoringSSL
[357 / 562] CCryptoBoringSSL
[363 / 562] CCryptoBoringSSL
[365 / 562] CCryptoBoringSSL
[371 / 562] CCryptoBoringSSL
[375 / 562] CCryptoBoringSSL
[381 / 562] CCryptoBoringSSL
[384 / 562] CCryptoBoringSSL
[387 / 562] CCryptoBoringSSL
[392 / 562] CCryptoBoringSSL
[399 / 562] CCryptoBoringSSL
[405 / 562] CCryptoBoringSSL
[412 / 562] CCryptoBoringSSL
[416 / 562] CCryptoBoringSSL
[421 / 562] CCryptoBoringSSL
[428 / 562] CCryptoBoringSSL
[435 / 562] CCryptoBoringSSL
[438 / 562] CCryptoBoringSSL
[444 / 562] CCryptoBoringSSL
[448 / 562] CCryptoBoringSSL
[454 / 562] CCryptoBoringSSL
[458 / 562] CCryptoBoringSSL
[464 / 562] CCryptoBoringSSL
[472 / 562] CCryptoBoringSSL
[477 / 562] CCryptoBoringSSL
[481 / 562] CCryptoBoringSSL
[487 / 562] CCryptoBoringSSL
[490 / 562] CCryptoBoringSSL
[494 / 562] CCryptoBoringSSL
[499 / 562] SwiftCBOR
[503 / 562] SwiftCBOR
[504 / 562] CCryptoBoringSSL
[505 / 562] SwiftCBOR
[507 / 562] SwiftASN1
[508 / 562] SwiftASN1
[509 / 562] SwiftASN1
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CBOREncoder.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 {
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/AnyCodingKey.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOR.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBORDecoder.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncodable.swift -primary-file /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOREncoder.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBORInputStream.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/CBOROptions.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/CodableCBORDecoder.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/KeyedDecodingContainer.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/SingleValueDecodingContainer.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Decoder/UnkeyedDecodingContainer.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Encoder/CodableCBOREncoder.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Encoder/KeyedEncodingContainer.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Encoder/SingleValueEncodingContainer.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Encoder/UnkeyedEncodingContainer.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/FixedWidthInteger+Bytes.swift /host/spi-builder-workspace/.build/checkouts/SwiftCBOR/Sources/Util.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncodable.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncodable.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncodable.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncodable.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncoder.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncoder.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncoder.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncoder.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name SwiftCBOR -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/SwiftCBOR_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncodable.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncoder.o -index-unit-output-path /SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncodable.o -index-unit-output-path /SwiftCBOR.build/Debug-webassembly-wasm32/SwiftCBOR-t.build/Objects-normal/wasm32/CBOREncoder.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm