The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RunScriptPlugin, reference 0.4.0 (7ee674), with Swift 6.1 for Wasm on 29 May 2025 21:10:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 0.4.0
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
 * tag               0.4.0      -> FETCH_HEAD
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 0.4.0
========================================
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-4609320-2":/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
Fetching https://github.com/apple/swift-argument-parser
[1/10657] Fetching yams
[5969/26036] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.93s)
Fetched https://github.com/jpsim/Yams.git from cache (1.12s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (1.56s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.49s)
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
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Downloading binary artifact https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip
[16375/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.34s)
/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] Write swift-version-24593BA9C3E375BF.txt
[13/20] Compiling scanner.c
[15/42] Emitting module ArgumentParserToolInfo
[16/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/43] Compiling Yams Tag.swift
[19/43] Compiling Yams YamlAnchorProviding.swift
[19/45] Wrapping AST for ArgumentParserToolInfo for debugging
[21/83] Compiling ArgumentParser MessageInfo.swift
[22/83] Compiling ArgumentParser UsageGenerator.swift
[23/83] Compiling ArgumentParser CommandGroup.swift
[24/83] Compiling ArgumentParser EnumerableFlag.swift
[25/83] Compiling ArgumentParser DumpHelpGenerator.swift
[26/83] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/83] Compiling ArgumentParser CompletionsGenerator.swift
[28/83] Compiling ArgumentParser FishCompletionsGenerator.swift
[29/83] Emitting module Yams
[30/83] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/83] Compiling ArgumentParser ParsableCommand.swift
[32/83] Compiling ArgumentParser ArgumentDecoder.swift
[33/83] Compiling ArgumentParser ExpressibleByArgument.swift
[34/83] Compiling ArgumentParser ParsableArguments.swift
[35/83] Compiling ArgumentParser OptionGroup.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 AsyncParsableCommand.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.
[37/83] Compiling ArgumentParser CommandConfiguration.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.
[38/83] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/83] Compiling ArgumentParser Argument.swift
[40/83] Compiling ArgumentParser ArgumentHelp.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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 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.
[6/32] 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.
[7/32] 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.
[8/34] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/34] Emitting module ArgumentParserToolInfo
[11/34] Emitting module Yams
[12/34] Compiling Yams Mark.swift
[13/34] Compiling Yams Node.Alias.swift
[14/34] Compiling Yams Node.Mapping.swift
[15/34] Compiling Yams Tag.swift
[16/34] Compiling Yams YamlAnchorProviding.swift
[17/72] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/72] Compiling ArgumentParser Argument.swift
[19/72] Compiling ArgumentParser ParsableCommand.swift
[20/72] Compiling ArgumentParser ArgumentDecoder.swift
[21/72] Compiling ArgumentParser NameSpecification.swift
[22/72] Compiling ArgumentParser Option.swift
[23/72] Compiling ArgumentParser ExpressibleByArgument.swift
[24/72] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/72] Compiling ArgumentParser CompletionsGenerator.swift
[26/72] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/72] Compiling ArgumentParser CommandGroup.swift
[28/72] Compiling ArgumentParser EnumerableFlag.swift
[29/72] Compiling ArgumentParser ArgumentVisibility.swift
BUILD FAILURE 6.1 wasm