The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of NPMPublishPlugin, reference main (ee72ed), with Swift 6.1 for Linux on 27 Apr 2025 14:11:10 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/NPMPublishPlugin.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/brightdigit/NPMPublishPlugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ee72ed2 Merge pull request #8 from brightdigit/leogdion-patch-1
Cloned https://github.com/brightdigit/NPMPublishPlugin.git
Revision (git rev-parse @):
ee72ed2edfa5be24cc741c551e2d00e13df12292
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/NPMPublishPlugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/brightdigit/NPMPublishPlugin.git
https://github.com/brightdigit/NPMPublishPlugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "publish",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/publish.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/shellout.git"
    }
  ],
  "manifest_display_name" : "NPMPublishPlugin",
  "name" : "NPMPublishPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "NPMPublishPlugin",
      "targets" : [
        "NPMPublishPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NPMPublishPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "NPMPublishPluginTests",
      "path" : "Tests/NPMPublishPluginTests",
      "sources" : [
        "MockPublishingContextable.swift",
        "OutputPathTests.swift",
        "PublishingContextableTests.swift",
        "ShellOutCommandTests.swift"
      ],
      "target_dependencies" : [
        "NPMPublishPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NPMPublishPlugin",
      "module_type" : "SwiftTarget",
      "name" : "NPMPublishPlugin",
      "path" : "Sources/NPMPublishPlugin",
      "product_dependencies" : [
        "Publish",
        "ShellOut"
      ],
      "product_memberships" : [
        "NPMPublishPlugin"
      ],
      "sources" : [
        "NPM/Argument.swift",
        "NPM/ArgumentBuilder.swift",
        "NPM/Command.swift",
        "NPM/Context.swift",
        "NPM/Job.swift",
        "NPM/JobBuilder.swift",
        "NPM/Location.swift",
        "NPM/NPM.swift",
        "NPM/RelativePathMap.swift",
        "NPM/Settings.swift",
        "Output.swift",
        "OutputPath.swift",
        "PublishingContext.swift",
        "PublishingContextable.swift",
        "PublishingStep.swift",
        "ShellOutCommand.swift",
        "URL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/johnsundell/shellout.git
Fetching https://github.com/johnsundell/publish.git
[1/960] Fetching shellout
[875/3858] Fetching shellout, publish
Fetched https://github.com/johnsundell/shellout.git from cache (0.30s)
Fetched https://github.com/johnsundell/publish.git from cache (0.30s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (2.84s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (2.32s)
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/codextended.git
[1/1236] Fetching files
[867/1320] Fetching files, collectionconcurrencykit
[1321/1501] Fetching files, collectionconcurrencykit, codextended
[1349/3587] Fetching files, collectionconcurrencykit, codextended, plot
[3442/3703] Fetching files, collectionconcurrencykit, codextended, plot, sweep
[3596/5608] Fetching files, collectionconcurrencykit, codextended, plot, sweep, ink
Fetched https://github.com/johnsundell/sweep.git from cache (0.32s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.32s)
Fetched https://github.com/johnsundell/files.git from cache (0.33s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.33s)
Fetched https://github.com/johnsundell/ink.git from cache (0.33s)
Fetched https://github.com/johnsundell/plot.git from cache (0.34s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.94s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.65s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.63s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.61s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.61s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.56s)
Creating working copy for https://github.com/johnsundell/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.0
Creating working copy for https://github.com/johnsundell/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.0
Creating working copy for https://github.com/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
Creating working copy for https://github.com/johnsundell/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.0
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.0
Creating working copy for https://github.com/johnsundell/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/111] Emitting module CollectionConcurrencyKit
[12/111] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[14/112] Compiling Plot DocumentEncoding.swift
[15/112] Compiling Plot Element.swift
[16/112] Compiling Plot ElementClosingMode.swift
[17/112] Compiling Plot ElementComponent.swift
[18/112] Compiling Plot ElementDefinition.swift
[19/112] Emitting module Ink
[20/112] Compiling Plot EmptyComponent.swift
[21/112] Compiling Plot EnvironmentKey.swift
[22/112] Compiling Plot EnvironmentValue.swift
[23/112] Compiling Plot HTML.swift
[24/112] Compiling Plot Attribute.swift
[25/116] Compiling Plot Component.swift
[26/116] Compiling Plot ComponentAttributes.swift
[27/116] Compiling Plot ComponentBuilder.swift
[28/116] Compiling Plot ComponentContainer.swift
[29/116] Compiling Plot ComponentGroup.swift
[30/116] Compiling Plot ControlFlow.swift
[31/116] Compiling Plot Directionality.swift
[32/116] Compiling Plot Document.swift
[33/116] Compiling Plot HTMLAnchorRelationship.swift
[34/116] Compiling Plot HTMLAnchorTarget.swift
[35/116] Compiling Plot HTMLAttributes.swift
[36/116] Compiling Plot HTMLAudioFormat.swift
[37/116] Emitting module Plot
[38/124] Compiling Ink TextStyle.swift
[39/124] Compiling Ink TextStyleMarker.swift
[40/124] Compiling Ink URL.swift
[41/124] Compiling Ink URLDeclaration.swift
[42/124] Compiling Plot HTMLButtonType.swift
[43/124] Compiling Plot HTMLComponents.swift
[44/124] Compiling Plot HTMLElements.swift
[45/124] Compiling Plot HTMLFormContentType.swift
[46/124] Compiling Plot HTMLFormMethod.swift
[47/124] Compiling Plot Node.swift
[48/124] Compiling Plot NodeConvertible.swift
[49/124] Compiling Plot Optional+Component.swift
[50/125] Emitting module ShellOut
[51/125] Compiling ShellOut ShellOut.swift
[52/125] Compiling Sweep Sweep.swift
[53/125] Emitting module Sweep
[54/127] Compiling Plot SiteMapElements.swift
[55/127] Compiling Plot TwitterCardType.swift
[56/127] Compiling Plot URLRepresentable.swift
[57/127] Compiling Plot XML.swift
[58/127] Compiling Plot XMLAttributes.swift
[59/127] Compiling Plot XMLElements.swift
[60/127] Compiling Plot AnyAttribute.swift
[61/127] Compiling Plot AnyElement.swift
[62/127] Compiling Plot HTMLInputType.swift
[63/127] Compiling Plot HTMLLinkRelationship.swift
[64/127] Compiling Plot HTMLListStyle.swift
[65/127] Compiling Plot HTMLVideoFormat.swift
[66/127] Compiling Plot HTMLViewportFitMode.swift
[67/127] Compiling Plot HTMLViewportWidthMode.swift
[68/127] Compiling Plot Indentation.swift
[69/127] Compiling Plot Language.swift
[77/127] Compiling Plot PodcastFeed.swift
[78/127] Compiling Plot PodcastMediaType.swift
[79/127] Compiling Plot PodcastType.swift
[80/127] Compiling Plot RSS.swift
[81/127] Compiling Codextended Codextended.swift
[82/127] Compiling Plot RSSAttributes.swift
[83/127] Compiling Plot RSSElements.swift
[84/127] Compiling Plot Renderable.swift
[85/127] Compiling Plot SiteMap.swift
[86/127] Compiling Plot SiteMapChangeFrequency.swift
[87/127] Emitting module Codextended
[91/128] Emitting module Files
[92/128] Compiling Files Files.swift
[122/129] Compiling Plot AnyEnvironmentValue.swift
[123/129] Compiling Plot AnyNode.swift
[124/129] Compiling Plot ElementRenderingBuffer.swift
[125/129] Compiling Plot ElementWrapper.swift
[126/129] Compiling Plot Environment.swift
[127/129] Compiling Plot ModifiedComponent.swift
[128/129] Compiling Plot Renderer.swift
[129/129] Compiling Plot String+Escaping.swift
[131/183] Compiling Publish HTMLFileMode.swift
[132/183] Compiling Publish Index.swift
[133/183] Compiling Publish Item.swift
[134/183] Compiling Publish ItemRSSProperties.swift
[135/183] Compiling Publish Location.swift
[136/183] Compiling Publish Mutations.swift
[137/183] Compiling Publish Page.swift
[138/183] Compiling Publish Path.swift
[139/183] Compiling Publish PlotComponents.swift
[140/183] Compiling Publish PlotEnvironmentKeys.swift
[141/183] Compiling Publish PlotModifiers.swift
[142/183] Compiling Publish Plugin.swift
[143/183] Compiling Publish PodcastAuthor.swift
[144/183] Compiling Publish PodcastCompatibleWebsiteItemMetadata.swift
[145/183] Compiling Publish PodcastEpisodeMetadata.swift
[146/183] Compiling Publish PodcastFeedConfiguration.swift
[147/190] Compiling Publish Theme+Foundation.swift
[148/190] Compiling Publish Theme.swift
[149/190] Compiling Publish Video.swift
[150/190] Compiling Publish Website.swift
[151/190] Compiling Publish Array+Appending.swift
[152/190] Compiling Publish CommandLine+Output.swift
[153/190] Compiling Publish ContentError.swift
[154/190] Compiling Publish Predicate.swift
[155/190] Compiling Publish PublishedWebsite.swift
[156/190] Compiling Publish PublishingContext.swift
[157/190] Compiling Publish PublishingError.swift
[158/190] Compiling Publish PublishingStep.swift
[159/190] Compiling Publish RSSFeedConfiguration.swift
[160/190] Compiling Publish Section.swift
[161/190] Emitting module Publish
[162/190] Compiling Publish AnyItem.swift
[163/190] Compiling Publish Audio.swift
[164/190] Compiling Publish Content.swift
[165/190] Compiling Publish ContentProtocol.swift
[166/190] Compiling Publish DeploymentMethod.swift
[167/190] Compiling Publish Favicon.swift
[168/190] Compiling Publish FeedConfiguration.swift
[169/190] Compiling Publish HTMLFactory.swift
[170/190] Compiling Publish SectionMap.swift
[171/190] Compiling Publish SortOrder.swift
[172/190] Compiling Publish StringWrapper.swift
[173/190] Compiling Publish Tag.swift
[174/190] Compiling Publish TagDetailsPage.swift
[175/190] Compiling Publish TagHTMLConfiguration.swift
[176/190] Compiling Publish TagListPage.swift
[177/190] Compiling Publish File+SwiftPackageFolder.swift
[178/190] Compiling Publish FileIOError.swift
[179/190] Compiling Publish Folder+Group.swift
[180/190] Compiling Publish HTMLGenerator.swift
[181/190] Compiling Publish MarkdownContentFactory.swift
[182/190] Compiling Publish MarkdownFileHandler.swift
[183/190] Compiling Publish MarkdownMetadataDecoder.swift
[184/190] Compiling Publish PodcastError.swift
[185/190] Compiling Publish PodcastFeedGenerator.swift
[186/190] Compiling Publish PublishingPipeline.swift
[187/190] Compiling Publish RSSFeedGenerator.swift
[188/190] Compiling Publish ShellOutError+PublishingErrorConvertible.swift
[189/190] Compiling Publish SiteMapGenerator.swift
[190/190] Compiling Publish String+Normalized.swift
[192/207] Compiling NPMPublishPlugin NPM.swift
[193/207] Compiling NPMPublishPlugin RelativePathMap.swift
[194/209] Compiling NPMPublishPlugin JobBuilder.swift
[195/209] Compiling NPMPublishPlugin Location.swift
[196/209] Emitting module NPMPublishPlugin
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:29:23: warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
27 |     /// The `ci` **npm** command.
28 |     // swiftlint:disable:next identifier_name
29 |     public static let ci: Self = .init("ci")
   |                       |- warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'ci' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// The `run` **npm** command.
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:32:23: warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
30 |
31 |     /// The `run` **npm** command.
32 |     public static let run: Self = .init("run")
   |                       |- warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'run' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |   }
34 | }
[197/209] Compiling NPMPublishPlugin Settings.swift
[198/209] Compiling NPMPublishPlugin Output.swift
[199/209] Compiling NPMPublishPlugin Argument.swift
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:29:23: warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
27 |     /// The `ci` **npm** command.
28 |     // swiftlint:disable:next identifier_name
29 |     public static let ci: Self = .init("ci")
   |                       |- warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'ci' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// The `run` **npm** command.
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:32:23: warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
30 |
31 |     /// The `run` **npm** command.
32 |     public static let run: Self = .init("run")
   |                       |- warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'run' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |   }
34 | }
[200/209] Compiling NPMPublishPlugin ArgumentBuilder.swift
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:29:23: warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
27 |     /// The `ci` **npm** command.
28 |     // swiftlint:disable:next identifier_name
29 |     public static let ci: Self = .init("ci")
   |                       |- warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'ci' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// The `run` **npm** command.
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:32:23: warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
30 |
31 |     /// The `run` **npm** command.
32 |     public static let run: Self = .init("run")
   |                       |- warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'run' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |   }
34 | }
[201/209] Compiling NPMPublishPlugin Command.swift
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:29:23: warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
27 |     /// The `ci` **npm** command.
28 |     // swiftlint:disable:next identifier_name
29 |     public static let ci: Self = .init("ci")
   |                       |- warning: static property 'ci' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'ci' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /// The `run` **npm** command.
/host/spi-builder-workspace/Sources/NPMPublishPlugin/NPM/Command.swift:32:23: warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 5 | extension NPM {
 6 |   /// A type that represents **npm** command.
 7 |   public struct Command: ExpressibleByStringLiteral {
   |                 `- note: consider making struct 'Command' conform to the 'Sendable' protocol
 8 |     /// Initializes a new **npm** command with the specified string representation.
 9 |     ///
   :
30 |
31 |     /// The `run` **npm** command.
32 |     public static let run: Self = .init("run")
   |                       |- warning: static property 'run' is not concurrency-safe because non-'Sendable' type 'NPM.Command' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'run' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |   }
34 | }
[202/209] Compiling NPMPublishPlugin OutputPath.swift
[203/209] Compiling NPMPublishPlugin PublishingContext.swift
[204/209] Compiling NPMPublishPlugin Context.swift
[205/209] Compiling NPMPublishPlugin Job.swift
[206/209] Compiling NPMPublishPlugin PublishingContextable.swift
[207/209] Compiling NPMPublishPlugin PublishingStep.swift
[208/209] Compiling NPMPublishPlugin ShellOutCommand.swift
[209/209] Compiling NPMPublishPlugin URL.swift
Build complete! (29.09s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "publish",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/publish.git"
    },
    {
      "identity" : "shellout",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/johnsundell/shellout.git"
    }
  ],
  "manifest_display_name" : "NPMPublishPlugin",
  "name" : "NPMPublishPlugin",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "NPMPublishPlugin",
      "targets" : [
        "NPMPublishPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "NPMPublishPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "NPMPublishPluginTests",
      "path" : "Tests/NPMPublishPluginTests",
      "sources" : [
        "MockPublishingContextable.swift",
        "OutputPathTests.swift",
        "PublishingContextableTests.swift",
        "ShellOutCommandTests.swift"
      ],
      "target_dependencies" : [
        "NPMPublishPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "NPMPublishPlugin",
      "module_type" : "SwiftTarget",
      "name" : "NPMPublishPlugin",
      "path" : "Sources/NPMPublishPlugin",
      "product_dependencies" : [
        "Publish",
        "ShellOut"
      ],
      "product_memberships" : [
        "NPMPublishPlugin"
      ],
      "sources" : [
        "NPM/Argument.swift",
        "NPM/ArgumentBuilder.swift",
        "NPM/Command.swift",
        "NPM/Context.swift",
        "NPM/Job.swift",
        "NPM/JobBuilder.swift",
        "NPM/Location.swift",
        "NPM/NPM.swift",
        "NPM/RelativePathMap.swift",
        "NPM/Settings.swift",
        "Output.swift",
        "OutputPath.swift",
        "PublishingContext.swift",
        "PublishingContextable.swift",
        "PublishingStep.swift",
        "ShellOutCommand.swift",
        "URL.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
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.