The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AppAttest, reference main (f4fc1e), with Swift 6.4 for Wasm on 23 Sep 2026 19:10:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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/iansampson/AppAttest.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/iansampson/AppAttest
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f4fc1ea Merge pull request #6 from ronaldmannak/main
Cloned https://github.com/iansampson/AppAttest.git
Revision (git rev-parse @):
f4fc1ea12c712d6833905d9c11c73c1601ae4001
SUCCESS checkout https://github.com/iansampson/AppAttest.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/iansampson/AppAttest.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/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/iansampson/Anchor
[1/1945] Fetching anchor
Fetched https://github.com/iansampson/Anchor (0.86s)
Fetching https://github.com/myfreeweb/SwiftCBOR
Fetching https://github.com/apple/swift-crypto
[1/18549] Fetching swift-crypto
[372/20097] Fetching swift-crypto, swiftcbor
Fetched https://github.com/myfreeweb/SwiftCBOR (0.55s)
[1299/18549] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto (1.29s)
Computing version for https://github.com/myfreeweb/SwiftCBOR
Computed https://github.com/myfreeweb/SwiftCBOR at 0.6.0 (1.47s)
Computing version for https://github.com/apple/swift-crypto
Computed https://github.com/apple/swift-crypto at 3.15.1 (0.25s)
Fetching https://github.com/apple/swift-asn1.git
[1/1983] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.51s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.60s)
Creating working copy for https://github.com/myfreeweb/SwiftCBOR
Working copy of https://github.com/myfreeweb/SwiftCBOR resolved at 0.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 1.7.3
Creating working copy for https://github.com/apple/swift-crypto
Working copy of https://github.com/apple/swift-crypto resolved at 3.15.1
Creating working copy for https://github.com/iansampson/Anchor
Working copy of https://github.com/iansampson/Anchor resolved at main (1b1d5a9)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 275]
[Planning deferred tasks]
[Constructing 702 / 1333]
[46 / 854]
[58 / 871] CCryptoBoringSSLShims
[60 / 871] CCryptoBoringSSL
[61 / 871] CCryptoBoringSSL
[64 / 871] CCryptoBoringSSL
[66 / 871] CCryptoBoringSSL
[69 / 871] CCryptoBoringSSL
[81 / 871] CCryptoBoringSSL
[82 / 871] CCryptoBoringSSL
[83 / 871] CCryptoBoringSSL
[90 / 871] CCryptoBoringSSL
[92 / 871] CCryptoBoringSSL
[95 / 871] CCryptoBoringSSL
[96 / 871] CCryptoBoringSSL
[97 / 871] CCryptoBoringSSL
[99 / 871] CCryptoBoringSSL
[102 / 871] CCryptoBoringSSL
[105 / 871] CCryptoBoringSSL
[108 / 871] CCryptoBoringSSL
[112 / 871] CCryptoBoringSSL
[114 / 871] CCryptoBoringSSL
[115 / 871] CCryptoBoringSSL
[116 / 871] CCryptoBoringSSL
[118 / 871] CCryptoBoringSSL
[120 / 871] CCryptoBoringSSL
[122 / 871] CCryptoBoringSSL
[125 / 871] CCryptoBoringSSL
[126 / 871] CCryptoBoringSSL
[129 / 871] CCryptoBoringSSL
[130 / 871] CCryptoBoringSSL
[132 / 871] CCryptoBoringSSL
[133 / 871] CCryptoBoringSSL
[134 / 871] CCryptoBoringSSL
[137 / 871] CCryptoBoringSSL
[138 / 871] CCryptoBoringSSL
[140 / 871] CCryptoBoringSSL
[142 / 871] CCryptoBoringSSL
[144 / 871] CCryptoBoringSSL
[146 / 871] CCryptoBoringSSL
[149 / 871] CCryptoBoringSSL
[150 / 871] CCryptoBoringSSL
[153 / 871] CCryptoBoringSSL
[155 / 871] CCryptoBoringSSL
[156 / 871] CCryptoBoringSSL
[159 / 871] CCryptoBoringSSL
[160 / 871] CCryptoBoringSSL
[165 / 871] CCryptoBoringSSL
[168 / 871] CCryptoBoringSSL
[171 / 871] CCryptoBoringSSL
[175 / 871] CCryptoBoringSSL
[180 / 871] CCryptoBoringSSL
[185 / 871] CCryptoBoringSSL
[192 / 871] CCryptoBoringSSL
[193 / 871] CCryptoBoringSSL
[196 / 871] CCryptoBoringSSL
[198 / 871] CCryptoBoringSSL
[199 / 871] CCryptoBoringSSL
[202 / 871] CCryptoBoringSSL
[203 / 871] CCryptoBoringSSL
[207 / 871] CCryptoBoringSSL
[210 / 871] CCryptoBoringSSL
[211 / 871] CCryptoBoringSSL
[214 / 871] CCryptoBoringSSL
[216 / 871] CCryptoBoringSSL
[219 / 871] CCryptoBoringSSL
[220 / 871] CCryptoBoringSSL
[224 / 871] CCryptoBoringSSL
[227 / 871] CCryptoBoringSSL
[229 / 871] CCryptoBoringSSL
[230 / 871] CCryptoBoringSSL
[233 / 871] CCryptoBoringSSL
[234 / 871] CCryptoBoringSSL
[237 / 871] CCryptoBoringSSL
[238 / 871] CCryptoBoringSSL
[239 / 871] CCryptoBoringSSL
[244 / 871] CCryptoBoringSSL
[248 / 871] CCryptoBoringSSL
[252 / 871] CCryptoBoringSSL
[254 / 871] CCryptoBoringSSL
[257 / 871] CCryptoBoringSSL
[259 / 871] CCryptoBoringSSL
[263 / 871] CCryptoBoringSSL
[264 / 871] CCryptoBoringSSL
[267 / 871] CCryptoBoringSSL
[269 / 871] CCryptoBoringSSL
[274 / 871] CCryptoBoringSSL
[280 / 871] CCryptoBoringSSL
[285 / 871] CCryptoBoringSSL
[288 / 871] CCryptoBoringSSL
[290 / 871] CCryptoBoringSSL
[293 / 871] CCryptoBoringSSL
[298 / 871] CCryptoBoringSSL
[300 / 871] CCryptoBoringSSL
[301 / 871] CCryptoBoringSSL
[305 / 871] CCryptoBoringSSL
[306 / 871] CCryptoBoringSSL
[308 / 871] CCryptoBoringSSL
[310 / 871] CCryptoBoringSSL
[312 / 871] CCryptoBoringSSL
[313 / 871] CCryptoBoringSSL
[314 / 871] CCryptoBoringSSL
[316 / 871] CCryptoBoringSSL
[317 / 871] CCryptoBoringSSL
[318 / 871] CCryptoBoringSSL
[321 / 871] CCryptoBoringSSL
[322 / 871] CCryptoBoringSSL
[324 / 871] CCryptoBoringSSL
[326 / 871] CCryptoBoringSSL
[328 / 871] CCryptoBoringSSL
[329 / 871] CCryptoBoringSSL
[330 / 871] CCryptoBoringSSL
[332 / 871] CCryptoBoringSSL
[335 / 871] CCryptoBoringSSL
[338 / 871] CCryptoBoringSSL
[340 / 871] CCryptoBoringSSL
[343 / 871] CCryptoBoringSSL
[347 / 871] CCryptoBoringSSL
[351 / 871] CCryptoBoringSSL
[352 / 871] CCryptoBoringSSL
[355 / 871] CCryptoBoringSSL
[361 / 871] CCryptoBoringSSL
[363 / 871] CCryptoBoringSSL
[365 / 871] CCryptoBoringSSL
[366 / 871] CCryptoBoringSSL
[368 / 871] CCryptoBoringSSL
[371 / 871] CCryptoBoringSSL
[374 / 871] CCryptoBoringSSL
[375 / 871] CCryptoBoringSSL
[377 / 871] CCryptoBoringSSL
[379 / 871] CCryptoBoringSSL
[380 / 871] CCryptoBoringSSL
[381 / 871] CCryptoBoringSSL
[382 / 871] CCryptoBoringSSL
[386 / 871] CCryptoBoringSSL
[391 / 871] CCryptoBoringSSL
[395 / 871] CCryptoBoringSSL
[401 / 871] CCryptoBoringSSL
[405 / 871] CCryptoBoringSSL
[410 / 871] CCryptoBoringSSL
[412 / 871] CCryptoBoringSSL
[413 / 871] CCryptoBoringSSL
[414 / 871] CCryptoBoringSSL
[416 / 871] CCryptoBoringSSL
[418 / 871] CCryptoBoringSSL
[419 / 871] CCryptoBoringSSL
[422 / 871] CCryptoBoringSSL
[424 / 871] CCryptoBoringSSL
[428 / 871] CCryptoBoringSSL
[430 / 871] SwiftCBOR
[432 / 871] SwiftCBOR
[433 / 871] SwiftCBOR
[436 / 871] CryptoBoringWrapper
[438 / 871] CryptoBoringWrapper
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