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

Successful build of RunScriptPlugin, reference 0.4.0 (7ee674), with Swift 6.1 for Linux on 29 Apr 2025 18:10:10 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.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:         linux
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/jpsim/Yams.git
[1/10445] Fetching yams
[5955/25395] Fetching yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (3.32s)
Fetched https://github.com/jpsim/Yams.git from cache (3.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (3.90s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (2.76s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
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.0
Downloading binary artifact https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip
[2747/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.42s)
/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 reader.c
[8/20] Compiling parser.c
[9/20] Compiling api.c
[10/20] Compiling writer.c
[11/20] Compiling emitter.c
[12/20] Write swift-version-24593BA9C3E375BF.txt
[13/20] Compiling scanner.c
[15/41] Emitting module Yams
[16/43] Compiling ArgumentParserToolInfo ToolInfo.swift
[17/43] Emitting module ArgumentParserToolInfo
[19/44] Compiling Yams Tag.swift
[20/44] Compiling Yams YamlAnchorProviding.swift
[20/44] Wrapping AST for ArgumentParserToolInfo for debugging
[22/82] Compiling ArgumentParser ArgumentHelp.swift
[23/82] Compiling ArgumentParser ExpressibleByArgument.swift
[24/82] Compiling ArgumentParser Flag.swift
[25/82] Compiling ArgumentParser NameSpecification.swift
[26/82] Compiling ArgumentParser Option.swift
[27/82] Compiling ArgumentParser AsyncParsableCommand.swift
[28/82] Compiling ArgumentParser CommandConfiguration.swift
[29/82] Compiling ArgumentParser ParsableArguments.swift
[30/82] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/82] Compiling ArgumentParser ParsableCommand.swift
[32/82] Compiling ArgumentParser ArgumentDecoder.swift
[33/82] Compiling ArgumentParser OptionGroup.swift
[34/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[35/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[36/82] Compiling ArgumentParser Argument.swift
[37/82] Compiling ArgumentParser ArgumentVisibility.swift
[38/82] Compiling ArgumentParser CompletionKind.swift
[39/82] Compiling ArgumentParser Errors.swift
[40/83] Wrapping AST for Yams for debugging
[48/88] Compiling ArgumentParser BashCompletionsGenerator.swift
[49/88] Compiling ArgumentParser CompletionsGenerator.swift
[54/88] Emitting module ArgumentParser
[55/88] Compiling ArgumentParser Name.swift
[56/88] Compiling ArgumentParser Parsed.swift
[57/88] Compiling ArgumentParser ParsedValues.swift
[58/88] Compiling ArgumentParser ParserError.swift
[59/88] Compiling ArgumentParser SplitArguments.swift
[60/88] Compiling ArgumentParser DumpHelpGenerator.swift
[61/88] Compiling ArgumentParser HelpCommand.swift
[62/88] Compiling ArgumentParser HelpGenerator.swift
[63/88] Compiling ArgumentParser MessageInfo.swift
[64/88] Compiling ArgumentParser UsageGenerator.swift
[73/88] Compiling ArgumentParser CommandGroup.swift
[74/88] Compiling ArgumentParser EnumerableFlag.swift
[75/88] Compiling ArgumentParser ArgumentDefinition.swift
[76/88] Compiling ArgumentParser ArgumentSet.swift
[77/88] Compiling ArgumentParser CommandParser.swift
[78/88] Compiling ArgumentParser InputKey.swift
[79/88] Compiling ArgumentParser InputOrigin.swift
[80/88] Compiling ArgumentParser CollectionExtensions.swift
[81/88] Compiling ArgumentParser Platform.swift
[82/88] Compiling ArgumentParser SequenceExtensions.swift
[83/88] Compiling ArgumentParser StringExtensions.swift
[84/88] Compiling ArgumentParser Tree.swift
[85/89] Wrapping AST for ArgumentParser for debugging
[87/93] Compiling run_script Config.swift
[88/93] Emitting module run_script
[89/93] Compiling run_script main.swift
[90/93] Compiling run_script print.swift
/host/spi-builder-workspace/Sources/run-script/print.swift:14:16: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
12 |     Swift.print(items, separator: separator, terminator: terminator)
13 |     if flush {
14 |         fflush(stdout)
   |                `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
15 |     }
16 | }
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
[91/94] Wrapping AST for run-script for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking run-script
Build complete! (25.33s)
Build complete.
{
  "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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.