Build Information
Failed to build SwiftReload, reference main (e0b67c), with Swift 6.2 for Wasm on 22 Nov 2025 11:20:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ShaftUI/SwiftReload.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/ShaftUI/SwiftReload
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e0b67c1 Use wider swift-syntax range
Cloned https://github.com/ShaftUI/SwiftReload.git
Revision (git rev-parse @):
e0b67c14779b880c475de7c3c5e4778b23cf90fa
SUCCESS checkout https://github.com/ShaftUI/SwiftReload.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/ShaftUI/SwiftReload.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
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/swiftlang/swift-syntax.git
Fetching https://github.com/jpsim/Yams.git
[1/11263] Fetching yams
[6421/84244] Fetching yams, swift-syntax
Fetched https://github.com/jpsim/Yams.git from cache (5.59s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.61s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (8.08s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.36s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.59s)
Building for debugging...
[0/38] Write sources
[14/38] Compiling _SwiftSyntaxCShims PlatformMutex.c
[15/38] Compiling writer.c
[16/38] Compiling reader.c
[17/38] Write swift-version-24593BA9C3E375BF.txt
[18/38] Compiling parser.c
[19/38] Compiling api.c
[20/48] Compiling emitter.c
[21/48] Compiling scanner.c
[23/67] Emitting module SwiftSyntax602
[24/67] Emitting module SwiftSyntax509
[25/67] Compiling SwiftSyntax602 Empty.swift
[26/67] Compiling SwiftSyntax509 Empty.swift
[29/69] Emitting module SwiftSyntax600
[30/69] Compiling SwiftSyntax600 Empty.swift
[31/70] Compiling Yams Tag.swift
[32/70] Compiling Yams YamlAnchorProviding.swift
[34/72] Compiling SwiftSyntax510 Empty.swift
[35/72] Emitting module SwiftSyntax510
[36/72] Emitting module SwiftSyntax601
[37/72] Compiling SwiftSyntax601 Empty.swift
[39/74] Wrapping AST for SwiftSyntax601 for debugging
[40/74] Wrapping AST for SwiftSyntax600 for debugging
[41/74] Wrapping AST for SwiftSyntax602 for debugging
[42/74] Wrapping AST for SwiftSyntax509 for debugging
[43/74] Wrapping AST for SwiftSyntax510 for debugging
[45/137] Compiling SwiftSyntax AbsolutePosition.swift
[46/137] Compiling SwiftSyntax AbsoluteSyntaxInfo.swift
[47/137] Compiling SwiftSyntax SourcePresence.swift
[48/137] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[49/137] Compiling SwiftSyntax SourceLength.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[50/137] Compiling SwiftSyntax SourceLocation.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:307:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
305 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
306 | // it uses with `String(format:...)`
307 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
308 | // "%*.g" does not use scientific notation if the exponent is less than –4.
309 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[51/137] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[52/137] Compiling SwiftSyntax RawSyntaxTokenView.swift
[53/137] Compiling SwiftSyntax SourceEdit.swift
[54/137] Compiling SwiftSyntax Syntax.swift
[55/137] Compiling SwiftSyntax SyntaxChildren.swift
[56/137] Compiling SwiftSyntax SyntaxCollection.swift
[57/137] Compiling SwiftSyntax RawSyntax.swift
[58/137] Compiling SwiftSyntax RawSyntaxArena.swift
[59/137] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[60/137] Emitting module Yams
[61/137] Compiling SwiftSyntax Identifier.swift
[62/137] Compiling SwiftSyntax MemoryLayout.swift
[63/137] Compiling SwiftSyntax MissingNodeInitializers.swift
BUILD FAILURE 6.2 wasm