The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-webauthn, reference 1.0.0-beta.1 (909cf4), with Swift 6.4 for Wasm on 23 Sep 2026 04:21:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-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: 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.4
Building package at path:  $PWD
https://github.com/brokenhandsio/swift-webauthn.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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/swiftlang/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/unrelentingtech/SwiftCBOR.git
[1/8148] Fetching swift-log
[1876/10493] Fetching swift-log, swift-docc-plugin
[3170/12041] Fetching swift-log, swift-docc-plugin, swiftcbor
Fetched https://github.com/unrelentingtech/SwiftCBOR.git (0.67s)
[8406/10493] Fetching swift-log, swift-docc-plugin
Fetching https://github.com/apple/swift-crypto.git
Fetched https://github.com/apple/swift-log.git (0.85s)
[1/18549] Fetching swift-crypto
Fetched https://github.com/swiftlang/swift-docc-plugin.git (2.56s)
Fetched https://github.com/apple/swift-crypto.git (1.74s)
Computing version for https://github.com/unrelentingtech/SwiftCBOR.git
Computed https://github.com/unrelentingtech/SwiftCBOR.git at 0.6.0 (4.41s)
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.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/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.22s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (2.26s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (1.02s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.42s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.1 (0.35s)
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/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/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-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 4.5.2
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 423]
[Planning deferred tasks]
[Starting]
[11 / 495] _CryptoExtras
[69 / 499] CXKCPShims
[79 / 534] SwiftCBOR
[79 / 534] CXKCP
[80 / 534] SwiftCBOR
[82 / 534] SwiftCBOR
[85 / 534] SwiftCBOR
[99 / 534] CCryptoBoringSSL
[107 / 534] CCryptoBoringSSL
[110 / 534] CCryptoBoringSSL
[114 / 534] CCryptoBoringSSL
[114 / 534] CryptoBoringWrapper
[115 / 534] CryptoBoringWrapper
[117 / 534] CCryptoBoringSSL
[119 / 534] CCryptoBoringSSL
[124 / 534] CCryptoBoringSSL
[126 / 534] CCryptoBoringSSL
[127 / 534] CCryptoBoringSSL
[128 / 534] CCryptoBoringSSL
[129 / 534] CCryptoBoringSSL
[131 / 534] CCryptoBoringSSL
[132 / 534] CCryptoBoringSSL
[134 / 534] CCryptoBoringSSL
[135 / 534] CCryptoBoringSSL
[136 / 534] CCryptoBoringSSL
[137 / 534] CCryptoBoringSSL
[139 / 534] CCryptoBoringSSL
[141 / 534] CCryptoBoringSSL
[144 / 534] CCryptoBoringSSL
[148 / 534] CCryptoBoringSSL
[155 / 534] CCryptoBoringSSL
[156 / 534] CCryptoBoringSSL
[159 / 534] CCryptoBoringSSL
[160 / 534] CCryptoBoringSSL
[162 / 534] CCryptoBoringSSL
[164 / 534] CCryptoBoringSSL
[165 / 534] CCryptoBoringSSL
[166 / 534] CCryptoBoringSSL
[167 / 534] CCryptoBoringSSL
[168 / 534] CCryptoBoringSSL
[170 / 534] CCryptoBoringSSL
[171 / 534] CCryptoBoringSSL
[172 / 534] CCryptoBoringSSL
[174 / 534] CCryptoBoringSSL
[175 / 534] CCryptoBoringSSL
[176 / 534] CCryptoBoringSSL
[178 / 534] CCryptoBoringSSL
[179 / 534] CCryptoBoringSSL
[181 / 534] CCryptoBoringSSL
[184 / 534] CCryptoBoringSSL
[186 / 534] CCryptoBoringSSL
[187 / 534] CCryptoBoringSSL
[188 / 534] CCryptoBoringSSL
[189 / 534] CCryptoBoringSSL
[190 / 534] CCryptoBoringSSL
[192 / 534] CCryptoBoringSSL
[195 / 534] CCryptoBoringSSL
[196 / 534] CCryptoBoringSSL
[198 / 534] CCryptoBoringSSL
[199 / 534] CCryptoBoringSSL
[201 / 534] CCryptoBoringSSL
[202 / 534] CCryptoBoringSSL
[203 / 534] CCryptoBoringSSL
[207 / 534] CCryptoBoringSSL
[213 / 534] CCryptoBoringSSL
[216 / 534] CCryptoBoringSSL
[221 / 534] CCryptoBoringSSL
[227 / 534] CCryptoBoringSSL
[234 / 534] CCryptoBoringSSL
[235 / 534] CCryptoBoringSSL
[236 / 534] CCryptoBoringSSL
[240 / 534] CCryptoBoringSSL
[242 / 534] CCryptoBoringSSL
[245 / 534] CCryptoBoringSSL
[246 / 534] CCryptoBoringSSL
[247 / 534] CCryptoBoringSSL
[249 / 534] CCryptoBoringSSL
[252 / 534] CCryptoBoringSSL
[253 / 534] CCryptoBoringSSL
[254 / 534] CCryptoBoringSSL
[255 / 534] CCryptoBoringSSL
[256 / 534] CCryptoBoringSSL
[258 / 534] CCryptoBoringSSL
[259 / 534] CCryptoBoringSSL
[260 / 534] CCryptoBoringSSL
[263 / 534] CCryptoBoringSSL
[266 / 534] CCryptoBoringSSL
[267 / 534] CCryptoBoringSSL
[270 / 534] CCryptoBoringSSL
[272 / 534] CCryptoBoringSSL
[273 / 534] CCryptoBoringSSL
[276 / 534] CCryptoBoringSSL
[278 / 534] CCryptoBoringSSL
[279 / 534] CCryptoBoringSSL
[280 / 534] CCryptoBoringSSL
[281 / 534] CCryptoBoringSSL
[283 / 534] CCryptoBoringSSL
[288 / 534] CCryptoBoringSSL
[292 / 534] CCryptoBoringSSL
[293 / 534] CCryptoBoringSSL
[295 / 534] CCryptoBoringSSL
[296 / 534] CCryptoBoringSSL
[298 / 534] CCryptoBoringSSL
[300 / 534] CCryptoBoringSSL
[305 / 534] CCryptoBoringSSL
[308 / 534] CCryptoBoringSSL
[309 / 534] CCryptoBoringSSL
[310 / 534] CCryptoBoringSSL
[312 / 534] CCryptoBoringSSL
[315 / 534] CCryptoBoringSSL
[317 / 534] CCryptoBoringSSL
[323 / 534] CCryptoBoringSSL
[333 / 534] CCryptoBoringSSL
[336 / 534] CCryptoBoringSSL
[338 / 534] CCryptoBoringSSL
[340 / 534] CCryptoBoringSSL
[343 / 534] CCryptoBoringSSL
[346 / 534] CCryptoBoringSSL
[347 / 534] CCryptoBoringSSL
[348 / 534] CCryptoBoringSSL
[351 / 534] CCryptoBoringSSL
[353 / 534] CCryptoBoringSSL
[355 / 534] CCryptoBoringSSL
[358 / 534] CCryptoBoringSSL
[359 / 534] CCryptoBoringSSL
[362 / 534] CCryptoBoringSSL
[363 / 534] CCryptoBoringSSL
[365 / 534] CCryptoBoringSSL
[367 / 534] CCryptoBoringSSL
[370 / 534] CCryptoBoringSSL
[373 / 534] CCryptoBoringSSL
[376 / 534] CCryptoBoringSSL
[377 / 534] CCryptoBoringSSL
[379 / 534] CCryptoBoringSSL
[381 / 534] CCryptoBoringSSL
[383 / 534] CCryptoBoringSSL
[388 / 534] CCryptoBoringSSL
[392 / 534] CCryptoBoringSSL
[395 / 534] CCryptoBoringSSL
[400 / 534] CCryptoBoringSSL
[405 / 534] CCryptoBoringSSL
[406 / 534] CCryptoBoringSSL
[407 / 534] CCryptoBoringSSL
[409 / 534] CCryptoBoringSSL
[414 / 534] CCryptoBoringSSL
[418 / 534] CCryptoBoringSSL
[420 / 534] CCryptoBoringSSL
[421 / 534] CCryptoBoringSSL
[426 / 534] CCryptoBoringSSL
[428 / 534] CCryptoBoringSSL
[433 / 534] CCryptoBoringSSL
[436 / 534] CCryptoBoringSSL
[440 / 534] CCryptoBoringSSL
[444 / 534] CCryptoBoringSSL
[451 / 534] CCryptoBoringSSL
[454 / 534] CCryptoBoringSSL
[455 / 534] CCryptoBoringSSL
[458 / 534] CCryptoBoringSSL
[459 / 534] CCryptoBoringSSL
[461 / 534] CCryptoBoringSSL
[463 / 534] CCryptoBoringSSL
[464 / 534] CCryptoBoringSSL
[465 / 534] CCryptoBoringSSL
[467 / 534] CCryptoBoringSSL
[470 / 534] SwiftCBOR
[472 / 534] SwiftCBOR
[473 / 534] CCryptoBoringSSL
[476 / 534] SwiftCBOR
[477 / 534] SwiftASN1
[478 / 534] CCryptoBoringSSL
[479 / 534] 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