Build Information
Successful build of NPMPublishPlugin with Swift 6.0 for Linux.
Swift 6 data race errors: 2
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.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: $workDir/.spi.yml
SUCCESS checkout https://github.com/brightdigit/NPMPublishPlugin.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/brightdigit/NPMPublishPlugin.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/publish.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
[1/83] Fetching collectionconcurrencykit
[84/1314] Fetching collectionconcurrencykit, files
[1315/3399] Fetching collectionconcurrencykit, files, plot
[1753/3515] Fetching collectionconcurrencykit, files, plot, sweep
[3516/5420] Fetching collectionconcurrencykit, files, plot, sweep, ink
[5421/8302] Fetching collectionconcurrencykit, files, plot, sweep, ink, publish
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.23s)
[5424/8219] Fetching files, plot, sweep, ink, publish
Fetching https://github.com/johnsundell/shellout.git
Fetched https://github.com/johnsundell/sweep.git from cache (0.23s)
Fetching https://github.com/johnsundell/codextended.git
Fetched https://github.com/johnsundell/files.git from cache (0.24s)
[4106/6872] Fetching plot, ink, publish
[2741/4787] Fetching ink, publish
Fetched https://github.com/johnsundell/plot.git from cache (0.24s)
Fetched https://github.com/johnsundell/ink.git from cache (0.31s)
Fetched https://github.com/johnsundell/publish.git from cache (0.31s)
[1/956] Fetching shellout
[556/1137] Fetching shellout, codextended
Fetched https://github.com/johnsundell/codextended.git from cache (0.19s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.20s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (1.05s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (1.04s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.44s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.43s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.43s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.43s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.43s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.43s)
Creating working copy for https://github.com/johnsundell/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.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/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.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/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.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/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.0
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/111] Emitting module Plot
[12/119] Emitting module CollectionConcurrencyKit
[13/119] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[15/120] Compiling Plot EmptyComponent.swift
[16/120] Compiling Plot EnvironmentKey.swift
[17/120] Compiling Plot EnvironmentValue.swift
[18/120] Compiling Plot HTML.swift
[19/120] Compiling Plot HTMLAnchorRelationship.swift
[20/120] Compiling Plot HTMLAnchorTarget.swift
[21/120] Compiling Plot HTMLAttributes.swift
[22/120] Compiling Plot HTMLAudioFormat.swift
[23/124] Compiling Plot Attribute.swift
[24/124] Compiling Plot Component.swift
[25/124] Compiling Plot ComponentAttributes.swift
[26/124] Compiling Plot ComponentBuilder.swift
[27/124] Compiling Plot ComponentContainer.swift
[28/124] Compiling Plot ComponentGroup.swift
[29/124] Compiling Plot ControlFlow.swift
[30/124] Compiling Plot Directionality.swift
[31/124] Compiling Plot Document.swift
[32/124] Compiling Plot DocumentEncoding.swift
[33/124] Emitting module Ink
[34/124] Compiling Plot Element.swift
[35/124] Compiling Plot ElementClosingMode.swift
[36/124] Compiling Plot ElementComponent.swift
[37/124] Compiling Plot ElementDefinition.swift
[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 AnyEnvironmentValue.swift
[43/124] Compiling Plot AnyNode.swift
[44/124] Compiling Plot ElementRenderingBuffer.swift
[45/124] Compiling Plot ElementWrapper.swift
[46/124] Compiling Plot Environment.swift
[47/124] Compiling Plot ModifiedComponent.swift
[48/124] Compiling Plot Renderer.swift
[49/124] Compiling Plot String+Escaping.swift
[50/124] Compiling Plot HTMLInputType.swift
[51/124] Compiling Plot HTMLLinkRelationship.swift
[52/124] Compiling Plot HTMLListStyle.swift
[57/124] Compiling Plot Language.swift
[58/124] Emitting module Files
[59/124] Compiling Files Files.swift
[60/124] Compiling Plot PodcastMediaType.swift
[61/124] Compiling Plot PodcastType.swift
[62/124] Compiling Plot RSS.swift
[63/124] Compiling Plot RSSAttributes.swift
[64/124] Compiling Plot RSSElements.swift
[65/124] Compiling Plot Renderable.swift
[66/124] Compiling Plot SiteMap.swift
[67/124] Compiling Plot SiteMapChangeFrequency.swift
[68/124] Emitting module ShellOut
[69/124] Compiling ShellOut ShellOut.swift
[70/126] Emitting module Codextended
[71/126] Compiling Codextended Codextended.swift
[72/126] Compiling Plot Node.swift
[73/126] Compiling Plot NodeConvertible.swift
[74/126] Compiling Plot Optional+Component.swift
[75/126] Compiling Plot PodcastAttributes.swift
[76/126] Compiling Plot PodcastComponents.swift
[77/126] Compiling Plot PodcastElements.swift
[78/126] Compiling Plot PodcastEpisodeType.swift
[79/126] Compiling Plot PodcastFeed.swift
[80/126] Compiling Plot SiteMapElements.swift
[81/126] Compiling Plot TwitterCardType.swift
[82/126] Compiling Plot URLRepresentable.swift
[83/126] Compiling Plot XML.swift
[84/126] Compiling Plot XMLAttributes.swift
[85/126] Compiling Plot XMLElements.swift
[86/126] Compiling Plot AnyAttribute.swift
[87/126] Compiling Plot AnyElement.swift
[90/127] Compiling Plot HTMLFormMethod.swift
[94/127] Compiling Plot HTMLButtonType.swift
[95/127] Compiling Plot HTMLComponents.swift
[96/127] Compiling Plot HTMLElements.swift
[97/127] Compiling Plot HTMLFormContentType.swift
[98/128] Emitting module Sweep
[99/128] Compiling Sweep Sweep.swift
[131/183] Compiling Publish AnyItem.swift
[132/183] Compiling Publish Audio.swift
[133/183] Compiling Publish Content.swift
[134/183] Compiling Publish ContentProtocol.swift
[135/183] Compiling Publish DeploymentMethod.swift
[136/183] Compiling Publish Favicon.swift
[137/183] Compiling Publish FeedConfiguration.swift
[138/183] Compiling Publish HTMLFactory.swift
[139/190] Compiling Publish HTMLFileMode.swift
[140/190] Compiling Publish Index.swift
[141/190] Compiling Publish Item.swift
[142/190] Compiling Publish ItemRSSProperties.swift
[143/190] Compiling Publish Location.swift
[144/190] Compiling Publish Mutations.swift
[145/190] Compiling Publish Page.swift
[146/190] Compiling Publish Path.swift
[147/190] Emitting module Publish
[148/190] Compiling Publish File+SwiftPackageFolder.swift
[149/190] Compiling Publish FileIOError.swift
[150/190] Compiling Publish Folder+Group.swift
[151/190] Compiling Publish HTMLGenerator.swift
[152/190] Compiling Publish MarkdownContentFactory.swift
[153/190] Compiling Publish MarkdownFileHandler.swift
[154/190] Compiling Publish MarkdownMetadataDecoder.swift
[155/190] Compiling Publish PlotComponents.swift
[156/190] Compiling Publish PlotEnvironmentKeys.swift
[157/190] Compiling Publish PlotModifiers.swift
[158/190] Compiling Publish Plugin.swift
[159/190] Compiling Publish PodcastAuthor.swift
[160/190] Compiling Publish PodcastCompatibleWebsiteItemMetadata.swift
[161/190] Compiling Publish PodcastEpisodeMetadata.swift
[162/190] Compiling Publish PodcastFeedConfiguration.swift
[163/190] Compiling Publish SectionMap.swift
[164/190] Compiling Publish SortOrder.swift
[165/190] Compiling Publish StringWrapper.swift
[166/190] Compiling Publish Tag.swift
[167/190] Compiling Publish TagDetailsPage.swift
[168/190] Compiling Publish TagHTMLConfiguration.swift
[169/190] Compiling Publish TagListPage.swift
[170/190] Compiling Publish Theme+Foundation.swift
[171/190] Compiling Publish Theme.swift
[172/190] Compiling Publish Video.swift
[173/190] Compiling Publish Website.swift
[174/190] Compiling Publish Array+Appending.swift
[175/190] Compiling Publish CommandLine+Output.swift
[176/190] Compiling Publish ContentError.swift
[177/190] Compiling Publish Predicate.swift
[178/190] Compiling Publish PublishedWebsite.swift
[179/190] Compiling Publish PublishingContext.swift
[180/190] Compiling Publish PublishingError.swift
[181/190] Compiling Publish PublishingStep.swift
[182/190] Compiling Publish RSSFeedConfiguration.swift
[183/190] Compiling Publish Section.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] 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: annotate 'ci' 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
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: annotate 'run' 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
33 | }
34 | }
[193/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: annotate 'ci' 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
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: annotate 'run' 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
33 | }
34 | }
[194/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: annotate 'ci' 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
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: annotate 'run' 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
33 | }
34 | }
[195/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: annotate 'ci' 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
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: annotate 'run' 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
33 | }
34 | }
[196/209] Compiling NPMPublishPlugin Settings.swift
[197/209] Compiling NPMPublishPlugin Output.swift
[198/209] Compiling NPMPublishPlugin JobBuilder.swift
[199/209] Compiling NPMPublishPlugin Location.swift
[200/209] Compiling NPMPublishPlugin PublishingContextable.swift
[201/209] Compiling NPMPublishPlugin PublishingStep.swift
[202/209] Compiling NPMPublishPlugin NPM.swift
[203/209] Compiling NPMPublishPlugin RelativePathMap.swift
[204/209] Compiling NPMPublishPlugin Context.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: annotate 'ci' 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
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: annotate 'run' 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
33 | }
34 | }
[205/209] Compiling NPMPublishPlugin Job.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: annotate 'ci' 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
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: annotate 'run' 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
33 | }
34 | }
[206/209] Compiling NPMPublishPlugin OutputPath.swift
[207/209] Compiling NPMPublishPlugin PublishingContext.swift
[208/209] Compiling NPMPublishPlugin ShellOutCommand.swift
[209/209] Compiling NPMPublishPlugin URL.swift
Build complete! (30.15s)
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"
}
Done.