Build Information
Failed to build PlaygroundTools, reference main (f331e2), with Swift 6.3 for Wasm on 13 Apr 2026 09:49:41 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/liamnichols/swift-playground-tools.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/liamnichols/swift-playground-tools
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f331e26 Remove GeneratorError.swift
Cloned https://github.com/liamnichols/swift-playground-tools.git
Revision (git rev-parse @):
f331e26ce0faeed6910d14fe37524b6dd9209be0
SUCCESS checkout https://github.com/liamnichols/swift-playground-tools.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/liamnichols/swift-playground-tools.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/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/yonaskolb/XcodeGen.git
[1/1452] Fetching pathkit
[1453/18975] Fetching pathkit, swift-argument-parser
[10215/45236] Fetching pathkit, swift-argument-parser, xcodegen
Fetched https://github.com/kylef/PathKit.git from cache (0.90s)
[33805/43784] Fetching swift-argument-parser, xcodegen
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.91s)
[17333/26261] Fetching xcodegen
Fetched https://github.com/yonaskolb/XcodeGen.git from cache (1.99s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.71s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.66s)
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.70s)
Computing version for https://github.com/yonaskolb/XcodeGen.git
Computed https://github.com/yonaskolb/XcodeGen.git at 2.45.3 (0.84s)
Fetching https://github.com/mxcl/Version
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/onevcat/Rainbow.git
[1/5074] Fetching swiftcli
[1016/6427] Fetching swiftcli, jsonutilities
[3689/6720] Fetching swiftcli, jsonutilities, version
[3921/8162] Fetching swiftcli, jsonutilities, version, rainbow
[4357/32595] Fetching swiftcli, jsonutilities, version, rainbow, xcodeproj
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.62s)
[5154/31242] Fetching swiftcli, version, rainbow, xcodeproj
Fetched https://github.com/onevcat/Rainbow.git from cache (0.77s)
[8299/29800] Fetching swiftcli, version, xcodeproj
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/mxcl/Version from cache (4.36s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (4.75s)
Fetched https://github.com/tuist/XcodeProj.git from cache (4.76s)
[1/11551] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (2.57s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (7.67s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.10.1 (0.56s)
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (1.53s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (2.09s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.20s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.49s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.1 (4.06s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.47s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.1
Creating working copy for https://github.com/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/yonaskolb/XcodeGen.git
Working copy of https://github.com/yonaskolb/XcodeGen.git resolved at 2.45.3
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.10.1
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.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/38] Write sources
[7/38] Copying SettingPresets
[7/38] Write sources
[16/38] Compiling writer.c
[17/38] Compiling reader.c
[18/38] Write swift-version-24593BA9C3E375BF.txt
[19/38] Compiling parser.c
[20/39] Compiling api.c
[21/52] Compiling emitter.c
[22/64] Compiling scanner.c
[24/84] Emitting module Version
[25/84] Emitting module Yams
[26/86] Compiling Yams Tag.swift
[27/86] Compiling Yams YamlAnchorProviding.swift
[28/86] Emitting module AEXML
[29/86] Compiling Version Version+Codable.swift
[30/86] Compiling Version Version+Range.swift
[31/86] Compiling Version Version.swift
[32/86] Emitting module ArgumentParserToolInfo
[33/86] Compiling ArgumentParserToolInfo ToolInfo.swift
[34/87] Wrapping AST for ArgumentParserToolInfo for debugging
[36/133] Compiling Version Version+Comparable.swift
[37/133] Compiling Version Version+Foundation.swift
[39/134] Compiling JSONUtilities JSONObjectConvertible.swift
[40/134] Compiling JSONUtilities JSONFileLoading.swift
[41/134] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[42/135] Emitting module JSONUtilities
[43/135] Compiling ArgumentParser BashCompletionsGenerator.swift
[44/135] Compiling ArgumentParser CompletionsGenerator.swift
[45/135] Compiling AEXML Builders.swift
[46/135] Compiling AEXML Document.swift
[47/135] Compiling JSONUtilities KeyPath.swift
[47/135] Wrapping AST for Version for debugging
[49/135] Compiling ArgumentParser CollectionExtensions.swift
[50/135] Compiling ArgumentParser ArgumentVisibility.swift
[51/135] Compiling ArgumentParser DumpHelpGenerator.swift
[52/135] Compiling ArgumentParser HelpCommand.swift
[53/135] Compiling ArgumentParser HelpGenerator.swift
[54/135] Compiling ArgumentParser EnumerableFlag.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.
[55/135] Compiling ArgumentParser ExpressibleByArgument.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.
[56/135] Compiling ArgumentParser ParsableArguments.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.
[57/135] Compiling ArgumentParser MessageInfo.swift
[58/135] Compiling ArgumentParser UsageGenerator.swift
[59/135] Compiling ArgumentParser ZshCompletionsGenerator.swift
[60/135] Compiling ArgumentParser Argument.swift
[61/135] Compiling ArgumentParser ArgumentDiscussion.swift
[64/135] Compiling ArgumentParser FishCompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/135] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[66/135] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[67/135] Compiling AEXML Parser.swift
[68/135] Compiling JSONUtilities Dictionary+KeyPath.swift
[69/135] Compiling JSONUtilities InvalidItemBehaviour.swift
[70/135] Compiling ArgumentParser AsyncParsableCommand.swift
[71/135] Compiling ArgumentParser CommandConfiguration.swift
[72/135] Compiling ArgumentParser CommandGroup.swift
[73/135] Compiling AEXML Error.swift
[74/135] Compiling AEXML Options.swift
[75/135] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
error: cancelled
BUILD FAILURE 6.3 wasm