Build Information
Failed to build Coltrane, reference 1.3.0 (9ca0bc), with Swift 6.1 for Wasm on 28 Jun 2026 06:27:43 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build 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.1
Building package at path: $PWD
https://github.com/otaviocc/Coltrane.git
https://github.com/otaviocc/Coltrane.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/47] Write sources
[12/47] Write swift-version-24593BA9C3E375BF.txt
[14/56] Compiling Coltrane SpawnSplit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/56] Compiling Coltrane Join.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/Coltrane/Join.swift:94:28: warning: result of call to 'wait(until:)' is unused
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
95 | }
96 | job.completion.unlock()
[16/56] Compiling Coltrane JobList.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/57] Compiling Coltrane JobHandle.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/57] Compiling Coltrane JobOptions.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/57] Emitting module Coltrane
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[20/57] Compiling Coltrane Scheduler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[21/57] Compiling Coltrane Coltrane.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 |
[22/57] Compiling Coltrane Job.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 VirtualProcessor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
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
105 | cond.unlock()
106 | }
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:1ad245dad3d2ae0004e1afbc92334bd39884ed9ca587cf04d0a8d5f640fb02e9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/35] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling Coltrane SpawnSplit.swift
[3/44] 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 |
[4/45] Compiling Coltrane Join.swift
/host/spi-builder-workspace/Sources/Coltrane/Join.swift:94:28: warning: result of call to 'wait(until:)' is unused
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
95 | }
96 | job.completion.unlock()
[5/45] Compiling Coltrane JobHandle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/45] Compiling Coltrane JobOptions.swift
[7/45] Compiling Coltrane JobList.swift
[8/45] 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 |
[9/45] 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 |
[10/45] 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 |
[11/45] 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
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
105 | cond.unlock()
106 | }
BUILD FAILURE 6.1 wasm