Build Information
Failed to build JSONSession, reference main (2de524), with Swift 6.2 for Wasm on 26 Jun 2026 13:53:50 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/elegantchaos/JSONSession.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/elegantchaos/JSONSession
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2de524e Merge pull request #3 from elegantchaos/integration/actionstatus
Cloned https://github.com/elegantchaos/JSONSession.git
Revision (git rev-parse @):
2de524eef0a6a9fbaf00f6e506eb0296eef0d018
SUCCESS checkout https://github.com/elegantchaos/JSONSession.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/elegantchaos/JSONSession.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
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/282] Fetching actionbuilderplugin
[196/2607] Fetching actionbuilderplugin, logger
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.46s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.46s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 2.0.4 (1.34s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 2.1.5 (0.14s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/1191] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (0.41s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 2.2.1 (0.56s)
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/Versionator.git
Fetching https://github.com/elegantchaos/SemanticVersion.git
[1/467] Fetching versionator
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.34s)
[1/152] Fetching semanticversion
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.41s)
[1/710] Fetching runner
Fetched https://github.com/elegantchaos/Runner.git from cache (0.82s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.1.1 (1.00s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/4000] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (0.79s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (1.65s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.5 (0.14s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/129] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.65s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.7 (0.79s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.5.0 (0.17s)
Fetching https://github.com/apple/swift-system
[1/5925] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.59s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.7.2 (0.77s)
Creating working copy for https://github.com/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.5.0
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 2.2.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.7.2
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 2.1.5
Creating working copy for https://github.com/elegantchaos/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 2.0.4
Creating working copy for https://github.com/elegantchaos/SemanticVersion.git
Working copy of https://github.com/elegantchaos/SemanticVersion.git resolved at 1.1.2
Creating working copy for https://github.com/elegantchaos/ChaosByteStreams
Working copy of https://github.com/elegantchaos/ChaosByteStreams resolved at 1.0.7
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 2.1.1
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 2.1.5
[0/13] Write sources
[4/13] Compiling CSystem shims.c
[5/13] Write swift-version-24593BA9C3E375BF.txt
[6/13] Compiling _SubprocessCShims process_shims.c
[8/51] Emitting module SystemPackage
[9/56] Compiling SystemPackage SystemString.swift
[10/56] Compiling SystemPackage Util+StringArray.swift
[11/56] Compiling SystemPackage Util.swift
[12/56] Compiling SystemPackage UtilConsumers.swift
[13/56] Compiling SystemPackage WinSDK+Overlay.swift
[14/56] Compiling SystemPackage FilePermissions.swift
[15/56] Compiling SystemPackage FileFlags.swift
[16/56] Compiling SystemPackage FileMode.swift
[17/56] Compiling SystemPackage FileType.swift
[18/56] Compiling SystemPackage Identifiers.swift
[19/56] Compiling SystemPackage Backcompat.swift
[20/56] Compiling SystemPackage CInterop.swift
[21/56] Compiling SystemPackage Constants.swift
[22/56] Compiling SystemPackage Exports.swift
[23/56] Compiling SystemPackage Mocking.swift
[24/56] Compiling SystemPackage RawBuffer.swift
[25/56] Compiling SystemPackage Syscalls.swift
[26/56] Compiling SystemPackage WindowsSyscallAdapters.swift
[27/56] Compiling SystemPackage MachPort.swift
[28/56] Compiling SystemPackage PlatformString.swift
[29/56] Emitting module VersionatorUtils
[30/56] Compiling VersionatorUtils String+AsyncSequence.swift
[31/57] Wrapping AST for VersionatorUtils for debugging
[33/57] Compiling SystemPackage Errno.swift
[34/57] Compiling SystemPackage ErrnoWindows.swift
[35/57] Compiling SystemPackage FileDescriptor.swift
[36/57] Compiling SystemPackage FileHelpers.swift
[37/57] Compiling SystemPackage FileOperations.swift
[38/57] Compiling SystemPackage FilePathSyntax.swift
[39/57] Compiling SystemPackage FilePathTemp.swift
[40/57] Compiling SystemPackage FilePathTempPosix.swift
[41/57] Compiling SystemPackage FilePathTempWindows.swift
[42/57] Compiling SystemPackage FilePathWindows.swift
[43/57] Compiling SystemPackage FilePath.swift
[44/57] Compiling SystemPackage FilePathComponentView.swift
[45/57] Compiling SystemPackage FilePathComponents.swift
[46/57] Compiling SystemPackage FilePathParsing.swift
[47/57] Compiling SystemPackage FilePathString.swift
[48/57] Compiling SystemPackage Stat.swift
[49/57] Compiling SystemPackage IOCompletion.swift
[50/57] Compiling SystemPackage IORequest.swift
[51/57] Compiling SystemPackage IORing.swift
[52/57] Compiling SystemPackage RawIORequest.swift
[53/58] Wrapping AST for SystemPackage for debugging
[55/80] Emitting module Subprocess
[56/83] Compiling Subprocess Error.swift
[57/83] Compiling Subprocess Execution.swift
[58/83] Compiling Subprocess AsyncIO+KQueue.swift
[59/83] Compiling Subprocess Subprocess+Darwin.swift
[60/83] Compiling Subprocess Subprocess+Linux.swift
[61/83] Compiling Subprocess Subprocess+Unix.swift
[62/83] Compiling Subprocess AsyncIO+Linux.swift
[63/83] Compiling Subprocess AsyncIO+Unix.swift
[64/83] Compiling Subprocess AsyncIO+Windows.swift
[65/83] Compiling Subprocess Input.swift
[66/83] Compiling Subprocess Output.swift
[67/83] Compiling Subprocess Subprocess+BSD.swift
[68/83] Compiling Subprocess Subprocess+Windows.swift
[69/83] Compiling Subprocess Result.swift
[70/83] Compiling Subprocess Span+Subprocess.swift
[71/83] Compiling Subprocess Input+Foundation.swift
[72/83] Compiling Subprocess Output+Foundation.swift
[73/83] Compiling Subprocess Span+SubprocessFoundation.swift
[74/83] Compiling Subprocess API.swift
[75/83] Compiling Subprocess Buffer.swift
[76/83] Compiling Subprocess Configuration.swift
[77/83] Compiling Subprocess SubprocessOutputSequence.swift
[78/83] Compiling Subprocess Teardown.swift
[79/83] Compiling Subprocess Thread.swift
[80/84] Wrapping AST for Subprocess for debugging
[82/86] Compiling VersionatorTool VersionatorTool.swift
[83/86] Emitting module VersionatorTool
[84/87] Wrapping AST for VersionatorTool for debugging
[85/87] Write Objects.LinkFileList
[86/87] Linking VersionatorTool-tool
[1/1] Compiling plugin ActionBuilderPlugin
[2/2] Compiling plugin VersionatorPlugin
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/18] Compiling Logger OSLogHandler.swift
[7/18] Compiling Logger PrintHandler.swift
[8/18] Compiling Logger Handler.swift
[9/18] Compiling Logger NSLogHandler.swift
[10/19] Compiling Logger YieldingSequence.swift
[11/19] Compiling Logger UserDefaultsManagerSettings.swift
[12/19] Compiling Logger ManagerSettings.swift
[13/19] Compiling Logger StreamHandler.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:116:24: error: cannot find 'Thread' in scope
114 | /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
115 | /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
116 | if let manager = Thread.main.threadDictionary["Logger.Manager"] {
| `- error: cannot find 'Thread' in scope
117 | return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
118 | }
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:124:7: error: cannot find 'Thread' in scope
122 |
123 | #if !os(Linux)
124 | Thread.main.threadDictionary["Logger.Manager"] = manager
| `- error: cannot find 'Thread' in scope
125 | #endif
126 |
[14/19] Compiling Logger Manager.swift
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:116:24: error: cannot find 'Thread' in scope
114 | /// We really do want there to only be a single instance of this, even if the logger library has mistakenly been
115 | /// linked multiple times, so we store it in the thread dictionary for the main thread, and retrieve it from there if necessary
116 | if let manager = Thread.main.threadDictionary["Logger.Manager"] {
| `- error: cannot find 'Thread' in scope
117 | return unsafeBitCast(manager as AnyObject, to: Self.self) // a normal cast might fail here if the code has been linked multiple times, since the class could be different (but identical)
118 | }
/host/spi-builder-workspace/.build/checkouts/Logger/Sources/Logger/Manager.swift:124:7: error: cannot find 'Thread' in scope
122 |
123 | #if !os(Linux)
124 | Thread.main.threadDictionary["Logger.Manager"] = manager
| `- error: cannot find 'Thread' in scope
125 | #endif
126 |
[15/19] Compiling Logger Defaults.swift
[16/19] Compiling Logger BasicHandler.swift
[17/19] Emitting module Logger
[18/19] Compiling Logger Channel.swift
[19/19] Compiling Logger Context.swift
BUILD FAILURE 6.2 wasm