Build Information
Failed to build RunScriptPlugin, reference main (7ee674
), with Swift 6.1 for Wasm on 29 May 2025 21:10:28 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/RunScriptPlugin.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/p-x9/RunScriptPlugin
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7ee6742 Merge pull request #22 from p-x9/version/0.4.0
Cloned https://github.com/p-x9/RunScriptPlugin.git
Revision (git rev-parse @):
7ee6742192cdf0f4b01fda3b27e39ce971e364f0
SUCCESS checkout https://github.com/p-x9/RunScriptPlugin.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/p-x9/RunScriptPlugin.git
https://github.com/p-x9/RunScriptPlugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
}
],
"manifest_display_name" : "RunScriptPlugin",
"name" : "RunScriptPlugin",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RunScriptPlugin",
"targets" : [
"RunScriptPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "RunScriptCommandPlugin",
"targets" : [
"RunScriptCommandPlugin"
],
"type" : {
"plugin" : null
}
},
{
"name" : "run-script",
"targets" : [
"run-script"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "run_script_bin",
"module_type" : "BinaryTarget",
"name" : "run-script-bin",
"path" : "remote/archive/run-script-bin.artifactbundle.zip",
"product_memberships" : [
"RunScriptPlugin",
"RunScriptCommandPlugin"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "run_script",
"module_type" : "SwiftTarget",
"name" : "run-script",
"path" : "Sources/run-script",
"product_dependencies" : [
"Yams",
"ArgumentParser"
],
"product_memberships" : [
"run-script"
],
"sources" : [
"Config.swift",
"main.swift",
"print.swift"
],
"type" : "executable"
},
{
"c99name" : "RunScriptPlugin",
"module_type" : "PluginTarget",
"name" : "RunScriptPlugin",
"path" : "Plugins/RunScriptPlugin",
"plugin_capability" : {
"type" : "buildTool"
},
"product_memberships" : [
"RunScriptPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"run-script-bin"
],
"type" : "plugin"
},
{
"c99name" : "RunScriptCommandPlugin",
"module_type" : "PluginTarget",
"name" : "RunScriptCommandPlugin",
"path" : "Plugins/RunScriptCommandPlugin",
"plugin_capability" : {
"intent" : {
"description" : "run scripts defined in `runscript.yml`",
"type" : "custom",
"verb" : "run-script"
},
"permissions" : [
{
"network_scope" : {
"none" : {
}
},
"reason" : "to run scripts defined in `runscript.yml`",
"type" : "writeToPackageDirectory"
}
],
"type" : "command"
},
"product_memberships" : [
"RunScriptCommandPlugin"
],
"sources" : [
"plugin.swift"
],
"target_dependencies" : [
"run-script-bin"
],
"type" : "plugin"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (2.52s)
[1/15379] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (5.01s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.74s)
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.5.1
Downloading binary artifact https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip
[1397/1406140] Downloading https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip
Downloaded https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip (0.85s)
/host/spi-builder-workspace/Plugins/RunScriptCommandPlugin/plugin.swift:34:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
32 |
33 | let process = Process()
34 | process.launchPath = tool.path.string
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
35 | process.arguments = [
36 | "--config",
[1/1] Compiling plugin RunScriptCommandPlugin
[2/2] Compiling plugin RunScriptPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/20] Write sources
[7/20] Compiling writer.c
[8/20] Compiling reader.c
[9/20] Compiling parser.c
[10/20] Compiling api.c
[11/20] Compiling emitter.c
[12/20] Compiling scanner.c
[12/20] Write swift-version-24593BA9C3E375BF.txt
[15/42] Emitting module Yams
[16/44] Emitting module ArgumentParserToolInfo
[17/44] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/45] Wrapping AST for ArgumentParserToolInfo for debugging
[20/83] Compiling ArgumentParser FishCompletionsGenerator.swift
[21/83] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/83] Compiling ArgumentParser CommandGroup.swift
[23/83] Compiling ArgumentParser EnumerableFlag.swift
[24/83] Compiling ArgumentParser ArgumentDefinition.swift
[25/83] Compiling ArgumentParser DumpHelpGenerator.swift
[26/83] Compiling ArgumentParser HelpCommand.swift
[27/83] Compiling ArgumentParser HelpGenerator.swift
[28/83] Compiling ArgumentParser OptionGroup.swift
[29/83] Compiling ArgumentParser AsyncParsableCommand.swift
[30/83] Compiling ArgumentParser CommandConfiguration.swift
[31/83] Compiling ArgumentParser Argument.swift
[32/83] Compiling ArgumentParser ArgumentHelp.swift
[33/83] Compiling ArgumentParser ArgumentSet.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/83] Compiling ArgumentParser CommandParser.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.
[35/83] Compiling ArgumentParser InputKey.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.
[36/83] Compiling ArgumentParser MessageInfo.swift
[37/83] Compiling ArgumentParser UsageGenerator.swift
[38/83] Compiling ArgumentParser InputOrigin.swift
[39/83] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/83] Compiling ArgumentParser CompletionsGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/RunScriptCommandPlugin/plugin.swift:34:17: warning: 'launchPath' is deprecated: renamed to 'executableURL'
32 |
33 | let process = Process()
34 | process.launchPath = tool.path.string
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
35 | process.arguments = [
36 | "--config",
[1/1] Compiling plugin RunScriptCommandPlugin
[2/2] Compiling plugin RunScriptPlugin
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/10] Write swift-version-24593BA9C3E375BF.txt
[5/32] Compiling Yams Tag.swift
[6/32] Compiling Yams YamlAnchorProviding.swift
[7/32] Compiling Yams Resolver.swift
[8/32] Compiling Yams String+Yams.swift
[9/34] Compiling Yams Parser.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.
[10/34] Compiling Yams RedundancyAliasingStrategy.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.
[11/34] Compiling Yams Representer.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.
[12/34] Emitting module ArgumentParserToolInfo
[13/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/35] Compiling Yams Mark.swift
[15/35] Compiling Yams Node.Alias.swift
[16/35] Compiling Yams Node.Mapping.swift
[17/35] Compiling Yams Node.Scalar.swift
[18/35] Compiling Yams Node.Sequence.swift
[19/35] Compiling Yams Node.swift
[21/35] Emitting module Yams
[22/35] Compiling Yams AliasDereferencingStrategy.swift
[23/35] Compiling Yams Anchor.swift
[24/35] Compiling Yams Constructor.swift
[25/35] Compiling Yams YamlError.swift
[26/35] Compiling Yams YamlTagProviding.swift
[27/72] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/72] Compiling ArgumentParser Argument.swift
[29/72] Compiling ArgumentParser ArgumentHelp.swift
BUILD FAILURE 6.1 wasm