Build Information
Failed to build MicroContainer, reference 0.0.6 (255f98), with Swift 6.2 for Wasm on 28 Jun 2026 06:33:57 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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/otaviocc/MicroContainer.git
Reference: 0.0.6
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/MicroContainer
* tag 0.0.6 -> FETCH_HEAD
HEAD is now at 255f98b Add @unchecked Sendable
Cloned https://github.com/otaviocc/MicroContainer.git
Revision (git rev-parse @):
255f98b9807a44fad475df01d14a2f47c501a4b3
SUCCESS checkout https://github.com/otaviocc/MicroContainer.git at 0.0.6
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/otaviocc/MicroContainer.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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/12] Emitting module MicroContainer
[4/12] Compiling MicroContainer DependencyBuilder.swift
[5/13] Compiling MicroContainer Singleton.swift
[6/13] Compiling MicroContainer Registration.swift
[7/13] Compiling MicroContainer Factory.swift
[8/13] Compiling MicroContainer DependencyName.swift
[9/13] Compiling MicroContainer AnyDependencyFactoryInvocable.swift
[10/13] Compiling MicroContainer AnyDependencyLifetimeProviding.swift
[11/13] Compiling MicroContainer Dependency.swift
[12/13] Compiling MicroContainer DependencyAllocation.swift
[13/13] Compiling MicroContainer DependencyContainer.swift
/host/spi-builder-workspace/Sources/MicroContainer/DependencyContainer.swift:315:21: error: cannot find 'Thread' in scope
313 | func beginResolution(for key: DependencyName) -> [String]? {
314 | let name = String(describing: key)
315 | var stack = Thread.current.threadDictionary[resolutionStackKey] as? [String] ?? []
| `- error: cannot find 'Thread' in scope
316 | if stack.contains(name) {
317 | return stack + [name]
/host/spi-builder-workspace/Sources/MicroContainer/DependencyContainer.swift:320:9: error: cannot find 'Thread' in scope
318 | }
319 | stack.append(name)
320 | Thread.current.threadDictionary[resolutionStackKey] = stack
| `- error: cannot find 'Thread' in scope
321 | return nil
322 | }
/host/spi-builder-workspace/Sources/MicroContainer/DependencyContainer.swift:326:21: error: cannot find 'Thread' in scope
324 | func endResolution(for key: DependencyName) {
325 | let name = String(describing: key)
326 | var stack = Thread.current.threadDictionary[resolutionStackKey] as? [String] ?? []
| `- error: cannot find 'Thread' in scope
327 | if stack.last == name {
328 | stack.removeLast()
/host/spi-builder-workspace/Sources/MicroContainer/DependencyContainer.swift:332:9: error: cannot find 'Thread' in scope
330 | stack.removeAll()
331 | }
332 | Thread.current.threadDictionary[resolutionStackKey] = stack
| `- error: cannot find 'Thread' in scope
333 | }
334 | }
BUILD FAILURE 6.2 wasm