The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-chrono-pt, reference 0.13.0 (847ad5), with Swift 6.3 for Wasm on 28 Sep 2026 23:11:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bertalhia/swift-chrono-pt.git
Reference: 0.13.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/bertalhia/swift-chrono-pt
 * tag               0.13.0     -> FETCH_HEAD
HEAD is now at 847ad5a Add 0.13.0 to the changelog
Cloned https://github.com/bertalhia/swift-chrono-pt.git
Revision (git rev-parse @):
847ad5a6c4dba48ac5fe6618d6c7126e31566d57
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/bertalhia/swift-chrono-pt.git at 0.13.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/bertalhia/swift-chrono-pt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:253aad7f5b11d25cf9eaef34120b94cd8a325782929c57fb304a7711494a3f9a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/21] Emitting module ChronoPT
[4/23] Compiling ChronoPT DayRules.swift
[5/23] Compiling ChronoPT DayValue.swift
[6/23] Compiling ChronoPT Context.swift
[7/23] Compiling ChronoPT Piece.swift
/host/spi-builder-workspace/Sources/ChronoPT/Engine/RegexCache.swift:33:23: error: cannot find 'Thread' in scope
 31 |     /// Runs `body` with a compiled set of its own from the pool.
 32 |     static func using<Result>(_ body: () throws -> Result) rethrows -> Result {
 33 |         let storage = Thread.current.threadDictionary
    |                       `- error: cannot find 'Thread' in scope
 34 |         // Already holding one: a parse inside a parse.
 35 |         if storage[activeKey] != nil { return try body() }
/host/spi-builder-workspace/Sources/ChronoPT/Engine/RegexCache.swift:48:23: error: cannot find 'Thread' in scope
 46 |     /// thread, as the rules run directly in tests.
 47 |     private static var current: Compiled {
 48 |         let storage = Thread.current.threadDictionary
    |                       `- error: cannot find 'Thread' in scope
 49 |         if let compiled = storage[activeKey] as? Compiled { return compiled }
 50 |         if let compiled = storage[fallbackKey] as? Compiled { return compiled }
/host/spi-builder-workspace/Sources/ChronoPT/Engine/RegexCache.swift:61:23: error: cannot find 'Thread' in scope
 59 |     /// Whether this thread holds on to a set of its own.
 60 |     static var threadKeepsSet: Bool {
 61 |         let storage = Thread.current.threadDictionary
    |                       `- error: cannot find 'Thread' in scope
 62 |         return storage[activeKey] != nil || storage[fallbackKey] != nil
 63 |     }
[8/23] Compiling ChronoPT RegexCache.swift
/host/spi-builder-workspace/Sources/ChronoPT/Engine/RegexCache.swift:33:23: error: cannot find 'Thread' in scope
 31 |     /// Runs `body` with a compiled set of its own from the pool.
 32 |     static func using<Result>(_ body: () throws -> Result) rethrows -> Result {
 33 |         let storage = Thread.current.threadDictionary
    |                       `- error: cannot find 'Thread' in scope
 34 |         // Already holding one: a parse inside a parse.
 35 |         if storage[activeKey] != nil { return try body() }
/host/spi-builder-workspace/Sources/ChronoPT/Engine/RegexCache.swift:48:23: error: cannot find 'Thread' in scope
 46 |     /// thread, as the rules run directly in tests.
 47 |     private static var current: Compiled {
 48 |         let storage = Thread.current.threadDictionary
    |                       `- error: cannot find 'Thread' in scope
 49 |         if let compiled = storage[activeKey] as? Compiled { return compiled }
 50 |         if let compiled = storage[fallbackKey] as? Compiled { return compiled }
/host/spi-builder-workspace/Sources/ChronoPT/Engine/RegexCache.swift:61:23: error: cannot find 'Thread' in scope
 59 |     /// Whether this thread holds on to a set of its own.
 60 |     static var threadKeepsSet: Bool {
 61 |         let storage = Thread.current.threadDictionary
    |                       `- error: cannot find 'Thread' in scope
 62 |         return storage[activeKey] != nil || storage[fallbackKey] != nil
 63 |     }
[9/23] Compiling ChronoPT Match.swift
[10/23] Compiling ChronoPT Options.swift
[11/23] Compiling ChronoPT Parser.swift
[12/23] Compiling ChronoPT SpokenNumber.swift
[13/23] Compiling ChronoPT TextSource.swift
[14/23] Compiling ChronoPT ChronoPT.swift
[15/23] Compiling ChronoPT DayPatterns.swift
[16/23] Compiling ChronoPT DayResolution.swift
[17/23] Compiling ChronoPT PeriodTable.swift
[18/23] Compiling ChronoPT TimePatterns.swift
[19/23] Compiling ChronoPT TimeResolution.swift
[20/23] Compiling ChronoPT TimeRules.swift
[21/23] Compiling ChronoPT Recurrence.swift
[22/23] Compiling ChronoPT StrippingDates.swift
[23/23] Compiling ChronoPT TimeOfDay.swift
BUILD FAILURE 6.3 wasm