Build Information
Failed to build SwiftCBOR, reference v0.7.0 (2cd28d), with Swift 6.3 for Wasm on 27 Nov 2026 00:59:27 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/valpackett/SwiftCBOR.git
Reference: v0.7.0
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/valpackett/SwiftCBOR
* tag v0.7.0 -> FETCH_HEAD
HEAD is now at 2cd28d6 chore(versions): bump minimum OS versions in preparation for v0.7.0 release
Cloned https://github.com/valpackett/SwiftCBOR.git
Revision (git rev-parse @):
2cd28d6703ac9a7993052fdaac23f70ea7c15ee1
SUCCESS checkout https://github.com/valpackett/SwiftCBOR.git at v0.7.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/valpackett/SwiftCBOR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c3e9b647a8a44b039f995a08aedc0aa863ba107df357cae1fa410b778751f9d2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/x-sheep/swift-property-based.git
[1/1360] Fetching swift-property-based
Fetched https://github.com/x-sheep/swift-property-based.git from cache (0.41s)
Creating working copy for https://github.com/x-sheep/swift-property-based.git
Working copy of https://github.com/x-sheep/swift-property-based.git resolved at fbc0b8b83afc91e159ed62ba2024da8029ab7c97
Building for debugging...
[0/3] Copying PrivacyInfo.xcprivacy
[1/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/22] Emitting module SwiftCBOR
[5/24] Compiling SwiftCBOR Util.swift
[6/24] Compiling SwiftCBOR resource_bundle_accessor.swift
[7/24] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[8/24] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[9/24] Compiling SwiftCBOR CBORIntegerArrayEncoding.swift
[10/24] Compiling SwiftCBOR CBOROptions.swift
[11/24] Compiling SwiftCBOR CBORWriter.swift
[12/24] Compiling SwiftCBOR CBOREncodable.swift
/host/spi-builder-workspace/Sources/CBOREncoder.swift:362:53: error: cannot find 'NSEC_PER_SEC' in scope
360 |
361 | let seconds = Int64(integral)
362 | let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
363 |
364 | switch options.dateStrategy {
[13/24] Compiling SwiftCBOR CBOREncoder.swift
/host/spi-builder-workspace/Sources/CBOREncoder.swift:362:53: error: cannot find 'NSEC_PER_SEC' in scope
360 |
361 | let seconds = Int64(integral)
362 | let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
363 |
364 | switch options.dateStrategy {
[14/24] Compiling SwiftCBOR CBORInputStream.swift
/host/spi-builder-workspace/Sources/CBOREncoder.swift:362:53: error: cannot find 'NSEC_PER_SEC' in scope
360 |
361 | let seconds = Int64(integral)
362 | let nanoseconds = Int32(fractional * Double(NSEC_PER_SEC))
| `- error: cannot find 'NSEC_PER_SEC' in scope
363 |
364 | switch options.dateStrategy {
[15/24] Compiling SwiftCBOR AnyCodingKey.swift
[16/24] Compiling SwiftCBOR CBOR.swift
[17/24] Compiling SwiftCBOR CBORDecoder.swift
[18/24] Compiling SwiftCBOR KeyedEncodingContainer.swift
[19/24] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[20/24] Compiling SwiftCBOR CodableCBORDecoder.swift
[21/24] Compiling SwiftCBOR KeyedDecodingContainer.swift
[22/24] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[23/24] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[24/24] Compiling SwiftCBOR CodableCBOREncoder.swift
BUILD FAILURE 6.3 wasm