The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONSession, reference main (c4a158), with Swift 6.2 for Wasm on 6 Mar 2026 23:56:12 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/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 c4a1580 Merge pull request #2 from elegantchaos/feature/session-actor
Cloned https://github.com/elegantchaos/JSONSession.git
Revision (git rev-parse @):
c4a1580e21f58e30dea3086cfdf59fa96e6ef166
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-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:c50555b47c4db0b0576f9f25702fbe2fdff28194c4a4f4c23a7dce4b3504c85e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/elegantchaos/Logger.git
Fetching https://github.com/elegantchaos/ActionBuilderPlugin.git
[1/266] Fetching actionbuilderplugin
[47/2478] Fetching actionbuilderplugin, logger
Fetched https://github.com/elegantchaos/ActionBuilderPlugin.git from cache (0.34s)
Fetched https://github.com/elegantchaos/Logger.git from cache (0.39s)
Computing version for https://github.com/elegantchaos/Logger.git
Computed https://github.com/elegantchaos/Logger.git at 2.0.1 (3.67s)
Computing version for https://github.com/elegantchaos/ActionBuilderPlugin.git
Computed https://github.com/elegantchaos/ActionBuilderPlugin.git at 2.1.2 (0.38s)
Fetching https://github.com/elegantchaos/ActionBuilderCore.git
[1/926] Fetching actionbuildercore
Fetched https://github.com/elegantchaos/ActionBuilderCore.git from cache (1.96s)
Computing version for https://github.com/elegantchaos/ActionBuilderCore.git
Computed https://github.com/elegantchaos/ActionBuilderCore.git at 2.1.6 (2.70s)
Fetching https://github.com/elegantchaos/SemanticVersion.git
Fetching https://github.com/elegantchaos/Runner.git
Fetching https://github.com/elegantchaos/Versionator.git
[1/467] Fetching versionator
[235/619] Fetching versionator, semanticversion
[620/1329] Fetching versionator, semanticversion, runner
Fetched https://github.com/elegantchaos/Versionator.git from cache (0.32s)
Fetched https://github.com/elegantchaos/SemanticVersion.git from cache (0.50s)
Fetched https://github.com/elegantchaos/Runner.git from cache (0.50s)
Computing version for https://github.com/elegantchaos/Versionator.git
Computed https://github.com/elegantchaos/Versionator.git at 2.1.1 (1.11s)
Fetching https://github.com/swiftlang/swift-subprocess.git
[1/2544] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess.git from cache (1.11s)
Computing version for https://github.com/elegantchaos/SemanticVersion.git
Computed https://github.com/elegantchaos/SemanticVersion.git at 1.1.2 (3.19s)
Computing version for https://github.com/elegantchaos/Runner.git
Computed https://github.com/elegantchaos/Runner.git at 2.1.5 (0.32s)
Fetching https://github.com/elegantchaos/ChaosByteStreams
[1/129] Fetching chaosbytestreams
Fetched https://github.com/elegantchaos/ChaosByteStreams from cache (0.20s)
Computing version for https://github.com/elegantchaos/ChaosByteStreams
Computed https://github.com/elegantchaos/ChaosByteStreams at 1.0.7 (0.56s)
Computing version for https://github.com/swiftlang/swift-subprocess.git
Computed https://github.com/swiftlang/swift-subprocess.git at 0.3.0 (0.42s)
Fetching https://github.com/apple/swift-system
[1/5601] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.42s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (1.06s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Creating working copy for https://github.com/elegantchaos/ActionBuilderPlugin.git
Working copy of https://github.com/elegantchaos/ActionBuilderPlugin.git resolved at 2.1.2
Creating working copy for https://github.com/elegantchaos/Runner.git
Working copy of https://github.com/elegantchaos/Runner.git resolved at 2.1.5
Creating working copy for https://github.com/elegantchaos/ActionBuilderCore.git
Working copy of https://github.com/elegantchaos/ActionBuilderCore.git resolved at 2.1.6
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/Logger.git
Working copy of https://github.com/elegantchaos/Logger.git resolved at 2.0.1
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/swiftlang/swift-subprocess.git
Working copy of https://github.com/swiftlang/swift-subprocess.git resolved at 0.3.0
Creating working copy for https://github.com/elegantchaos/Versionator.git
Working copy of https://github.com/elegantchaos/Versionator.git resolved at 2.1.1
[0/13] Write sources
[4/13] Compiling _SubprocessCShims process_shims.c
[5/13] Compiling CSystem shims.c
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/46] Compiling SystemPackage FilePathSyntax.swift
[9/46] Compiling SystemPackage FilePathTemp.swift
[10/46] Compiling SystemPackage FilePathTempPosix.swift
[11/46] Compiling SystemPackage FilePathTempWindows.swift
[12/50] Compiling SystemPackage FilePath.swift
[13/50] Compiling SystemPackage FilePathComponentView.swift
[14/50] Compiling SystemPackage FilePathComponents.swift
[15/50] Compiling SystemPackage FilePathParsing.swift
[16/50] Compiling SystemPackage FilePathString.swift
[17/50] Compiling SystemPackage Errno.swift
[18/50] Compiling SystemPackage ErrnoWindows.swift
[19/50] Compiling SystemPackage FileDescriptor.swift
[20/50] Compiling SystemPackage FileHelpers.swift
[21/50] Compiling SystemPackage FileOperations.swift
[22/50] Emitting module SystemPackage
[23/50] Compiling SystemPackage Syscalls.swift
[24/50] Compiling SystemPackage WindowsSyscallAdapters.swift
[25/50] Compiling SystemPackage MachPort.swift
[26/50] Compiling SystemPackage PlatformString.swift
[27/50] Compiling SystemPackage Constants.swift
[28/50] Compiling SystemPackage Exports.swift
[29/50] Compiling SystemPackage Mocking.swift
[30/50] Compiling SystemPackage RawBuffer.swift
[31/50] Emitting module VersionatorUtils
[32/50] Compiling VersionatorUtils String+AsyncSequence.swift
[33/51] Wrapping AST for VersionatorUtils for debugging
[35/51] Compiling SystemPackage SystemString.swift
[36/51] Compiling SystemPackage Util+StringArray.swift
[37/51] Compiling SystemPackage Util.swift
[38/51] Compiling SystemPackage UtilConsumers.swift
[39/51] Compiling SystemPackage FilePathWindows.swift
[40/51] Compiling SystemPackage FilePermissions.swift
[41/51] Compiling SystemPackage IOCompletion.swift
[42/51] Compiling SystemPackage IORequest.swift
[43/51] Compiling SystemPackage IORing.swift
[44/51] Compiling SystemPackage RawIORequest.swift
[45/51] Compiling SystemPackage Backcompat.swift
[46/51] Compiling SystemPackage CInterop.swift
[47/52] Wrapping AST for SystemPackage for debugging
[49/74] Compiling Subprocess Subprocess+Windows.swift
[50/74] Compiling Subprocess Result.swift
[51/74] Compiling Subprocess Span+Subprocess.swift
[52/76] Emitting module Subprocess
[53/76] Compiling Subprocess Teardown.swift
[54/76] Compiling Subprocess Thread.swift
[55/76] Compiling Subprocess Input.swift
[56/76] Compiling Subprocess Output.swift
[57/76] Compiling Subprocess Subprocess+BSD.swift
[58/76] Compiling Subprocess Input+Foundation.swift
[59/76] Compiling Subprocess Output+Foundation.swift
[60/76] Compiling Subprocess Span+SubprocessFoundation.swift
[61/76] Compiling Subprocess Subprocess+Darwin.swift
[62/76] Compiling Subprocess Subprocess+Linux.swift
[63/76] Compiling Subprocess Subprocess+Unix.swift
[64/76] Compiling Subprocess Configuration.swift
[65/76] Compiling Subprocess Error.swift
[66/76] Compiling Subprocess Execution.swift
[67/76] Compiling Subprocess API.swift
[68/76] Compiling Subprocess AsyncBufferSequence.swift
[69/76] Compiling Subprocess Buffer.swift
[70/76] Compiling Subprocess AsyncIO+Dispatch.swift
[71/76] Compiling Subprocess AsyncIO+Linux.swift
[72/76] Compiling Subprocess AsyncIO+Windows.swift
[73/77] Wrapping AST for Subprocess for debugging
[75/79] Compiling VersionatorTool VersionatorTool.swift
[76/79] Emitting module VersionatorTool
[77/80] Wrapping AST for VersionatorTool for debugging
[78/80] Write Objects.LinkFileList
[79/80] 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/19] Compiling Logger BasicHandler.swift
[7/19] Compiling Logger Handler.swift
[8/20] Compiling Logger YieldingSequence.swift
[9/20] Compiling Logger UserDefaultsManagerSettings.swift
[10/20] Compiling Logger NSLogHandler.swift
[11/20] Compiling Logger OSLogHandler.swift
[12/20] Compiling Logger PrintHandler.swift
[13/20] Compiling Logger StreamHandler.swift
[14/20] 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/20] Compiling Logger ManagerSettings.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 |
[16/20] Compiling Logger Context.swift
[17/20] Compiling Logger Defaults.swift
[18/20] Emitting module Logger
[19/20] Compiling Logger Channel.swift
[20/20] Compiling Logger ChannelsWatcher.swift
BUILD FAILURE 6.2 wasm