The Swift Package Index logo.Swift Package Index

Build Information

Failed to build JSONFoundation, reference main (facecc), with Swift 6.3 for Wasm on 10 Oct 2026 07:29:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/JSONFoundation.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/Cocoanetics/JSONFoundation
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-54344847-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.53s)
Computing version for https://github.com/Cocoanetics/SwiftCross.git
Computed https://github.com/Cocoanetics/SwiftCross.git at 1.2.0 (4.73s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (1.02s)
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/90] Compiling SwiftSyntax600 Empty.swift
[43/90] Emitting module SwiftSyntax600
[44/91] Emitting module SwiftSyntax601
[45/91] Emitting module SwiftSyntax602
[46/91] Compiling SwiftSyntax602 Empty.swift
[47/91] Compiling SwiftSyntax601 Empty.swift
[51/112] Compiling SwiftSyntax510 Empty.swift
[52/112] Emitting module SwiftSyntax510
[54/119] Compiling SwiftSyntax604 Empty.swift
[55/119] Emitting module SwiftSyntax604
[56/120] Compiling SwiftSyntax603 Empty.swift
[57/120] Emitting module SwiftSyntax603
[59/121] Wrapping AST for SwiftSyntax602 for debugging
[61/121] Emitting module SwiftSyntax509
[62/121] Compiling SwiftSyntax509 Empty.swift
[62/122] Wrapping AST for SwiftSyntax603 for debugging
[63/122] Wrapping AST for SwiftSyntax604 for debugging
[65/122] Wrapping AST for SwiftSyntax600 for debugging
[66/122] Wrapping AST for SwiftSyntax601 for debugging
[67/122] Wrapping AST for SwiftSyntax510 for debugging
[68/122] Wrapping AST for SwiftSyntax509 for debugging
[70/186] Compiling JSONRPCWire SSEEventEncoder.swift
[71/186] Compiling SwiftCross UTType.swift
[72/187] Compiling SwiftSyntax EditorPlaceholder.swift
[73/187] Compiling SwiftSyntax Identifier.swift
[74/187] Emitting module JSONRPCWire
[75/187] Compiling SwiftCross WallClock.swift
[76/187] Compiling SwiftCross UTType+MimeTypeToExtensionC.swift
[77/187] Compiling SwiftSyntax AbsolutePosition.swift
[78/187] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[79/187] Compiling SwiftSyntax Convenience.swift
[80/187] Compiling SwiftSyntax CustomTraits.swift
[81/187] Compiling SwiftSyntax ArenaAllocatedBuffer.swift
[82/187] Compiling SwiftSyntax Assert.swift
[83/187] Compiling SwiftSyntax BumpPtrAllocator.swift
[84/187] Compiling SwiftSyntax CommonAncestor.swift
[85/187] Emitting module SwiftCross
[86/187] Compiling JSONRPCWire FramedReaderThread.swift
[87/188] Compiling JSONRPCWire SSEEventDecoder.swift
[88/188] Compiling JSONRPCWire ProcessLaunch.swift
[89/188] Compiling JSONRPCWire MessageFraming.swift
[92/189] Compiling SwiftSyntax SyntaxNodeStructure.swift
[93/189] Compiling SwiftSyntax SyntaxProtocol.swift
[94/189] Compiling SwiftSyntax SyntaxText.swift
[95/189] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[96/189] Compiling SwiftSyntax TokenDiagnostic.swift
[97/189] Compiling SwiftSyntax TokenSequence.swift
[98/189] Compiling SwiftSyntax TokenSyntax.swift
[99/189] Compiling SwiftSyntax Trivia+commentValue.swift
[100/189] Compiling SwiftSyntax Trivia.swift
[110/203] Emitting module JSONRPCSSEServer
[111/203] Compiling JSONRPCSSEServer SSEStreamSink.swift
[112/203] Compiling JSONRPCSSEServer SSEEvent.swift
[113/203] Compiling JSONRPCSSEServer SSEEventID.swift
[114/203] Compiling JSONRPCSSEServer SSEMessage.swift
[115/203] Compiling JSONRPCSSEServer SSEStreamHub.swift
[118/204] Compiling SwiftSyntax MemoryLayout.swift
[119/204] Compiling SwiftSyntax MissingNodeInitializers.swift
[120/204] Compiling SwiftSyntax RawSyntax.swift
[121/204] Compiling SwiftSyntax RawSyntaxArena.swift
[122/204] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[123/204] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[124/204] Compiling SwiftSyntax RawSyntaxTokenView.swift
[125/204] Compiling SwiftSyntax SourceEdit.swift
[128/204] 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 {
[129/205] Emitting module JSONRPCWire
[130/205] Emitting module SwiftCross
[131/205] Compiling JSONRPCWire SSEEventDecoder.swift
[132/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 | /*
[133/205] Compiling JSONRPCWire ProcessLaunch.swift
[136/205] Compiling JSONRPCWire SSEEventEncoder.swift
[143/205] Compiling JSONRPCWire MessageFraming.swift
[144/205] Compiling SwiftCross UTType.swift
BUILD FAILURE 6.3 wasm