Build Information
Failed to build VM, reference main (45a8ec), with Swift 6.3 for Wasm on 30 Apr 2026 19:11:49 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/subpop/vm.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/subpop/vm
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 45a8ec6 Set version to 0.1.2
Cloned https://github.com/subpop/vm.git
Revision (git rev-parse @):
45a8ec687a39e2ae68b4fc2349dbb9765ddd754d
SUCCESS checkout https://github.com/subpop/vm.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/subpop/vm.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/17527] Fetching swift-argument-parser
[2280/24336] Fetching swift-argument-parser, swift-log
[3984/35887] Fetching swift-argument-parser, swift-log, yams
Fetched https://github.com/apple/swift-log.git from cache (0.77s)
[23534/29078] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.31s)
Fetched https://github.com/jpsim/Yams.git from cache (2.30s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.1 (3.06s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.53s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/23] Write sources
[8/23] Compiling reader.c
[9/23] Compiling writer.c
[10/23] Write swift-version-24593BA9C3E375BF.txt
[11/23] Compiling parser.c
[12/28] Compiling api.c
[13/31] Compiling emitter.c
[14/31] Compiling scanner.c
[16/51] Emitting module Yams
[17/53] Compiling Yams Tag.swift
[18/53] Compiling Yams YamlAnchorProviding.swift
[19/53] Compiling Logging MetadataProvider.swift
[20/53] Compiling Logging Locks.swift
[21/53] Compiling Logging LogEvent.swift
[22/53] Emitting module Logging
[23/53] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/53] Emitting module ArgumentParserToolInfo
[26/54] Compiling Yams Node.Scalar.swift
[27/54] Compiling Yams Node.Sequence.swift
[28/54] Compiling Yams Node.swift
[28/54] Wrapping AST for ArgumentParserToolInfo for debugging
[30/100] Compiling ArgumentParser Option.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 | // it uses with `String(format:...)`
338 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 | // "%*.g" does not use scientific notation if the exponent is less than –4.
340 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[31/100] Compiling ArgumentParser OptionGroup.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 | // it uses with `String(format:...)`
338 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 | // "%*.g" does not use scientific notation if the exponent is less than –4.
340 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[32/100] Compiling ArgumentParser ParsableCommand.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:338:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
336 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
337 | // it uses with `String(format:...)`
338 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
339 | // "%*.g" does not use scientific notation if the exponent is less than –4.
340 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[33/100] Compiling ArgumentParser ArgumentDecoder.swift
[34/100] Compiling ArgumentParser ArgumentDefinition.swift
[35/100] Compiling ArgumentParser InputKey.swift
[36/100] Compiling ArgumentParser DumpHelpGenerator.swift
[37/100] Compiling ArgumentParser ArgumentHelp.swift
[38/100] Compiling ArgumentParser ArgumentVisibility.swift
[39/100] Compiling ArgumentParser CompletionKind.swift
[40/100] Compiling ArgumentParser ZshCompletionsGenerator.swift
[41/100] Compiling ArgumentParser Argument.swift
[42/100] Compiling ArgumentParser ArgumentDiscussion.swift
[43/100] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/100] Compiling ArgumentParser CompletionsGenerator.swift
[45/100] Compiling ArgumentParser FishCompletionsGenerator.swift
BUILD FAILURE 6.3 wasm