The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftCBOR, reference v0.7.0 (2cd28d), with Swift 6.2 for Wasm on 27 Nov 2026 01:02:58 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/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

Build 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.2
Building package at path:  $PWD
https://github.com/valpackett/SwiftCBOR.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/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.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] Write sources
[0/3] Copying PrivacyInfo.xcprivacy
[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 UnkeyedDecodingContainer.swift
[10/24] Compiling SwiftCBOR CodableCBOREncoder.swift
[11/24] Compiling SwiftCBOR CBORIntegerArrayEncoding.swift
[12/24] Compiling SwiftCBOR CBOROptions.swift
[13/24] Compiling SwiftCBOR CBORWriter.swift
[14/24] Compiling SwiftCBOR AnyCodingKey.swift
[15/24] Compiling SwiftCBOR CBOR.swift
[16/24] Compiling SwiftCBOR CBORDecoder.swift
[17/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 {
[18/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 {
[19/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 {
[20/24] Compiling SwiftCBOR KeyedEncodingContainer.swift
[21/24] Compiling SwiftCBOR SingleValueEncodingContainer.swift
[22/24] Compiling SwiftCBOR CodableCBORDecoder.swift
[23/24] Compiling SwiftCBOR KeyedDecodingContainer.swift
[24/24] Compiling SwiftCBOR SingleValueDecodingContainer.swift
BUILD FAILURE 6.2 wasm