Build Information
Failed to build SwiftCBOR, reference master (bf15f6), with Swift 6.2 for Wasm on 26 Nov 2026 08:44:04 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.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: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bf15f62 fix(cbor): sort Codable map keys deterministically (#165)
Cloned https://github.com/valpackett/SwiftCBOR.git
Revision (git rev-parse @):
bf15f62e078a6264f0ec890dd65b7dbadc0b2ec2
SUCCESS checkout https://github.com/valpackett/SwiftCBOR.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/valpackett/SwiftCBOR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-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.40s)
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
[0/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 AnyCodingKey.swift
[8/24] Compiling SwiftCBOR CBOR.swift
[9/24] Compiling SwiftCBOR CBORDecoder.swift
[10/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 {
[11/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 {
[12/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 {
[13/24] Compiling SwiftCBOR CBORIntegerArrayEncoding.swift
[14/24] Compiling SwiftCBOR CBOROptions.swift
[15/24] Compiling SwiftCBOR CBORWriter.swift
[16/24] Compiling SwiftCBOR UnkeyedEncodingContainer.swift
[17/24] Compiling SwiftCBOR FixedWidthInteger+Bytes.swift
[18/24] Compiling SwiftCBOR CodableCBORDecoder.swift
[19/24] Compiling SwiftCBOR KeyedDecodingContainer.swift
[20/24] Compiling SwiftCBOR SingleValueDecodingContainer.swift
[21/24] Compiling SwiftCBOR UnkeyedDecodingContainer.swift
[22/24] Compiling SwiftCBOR CodableCBOREncoder.swift
[23/24] Compiling SwiftCBOR KeyedEncodingContainer.swift
[24/24] Compiling SwiftCBOR SingleValueEncodingContainer.swift
BUILD FAILURE 6.2 wasm