The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ServiceLocator, reference master (bf15f8), with Swift 6.1 for Wasm on 12 Nov 2026 22:59:35 UTC.

Build Command

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

Build 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.1
Building package at path:  $PWD
https://github.com/kibotu/ServiceLocator.git
https://github.com/kibotu/ServiceLocator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:0034c02a984097e8bef091e8149ee5bab070831958674652bcea48eef7e72457
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling ServiceLocator ServiceLocatorModule.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
[4/9] Compiling ServiceLocator Site.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)
[5/9] Compiling ServiceLocator ResolutionError.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
[6/9] Compiling ServiceLocator Inject.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
[7/9] Compiling ServiceLocator Dependency.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
[8/9] Emitting module ServiceLocator
<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/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.
[9/9] Compiling ServiceLocator ServiceLocator.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/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()
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-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:0034c02a984097e8bef091e8149ee5bab070831958674652bcea48eef7e72457
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/1] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling ServiceLocator Site.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/8] Compiling ServiceLocator ResolutionError.swift
[4/8] Compiling ServiceLocator ServiceLocatorModule.swift
[5/8] Compiling ServiceLocator Dependency.swift
[6/8] Compiling ServiceLocator Inject.swift
[7/8] 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.
[8/8] 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()
BUILD FAILURE 6.1 wasm