Build Information
Failed to build ServiceLocator, reference master (bf15f8), with Swift 6.2 for Wasm on 12 Nov 2026 22:57:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kibotu/ServiceLocator.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/kibotu/ServiceLocator
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bf15f8c re-added identifier
Cloned https://github.com/kibotu/ServiceLocator.git
Revision (git rev-parse @):
bf15f8cd59ad2e73f75fcfa9b70a1abef3624915
SUCCESS checkout https://github.com/kibotu/ServiceLocator.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/kibotu/ServiceLocator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:c060230b7064a851436b23425f977124baa85fecd3eee34dd1bad48fb18dc4fb
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling ServiceLocator Site.swift
[4/9] Compiling ServiceLocator ServiceLocatorModule.swift
[5/9] Compiling ServiceLocator ServiceLocator.swift
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:72:54: error: cannot find 'Thread' in scope
70 | }
71 |
72 | private static let mainThread = ObjectIdentifier(Thread.main)
| `- error: cannot find 'Thread' in scope
73 |
74 | // Guards everything below; `wait()` parks threads until a singleton or main-thread job completes.
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:180:13: error: cannot find 'DispatchQueue' in scope
178 | let keys = condition.withLock { singletonKeys }
179 | await withCheckedContinuation { continuation in
180 | DispatchQueue.global().async { [self] in
| `- error: cannot find 'DispatchQueue' in scope
181 | DispatchQueue.concurrentPerform(iterations: keys.count) { index in
182 | let key = keys[index]
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:181:17: error: cannot find 'DispatchQueue' in scope
179 | await withCheckedContinuation { continuation in
180 | DispatchQueue.global().async { [self] in
181 | DispatchQueue.concurrentPerform(iterations: keys.count) { index in
| `- error: cannot find 'DispatchQueue' in scope
182 | let key = keys[index]
183 | log("build \(key)")
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:230:39: error: cannot find 'Thread' in scope
228 | }
229 |
230 | let thread = ObjectIdentifier(Thread.current)
| `- error: cannot find 'Thread' in scope
231 | let deadline = waitTimeout.map { Date(timeIntervalSinceNow: $0) }
232 | while true {
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:318:9: error: cannot find 'DispatchQueue' in scope
316 | condition.broadcast()
317 | }
318 | DispatchQueue.main.async { [self] in runMainJobs() }
| `- error: cannot find 'DispatchQueue' in scope
319 |
320 | condition.lock()
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/9] Compiling ServiceLocator Inject.swift
[7/9] Compiling ServiceLocator ResolutionError.swift
[8/9] Compiling ServiceLocator Dependency.swift
[9/9] Emitting module ServiceLocator
/host/spi-builder-workspace/Sources/ServiceLocator/ServiceLocator.swift:72:54: error: cannot find 'Thread' in scope
70 | }
71 |
72 | private static let mainThread = ObjectIdentifier(Thread.main)
| `- error: cannot find 'Thread' in scope
73 |
74 | // Guards everything below; `wait()` parks threads until a singleton or main-thread job completes.
BUILD FAILURE 6.2 wasm