Build Information
Failed to build SafeDecoding, reference main (fd7a7e), with Swift 6.2 for Wasm on 4 May 2026 21:48:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AltiAntonov/SafeDecoding.git
Reference: main
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/AltiAntonov/SafeDecoding
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at fd7a7eb Release 0.7.0
Cloned https://github.com/AltiAntonov/SafeDecoding.git
Revision (git rev-parse @):
fd7a7ebe11431ad0663723c0cc740690ff019af5
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/AltiAntonov/SafeDecoding.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/AltiAntonov/SafeDecoding.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling SafeDecoding SafeDecodingFallbackProvider.swift
[4/13] Compiling SafeDecoding SafeDecodable.swift
[5/14] Emitting module SafeDecoding
[6/14] Compiling SafeDecoding SafeJSONDecoder.swift
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:74:9: error: cannot find 'Thread' in scope
72 |
73 | private static var issueHandlerBox: IssueHandlerBox? {
74 | Thread.current.threadDictionary[threadDictionaryKey] as? IssueHandlerBox
| `- error: cannot find 'Thread' in scope
75 | }
76 |
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:78:9: error: cannot find 'Thread' in scope
76 |
77 | private static var issueCollectorStackBox: IssueCollectorStackBox? {
78 | Thread.current.threadDictionary[collectorThreadDictionaryKey] as? IssueCollectorStackBox
| `- error: cannot find 'Thread' in scope
79 | }
80 |
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:146:32: error: cannot find 'Thread' in scope
144 | perform operation: () throws -> Result
145 | ) rethrows -> Result {
146 | let threadDictionary = Thread.current.threadDictionary
| `- error: cannot find 'Thread' in scope
147 | let previous = threadDictionary[threadDictionaryKey]
148 | threadDictionary[threadDictionaryKey] = IssueHandlerBox(handler)
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:170:32: error: cannot find 'Thread' in scope
168 | ) rethrows -> (value: Result, report: SafeDecodingReport) {
169 | let collector = IssueCollectorBox()
170 | let threadDictionary = Thread.current.threadDictionary
| `- error: cannot find 'Thread' in scope
171 | let previousStack = issueCollectorStackBox
172 | if let previousStack {
[7/14] Compiling SafeDecoding SafeDecodingDiagnostics.swift
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:74:9: error: cannot find 'Thread' in scope
72 |
73 | private static var issueHandlerBox: IssueHandlerBox? {
74 | Thread.current.threadDictionary[threadDictionaryKey] as? IssueHandlerBox
| `- error: cannot find 'Thread' in scope
75 | }
76 |
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:78:9: error: cannot find 'Thread' in scope
76 |
77 | private static var issueCollectorStackBox: IssueCollectorStackBox? {
78 | Thread.current.threadDictionary[collectorThreadDictionaryKey] as? IssueCollectorStackBox
| `- error: cannot find 'Thread' in scope
79 | }
80 |
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:146:32: error: cannot find 'Thread' in scope
144 | perform operation: () throws -> Result
145 | ) rethrows -> Result {
146 | let threadDictionary = Thread.current.threadDictionary
| `- error: cannot find 'Thread' in scope
147 | let previous = threadDictionary[threadDictionaryKey]
148 | threadDictionary[threadDictionaryKey] = IssueHandlerBox(handler)
/host/spi-builder-workspace/Sources/SafeDecoding/Diagnostics/SafeDecodingDiagnostics.swift:170:32: error: cannot find 'Thread' in scope
168 | ) rethrows -> (value: Result, report: SafeDecodingReport) {
169 | let collector = IssueCollectorBox()
170 | let threadDictionary = Thread.current.threadDictionary
| `- error: cannot find 'Thread' in scope
171 | let previousStack = issueCollectorStackBox
172 | if let previousStack {
[8/14] Compiling SafeDecoding SafeDecodingIssue.swift
[9/14] Compiling SafeDecoding SafeDecodingReport.swift
[10/14] Compiling SafeDecoding KeyedDecodingContainer+LossySafeDecoding.swift
[11/14] Compiling SafeDecoding KeyedDecodingContainer+SafeDecoding.swift
[12/14] Compiling SafeDecoding LossySafeDecodable.swift
[13/14] Compiling SafeDecoding KeyedDecodingContainer+SafeFallbackDecoding.swift
[14/14] Compiling SafeDecoding SafeFallbackDecodable.swift
BUILD FAILURE 6.2 wasm