Build Information
Failed to build JSON, reference 4.0.2 (12e37e), with Swift 6.3 for Wasm on 10 Apr 2026 10:45:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankogai/swift-json.git
Reference: 4.0.2
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/dankogai/swift-json
* tag 4.0.2 -> FETCH_HEAD
HEAD is now at 12e37ec version 4.0.2
Cloned https://github.com/dankogai/swift-json.git
Revision (git rev-parse @):
12e37ec0a9e5d979de7cd3d00e0495a87c62834d
SUCCESS checkout https://github.com/dankogai/swift-json.git at 4.0.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/dankogai/swift-json.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling JSON JSON.swift
/host/spi-builder-workspace/Sources/JSON/JSON.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
30 | }
31 | extension JSON : Hashable {
32 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
33 | switch self {
34 | case .Error(let m): fatalError("\(m)")
/host/spi-builder-workspace/Sources/JSON/JSON.swift:270:17: warning: variable 'kv' was never mutated; consider changing to 'let' constant
268 | }
269 | case .Object(let o):
270 | var kv = o.map{ $0 }
| `- warning: variable 'kv' was never mutated; consider changing to 'let' constant
271 | var i = -1
272 | return AnyIterator {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[5/11] Emitting module JSON
/host/spi-builder-workspace/Sources/JSON/JSON.swift:32:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
30 | }
31 | extension JSON : Hashable {
32 | public var hashValue: Int {
| `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'JSON' to 'Hashable' by implementing 'hash(into:)' instead [#DeprecatedDeclaration]
33 | switch self {
34 | case .Error(let m): fatalError("\(m)")
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[6/13] Wrapping AST for JSON for debugging
[7/14] Write Objects.LinkFileList
error: dynamic libraries are unsupported for target 'wasm32-unknown-wasip1'
[8/14] Linking libJSON.wasm
BUILD FAILURE 6.3 wasm