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 main (7ee674), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 07:13:44 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/RunScriptPlugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser
[1/9978] Fetching yams
[2/22373] Fetching yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (1.92s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.92s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.2 (0.61s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.0.4 (0.54s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.0.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.2
[8948/1406140] Downloading https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip
Downloading binary artifact 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 (1.29s)
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "runscriptplugin",
      "name": "RunScriptPlugin",
      "url": "https://github.com/p-x9/RunScriptPlugin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RunScriptPlugin",
      "dependencies": [
        {
          "identity": "yams",
          "name": "Yams",
          "url": "https://github.com/jpsim/Yams.git",
          "version": "5.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-argument-parser",
          "name": "swift-argument-parser",
          "url": "https://github.com/apple/swift-argument-parser",
          "version": "1.5.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/p-x9/RunScriptPlugin.git
[1/202] Fetching runscriptplugin
Fetched https://github.com/p-x9/RunScriptPlugin.git from cache (0.65s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.55s)
Fetched https://github.com/jpsim/Yams.git from cache (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.47s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.58s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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
Creating working copy for https://github.com/p-x9/RunScriptPlugin.git
Working copy of https://github.com/p-x9/RunScriptPlugin.git resolved at main (7ee6742)
Fetching binary artifact https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip from cache
Fetched https://github.com/p-x9/RunScriptPlugin/releases/download/0.4.0/run-script-bin.artifactbundle.zip from cache (0.07s)
Found 2 product dependencies
  - Yams
  - swift-argument-parser
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/p-x9/RunScriptPlugin.git
{
  "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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin RunScriptCommandPlugin
[3/3] Compiling plugin RunScriptPlugin
Building for debugging...
[3/18] Write sources
[6/18] Write run-script-entitlement.plist
[6/18] Write sources
[8/18] Write swift-version--7754E27361AE5C74.txt
[9/20] Compiling api.c
[10/20] Compiling parser.c
[11/20] Compiling emitter.c
[12/20] Compiling writer.c
[13/20] Compiling reader.c
[14/20] Compiling scanner.c
[16/35] Emitting module ArgumentParserToolInfo
[17/35] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/73] Compiling ArgumentParser InputOrigin.swift
[19/73] Compiling ArgumentParser Name.swift
[22/74] Compiling ArgumentParser Parsed.swift
[23/74] Compiling ArgumentParser ParsedValues.swift
[24/74] Compiling ArgumentParser AsyncParsableCommand.swift
[25/74] Compiling ArgumentParser CommandConfiguration.swift
[26/74] Compiling ArgumentParser EnumerableFlag.swift
[27/74] Compiling ArgumentParser ExpressibleByArgument.swift
[28/78] Compiling ArgumentParser Flag.swift
[29/78] Compiling ArgumentParser NameSpecification.swift
[30/78] Compiling ArgumentParser Option.swift
[31/78] Compiling ArgumentParser OptionGroup.swift
[32/78] Emitting module ArgumentParser
[33/78] Compiling ArgumentParser Platform.swift
[34/78] Compiling ArgumentParser SequenceExtensions.swift
[35/78] Compiling ArgumentParser StringExtensions.swift
[36/78] Compiling ArgumentParser Tree.swift
[37/78] Compiling ArgumentParser ArgumentHelp.swift
[38/78] Compiling ArgumentParser ArgumentVisibility.swift
[39/78] Compiling ArgumentParser CompletionKind.swift
[40/78] Compiling ArgumentParser Errors.swift
[41/78] Compiling ArgumentParser ArgumentDefinition.swift
[42/78] Compiling ArgumentParser ArgumentSet.swift
[43/78] Compiling ArgumentParser CommandParser.swift
[44/78] Compiling ArgumentParser InputKey.swift
[45/78] Compiling Yams Tag.swift
[46/78] Compiling Yams Resolver.swift
[47/78] Compiling Yams String+Yams.swift
[48/78] Compiling Yams YamlError.swift
[51/78] Compiling Yams Representer.swift
[56/78] Compiling ArgumentParser BashCompletionsGenerator.swift
[57/78] Compiling ArgumentParser CompletionsGenerator.swift
[58/78] Compiling ArgumentParser FishCompletionsGenerator.swift
[59/78] Compiling ArgumentParser ZshCompletionsGenerator.swift
[60/78] Compiling ArgumentParser Argument.swift
[61/78] Compiling ArgumentParser ParsableArguments.swift
[62/78] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/78] Compiling ArgumentParser ParsableCommand.swift
[64/78] Compiling ArgumentParser ArgumentDecoder.swift
[65/78] Compiling ArgumentParser HelpGenerator.swift
[66/78] Compiling ArgumentParser MessageInfo.swift
[67/78] Compiling ArgumentParser UsageGenerator.swift
[68/78] Compiling ArgumentParser CollectionExtensions.swift
[69/78] Compiling ArgumentParser ParserError.swift
[70/78] Compiling ArgumentParser SplitArguments.swift
[71/78] Compiling ArgumentParser DumpHelpGenerator.swift
[72/78] Compiling ArgumentParser HelpCommand.swift
[73/78] Emitting module Yams
[76/82] Compiling run_script main.swift
/Users/admin/builder/spi-builder-workspace/Sources/run-script/main.swift:33:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 | struct RunScript: ParsableCommand {
 33 |     static let configuration: CommandConfiguration = .init(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |         commandName: "RunScript",
 35 |         abstract: "Run shell scripts configured in yaml files",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/run-script/main.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  9 | import Foundation
 10 | import Yams
 11 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 12 |
 13 | #if os(macOS)
    :
 31 |
 32 | struct RunScript: ParsableCommand {
 33 |     static let configuration: CommandConfiguration = .init(
    |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |         commandName: "RunScript",
 35 |         abstract: "Run shell scripts configured in yaml files",
[77/82] Compiling run_script Config.swift
[78/82] Emitting module run_script
/Users/admin/builder/spi-builder-workspace/Sources/run-script/main.swift:33:16: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 31 |
 32 | struct RunScript: ParsableCommand {
 33 |     static let configuration: CommandConfiguration = .init(
    |                `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
 34 |         commandName: "RunScript",
 35 |         abstract: "Run shell scripts configured in yaml files",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 11 |
 12 | /// The configuration for a command.
 13 | public struct CommandConfiguration {
    |               `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
 14 |   /// The name of the command to use on the command line.
 15 |   ///
/Users/admin/builder/spi-builder-workspace/Sources/run-script/main.swift:11:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
  9 | import Foundation
 10 | import Yams
 11 | import ArgumentParser
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
 12 |
 13 | #if os(macOS)
    :
 31 |
 32 | struct RunScript: ParsableCommand {
 33 |     static let configuration: CommandConfiguration = .init(
    |                |- note: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 34 |         commandName: "RunScript",
 35 |         abstract: "Run shell scripts configured in yaml files",
[79/82] Compiling run_script print.swift
[79/82] Write Objects.LinkFileList
[80/82] Linking run-script
[81/82] Applying run-script
Build complete! (16.26s)
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" : "/Users/admin/builder/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"
}
Done.