Build Information
Failed to build swift-export, reference main (5dfa88), with Swift 6.3 for Wasm on 19 Apr 2026 00:52:42 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/franklefebvre/swift-export.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/franklefebvre/swift-export
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5dfa883 Update installer package
Cloned https://github.com/franklefebvre/swift-export.git
Revision (git rev-parse @):
5dfa883ff4c619bee2fed34a950db598b3da7f46
SUCCESS checkout https://github.com/franklefebvre/swift-export.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/franklefebvre/swift-export.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
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/17529] Fetching swift-argument-parser
[3507/29080] Fetching swift-argument-parser, yams
Fetched https://github.com/apple/swift-argument-parser from cache (1.47s)
Fetched https://github.com/jpsim/Yams.git from cache (1.69s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (4.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.56s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/19] Write sources
[6/19] Compiling writer.c
[7/19] Compiling reader.c
[8/19] Compiling api.c
[9/19] Compiling parser.c
[10/19] Compiling emitter.c
[11/19] Compiling scanner.c
[12/19] Write swift-version-24593BA9C3E375BF.txt
[14/41] Emitting module Yams
[15/43] Compiling Yams Tag.swift
[16/43] Compiling Yams YamlAnchorProviding.swift
[17/43] Compiling Yams Mark.swift
[18/43] Compiling Yams Node.Alias.swift
[19/43] Compiling Yams Node.Mapping.swift
[20/43] Emitting module ArgumentParserToolInfo
[21/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[22/44] Wrapping AST for ArgumentParserToolInfo for debugging
[24/90] Compiling ArgumentParser Flag.swift
[25/90] Compiling ArgumentParser NameSpecification.swift
[26/90] Compiling ArgumentParser Option.swift
[27/90] Compiling ArgumentParser OptionGroup.swift
[28/90] Compiling ArgumentParser Foundation.swift
[29/90] Compiling ArgumentParser CompletionKind.swift
[30/90] Compiling ArgumentParser Errors.swift
[31/90] Compiling ArgumentParser ArgumentHelp.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.
[32/90] Compiling ArgumentParser DumpHelpGenerator.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.
[33/90] Compiling ArgumentParser HelpCommand.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.
[34/90] Compiling ArgumentParser HelpGenerator.swift
[35/90] Compiling ArgumentParser MessageInfo.swift
[36/90] Compiling ArgumentParser UsageGenerator.swift
[37/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[38/90] Compiling ArgumentParser Argument.swift
[39/90] Compiling ArgumentParser ArgumentDiscussion.swift
BUILD FAILURE 6.3 wasm