The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Coltrane, reference 1.3.0 (9ca0bc), with Swift 6.2 for Wasm on 28 Jun 2026 06:28:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-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: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/otaviocc/Coltrane.git
Reference: 1.3.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/otaviocc/Coltrane
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 9ca0bc2 Update README
Cloned https://github.com/otaviocc/Coltrane.git
Revision (git rev-parse @):
9ca0bc25e09218bb7ec8325861b592eff2ffcb7d
SUCCESS checkout https://github.com/otaviocc/Coltrane.git at 1.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/otaviocc/Coltrane.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-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:dc8dffc38f1d92eca7ee5312617822470123661393ed20672e77964f9dcaaffb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/47] Write sources
[12/47] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/56] Emitting module Coltrane
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:196:27: error: cannot find type 'Thread' in scope
194 |
195 |     /// Records that `thread` is running as `vp`, so `currentVP()` can map back.
196 |     func register(thread: Thread, as vp: VirtualProcessor) {
    |                           `- error: cannot find type 'Thread' in scope
197 |         stateLock.lock()
198 |         threadMap[ObjectIdentifier(thread)] = vp
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:48:28: error: cannot find 'DispatchSemaphore' in scope
 46 |     var jobStack: [AnyJob] = []
 47 |
 48 |     private let finished = DispatchSemaphore(value: 0)
    |                            `- error: cannot find 'DispatchSemaphore' in scope
 49 |     private var thread: Thread?
 50 |     private unowned let runtime: Coltrane
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:49:25: error: cannot find type 'Thread' in scope
 47 |
 48 |     private let finished = DispatchSemaphore(value: 0)
 49 |     private var thread: Thread?
    |                         `- error: cannot find type 'Thread' in scope
 50 |     private unowned let runtime: Coltrane
 51 |
[15/57] Compiling Coltrane SpawnSplit.swift
[16/57] Compiling Coltrane Scheduler.swift
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:48:28: error: cannot find 'DispatchSemaphore' in scope
 46 |     var jobStack: [AnyJob] = []
 47 |
 48 |     private let finished = DispatchSemaphore(value: 0)
    |                            `- error: cannot find 'DispatchSemaphore' in scope
 49 |     private var thread: Thread?
 50 |     private unowned let runtime: Coltrane
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:49:25: error: cannot find type 'Thread' in scope
 47 |
 48 |     private let finished = DispatchSemaphore(value: 0)
 49 |     private var thread: Thread?
    |                         `- error: cannot find type 'Thread' in scope
 50 |     private unowned let runtime: Coltrane
 51 |
[17/57] Compiling Coltrane VirtualProcessor.swift
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:48:28: error: cannot find 'DispatchSemaphore' in scope
 46 |     var jobStack: [AnyJob] = []
 47 |
 48 |     private let finished = DispatchSemaphore(value: 0)
    |                            `- error: cannot find 'DispatchSemaphore' in scope
 49 |     private var thread: Thread?
 50 |     private unowned let runtime: Coltrane
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:49:25: error: cannot find type 'Thread' in scope
 47 |
 48 |     private let finished = DispatchSemaphore(value: 0)
 49 |     private var thread: Thread?
    |                         `- error: cannot find type 'Thread' in scope
 50 |     private unowned let runtime: Coltrane
 51 |
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:67:25: error: cannot find 'Thread' in scope
 65 |     func startThread() {
 66 |         precondition(!isMain, "VP 0 (main) must not spawn a thread")
 67 |         let callerQoS = Thread.current.qualityOfService
    |                         `- error: cannot find 'Thread' in scope
 68 |         let t = Thread { [weak self] in self?.runLoop() }
 69 |         t.stackSize = 8 << 20
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:68:17: error: cannot find 'Thread' in scope
 66 |         precondition(!isMain, "VP 0 (main) must not spawn a thread")
 67 |         let callerQoS = Thread.current.qualityOfService
 68 |         let t = Thread { [weak self] in self?.runLoop() }
    |                 `- error: cannot find 'Thread' in scope
 69 |         t.stackSize = 8 << 20
 70 |         t.name = "Coltrane.VP\(id)"
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:79:34: error: cannot find 'Thread' in scope
 77 |     /// briefly when there is none, until the runtime stops.
 78 |     func runLoop() {
 79 |         runtime.register(thread: Thread.current, as: self)
    |                                  `- error: cannot find 'Thread' in scope
 80 |         bindToCore(id)
 81 |
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:196:27: error: cannot find type 'Thread' in scope
194 |
195 |     /// Records that `thread` is running as `vp`, so `currentVP()` can map back.
196 |     func register(thread: Thread, as vp: VirtualProcessor) {
    |                           `- error: cannot find type 'Thread' in scope
197 |         stateLock.lock()
198 |         threadMap[ObjectIdentifier(thread)] = vp
/host/spi-builder-workspace/Sources/Coltrane/VirtualProcessor.swift:104:14: warning: result of call to 'wait(until:)' is unused [#no-usage]
102 |         let cond = runtime.workSignal
103 |         cond.lock()
104 |         cond.wait(until: Date().addingTimeInterval(Coltrane.idlePollInterval))
    |              `- warning: result of call to 'wait(until:)' is unused [#no-usage]
105 |         cond.unlock()
106 |     }
[18/57] Compiling Coltrane Join.swift
/host/spi-builder-workspace/Sources/Coltrane/Join.swift:94:28: warning: result of call to 'wait(until:)' is unused [#no-usage]
92 |         job.completion.lock()
93 |         if !job.isFinishedLocked {
94 |             job.completion.wait(until: Date().addingTimeInterval(Coltrane.idlePollInterval))
   |                            `- warning: result of call to 'wait(until:)' is unused [#no-usage]
95 |         }
96 |         job.completion.unlock()
[19/57] Compiling Coltrane JobOptions.swift
[20/57] Compiling Coltrane JobHandle.swift
[21/57] Compiling Coltrane JobList.swift
[22/57] Compiling Coltrane Coltrane.swift
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:196:27: error: cannot find type 'Thread' in scope
194 |
195 |     /// Records that `thread` is running as `vp`, so `currentVP()` can map back.
196 |     func register(thread: Thread, as vp: VirtualProcessor) {
    |                           `- error: cannot find type 'Thread' in scope
197 |         stateLock.lock()
198 |         threadMap[ObjectIdentifier(thread)] = vp
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:129:39: error: cannot find 'Thread' in scope
127 |         let main = VirtualProcessor(id: 0, isMain: true, runtime: self)
128 |         vpList = [main]
129 |         threadMap = [ObjectIdentifier(Thread.current): main]
    |                                       `- error: cannot find 'Thread' in scope
130 |         var workers: [VirtualProcessor] = []
131 |         for slot in 1..<count {
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:207:43: error: cannot find 'Thread' in scope
205 |         stateLock.lock()
206 |         defer { stateLock.unlock() }
207 |         return threadMap[ObjectIdentifier(Thread.current)]
    |                                           `- error: cannot find 'Thread' in scope
208 |     }
209 |
[23/57] Compiling Coltrane Job.swift
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:196:27: error: cannot find type 'Thread' in scope
194 |
195 |     /// Records that `thread` is running as `vp`, so `currentVP()` can map back.
196 |     func register(thread: Thread, as vp: VirtualProcessor) {
    |                           `- error: cannot find type 'Thread' in scope
197 |         stateLock.lock()
198 |         threadMap[ObjectIdentifier(thread)] = vp
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:129:39: error: cannot find 'Thread' in scope
127 |         let main = VirtualProcessor(id: 0, isMain: true, runtime: self)
128 |         vpList = [main]
129 |         threadMap = [ObjectIdentifier(Thread.current): main]
    |                                       `- error: cannot find 'Thread' in scope
130 |         var workers: [VirtualProcessor] = []
131 |         for slot in 1..<count {
/host/spi-builder-workspace/Sources/Coltrane/Coltrane.swift:207:43: error: cannot find 'Thread' in scope
205 |         stateLock.lock()
206 |         defer { stateLock.unlock() }
207 |         return threadMap[ObjectIdentifier(Thread.current)]
    |                                           `- error: cannot find 'Thread' in scope
208 |     }
209 |
BUILD FAILURE 6.2 wasm