Build Information
Failed to build JSONFoundation, reference 3.2.1 (facecc), with Swift 6.3 for Wasm on 10 Oct 2026 07:32:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/JSONFoundation.git
Reference: 3.2.1
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/Cocoanetics/JSONFoundation
* tag 3.2.1 -> FETCH_HEAD
HEAD is now at faceccf Allow swift-subprocess 1.x and swift-syntax 604 (#15)
Cloned https://github.com/Cocoanetics/JSONFoundation.git
Revision (git rev-parse @):
faceccfb9c72c9ba7c872053fc7cf479c1dc1a76
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Cocoanetics/JSONFoundation.git at 3.2.1
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Cocoanetics/JSONFoundation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:df2e9038ff906af397ec7b7e13902ccb183f8867606bc33419e44453a9abdb4b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/Cocoanetics/SwiftCross.git
Fetching https://github.com/swiftlang/swift-syntax.git
[1/120] Fetching swiftcross
[121/80531] Fetching swiftcross, swift-syntax
Fetched https://github.com/Cocoanetics/SwiftCross.git from cache (4.51s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.54s)
Computing version for https://github.com/Cocoanetics/SwiftCross.git
Computed https://github.com/Cocoanetics/SwiftCross.git at 1.2.0 (4.69s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (1.01s)
Creating working copy for https://github.com/Cocoanetics/SwiftCross.git
Working copy of https://github.com/Cocoanetics/SwiftCross.git resolved at 1.2.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Building for debugging...
[0/63] Write sources
[39/63] Compiling _SwiftSyntaxCShims PlatformMutex.c
[40/63] Write swift-version-24593BA9C3E375BF.txt
[42/101] Emitting module SwiftSyntax600
[43/101] Emitting module SwiftSyntax604
[44/101] Emitting module SwiftSyntax602
[45/101] Emitting module SwiftSyntax603
[46/101] Emitting module SwiftCross
[47/102] Emitting module SwiftSyntax601
[48/102] Compiling SwiftSyntax601 Empty.swift
[49/102] Compiling SwiftSyntax600 Empty.swift
[52/104] Compiling SwiftSyntax602 Empty.swift
[53/105] Compiling SwiftSyntax510 Empty.swift
[54/105] Emitting module SwiftSyntax510
[55/105] Compiling SwiftSyntax604 Empty.swift
[59/115] Compiling SwiftSyntax603 Empty.swift
[59/116] Wrapping AST for SwiftSyntax602 for debugging
[60/116] Wrapping AST for SwiftSyntax601 for debugging
[62/116] Compiling SwiftSyntax509 Empty.swift
[63/116] Emitting module SwiftSyntax509
[64/123] Wrapping AST for SwiftSyntax600 for debugging
[65/123] Wrapping AST for SwiftSyntax604 for debugging
[67/123] Wrapping AST for SwiftSyntax510 for debugging
[68/123] Wrapping AST for SwiftSyntax603 for debugging
[69/123] Wrapping AST for SwiftSyntax509 for debugging
[71/166] Emitting module JSONRPCWire
[73/187] Compiling JSONRPCWire FramedReaderThread.swift
[74/187] Compiling SwiftSyntax EditorPlaceholder.swift
[75/187] Compiling SwiftSyntax Identifier.swift
[76/187] Compiling SwiftSyntax Convenience.swift
[77/187] Compiling SwiftSyntax CustomTraits.swift
[78/188] Emitting module SwiftCross
[79/188] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[80/188] Compiling SwiftSyntax Assert.swift
[81/188] Compiling SwiftSyntax BumpPtrAllocator.swift
[82/188] Compiling SwiftSyntax CommonAncestor.swift
[83/188] Compiling SwiftSyntax AbsolutePosition.swift
[84/188] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[85/188] Compiling SwiftCross WallClock.swift
[86/188] Compiling SwiftCross UTType.swift
[87/188] Compiling SwiftCross UTType+MimeTypeToExtensionC.swift
[88/189] Compiling JSONRPCWire ProcessLaunch.swift
[90/189] Compiling JSONRPCWire SSEEventDecoder.swift
[91/189] Compiling JSONRPCWire SSEEventEncoder.swift
[101/197] Compiling JSONRPCWire MessageFraming.swift
[103/204] Compiling JSONRPCSSEServer SSEStreamSink.swift
[104/204] Compiling JSONRPCSSEServer SSEEventID.swift
[105/204] Emitting module JSONRPCSSEServer
[106/204] Compiling JSONRPCSSEServer SSEStreamHub.swift
[107/204] Compiling JSONRPCSSEServer SSEEvent.swift
[108/204] Compiling JSONRPCSSEServer SSEMessage.swift
[111/205] Compiling SwiftSyntax MemoryLayout.swift
[112/205] Compiling SwiftSyntax MissingNodeInitializers.swift
[113/205] Compiling SwiftSyntax RawSyntax.swift
[114/205] Compiling SwiftSyntax RawSyntaxArena.swift
[115/205] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[116/205] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[117/205] Compiling SwiftSyntax RawSyntaxTokenView.swift
[118/205] Compiling SwiftSyntax SourceEdit.swift
[119/205] Compiling JSONRPCWire SSEEventEncoder.swift
[122/205] Compiling SwiftCross WallClock.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCross/Sources/SwiftCross/WallClock.swift:47:23: error: cannot find 'CLOCK_REALTIME' in scope
45 | #else
46 | var time = timespec()
47 | clock_gettime(CLOCK_REALTIME, &time)
| `- error: cannot find 'CLOCK_REALTIME' in scope
48 | return (Int(time.tv_sec), Int(time.tv_nsec))
49 | #endif
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/__header_time.h:20:9: note: macro 'CLOCK_REALTIME' unavailable: structure not supported
18 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
19 | extern const struct __clockid _CLOCK_REALTIME;
20 | #define CLOCK_REALTIME (&_CLOCK_REALTIME)
| `- note: macro 'CLOCK_REALTIME' unavailable: structure not supported
21 |
22 | /*
[129/205] Compiling JSONRPCWire SSEEventDecoder.swift
[132/205] Compiling JSONRPCWire ProcessLaunch.swift
[133/205] Compiling JSONRPCWire FramedReaderThread.swift
/host/spi-builder-workspace/Sources/JSONRPCWire/FramedReaderThread.swift:28:18: error: cannot find 'Thread' in scope
26 | onFinish: @escaping @Sendable ((any Error)?) -> Void
27 | ) {
28 | let thread = Thread {
| `- error: cannot find 'Thread' in scope
29 | var decoder = framing
30 | while true {
[134/205] Compiling JSONRPCWire MessageFraming.swift
[135/205] Compiling SwiftCross UTType.swift
BUILD FAILURE 6.3 wasm