Build Information
Successful build of NPMPublishPlugin, reference main (ee72ed
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 14:19:13 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/NPMPublishPlugin.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/publish.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/sweep.git
[1/116] Fetching sweep
[26/200] Fetching sweep, collectionconcurrencykit
[110/2286] Fetching sweep, collectionconcurrencykit, plot
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.60s)
[214/3162] Fetching sweep, plot, shellout
Fetching https://github.com/johnsundell/codextended.git
[408/6060] Fetching sweep, plot, shellout, publish
[524/7296] Fetching sweep, plot, shellout, publish, files
[735/9201] Fetching sweep, plot, shellout, publish, files, ink
Fetched https://github.com/johnsundell/shellout.git from cache (0.89s)
Fetched https://github.com/johnsundell/sweep.git from cache (0.89s)
Fetched https://github.com/johnsundell/publish.git from cache (0.89s)
Fetched https://github.com/johnsundell/ink.git from cache (0.89s)
Fetched https://github.com/johnsundell/plot.git from cache (0.89s)
Computing version for https://github.com/johnsundell/shellout.git
Fetched https://github.com/johnsundell/files.git from cache (0.91s)
[1/181] Fetching codextended
Fetched https://github.com/johnsundell/codextended.git from cache (0.65s)
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (4.01s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (0.64s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.55s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.57s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.55s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.55s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.58s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.58s)
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/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/codextended.git
Working copy of https://github.com/johnsundell/codextended.git resolved at 0.3.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
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/collectionConcurrencyKit.git
Working copy of https://github.com/johnsundell/collectionConcurrencyKit.git resolved at 0.2.0
========================================
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": "npmpublishplugin",
"name": "NPMPublishPlugin",
"url": "https://github.com/brightdigit/NPMPublishPlugin.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NPMPublishPlugin",
"dependencies": [
{
"identity": "publish",
"name": "Publish",
"url": "https://github.com/johnsundell/publish.git",
"version": "0.9.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/publish",
"dependencies": [
{
"identity": "ink",
"name": "Ink",
"url": "https://github.com/johnsundell/ink.git",
"version": "0.6.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ink",
"dependencies": [
]
},
{
"identity": "plot",
"name": "Plot",
"url": "https://github.com/johnsundell/plot.git",
"version": "0.14.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/plot",
"dependencies": [
]
},
{
"identity": "files",
"name": "Files",
"url": "https://github.com/johnsundell/files.git",
"version": "4.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/files",
"dependencies": [
]
},
{
"identity": "codextended",
"name": "Codextended",
"url": "https://github.com/johnsundell/codextended.git",
"version": "0.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/codextended",
"dependencies": [
]
},
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/johnsundell/shellout.git",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/shellout",
"dependencies": [
]
},
{
"identity": "sweep",
"name": "Sweep",
"url": "https://github.com/johnsundell/sweep.git",
"version": "0.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/sweep",
"dependencies": [
]
},
{
"identity": "collectionconcurrencykit",
"name": "CollectionConcurrencyKit",
"url": "https://github.com/johnsundell/collectionConcurrencyKit.git",
"version": "0.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/collectionConcurrencyKit",
"dependencies": [
]
}
]
},
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/johnsundell/shellout.git",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/shellout",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/brightdigit/NPMPublishPlugin.git
[1/300] Fetching npmpublishplugin
Fetched https://github.com/brightdigit/NPMPublishPlugin.git from cache (0.63s)
Fetching https://github.com/johnsundell/shellout.git from cache
Fetching https://github.com/johnsundell/publish.git from cache
Fetched https://github.com/johnsundell/shellout.git from cache (0.44s)
Fetched https://github.com/johnsundell/publish.git from cache (0.44s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (0.50s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (0.03s)
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git from cache
Fetching https://github.com/johnsundell/sweep.git from cache
Fetching https://github.com/johnsundell/codextended.git from cache
Fetching https://github.com/johnsundell/files.git from cache
Fetching https://github.com/johnsundell/ink.git from cache
Fetching https://github.com/johnsundell/plot.git from cache
Fetched https://github.com/johnsundell/plot.git from cache (0.42s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.42s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.44s)
Fetched https://github.com/johnsundell/sweep.git from cache (0.44s)
Fetched https://github.com/johnsundell/files.git from cache (0.45s)
Fetched https://github.com/johnsundell/ink.git from cache (0.45s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.51s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.03s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.03s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.03s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.6.0 (0.03s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.14.0 (0.03s)
Creating working copy for https://github.com/brightdigit/NPMPublishPlugin.git
Working copy of https://github.com/brightdigit/NPMPublishPlugin.git resolved at main (ee72ed2)
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/sweep.git
Working copy of https://github.com/johnsundell/sweep.git resolved at 0.4.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/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.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/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
warning: '.resolve-product-dependencies': dependency 'npmpublishplugin' is not used by any target
Found 2 product dependencies
- Publish
- ShellOut
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/brightdigit/NPMPublishPlugin.git
https://github.com/brightdigit/NPMPublishPlugin.git
{
"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" : "/Users/admin/builder/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 ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version-2F0A5646E1D333AE.txt
[11/114] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[12/114] Emitting module CollectionConcurrencyKit
[13/114] Emitting module Ink
[14/117] Compiling Plot XMLAttributes.swift
[15/117] Compiling Plot XMLElements.swift
[16/117] Compiling Plot AnyAttribute.swift
[17/117] Compiling Plot AnyElement.swift
[18/117] Compiling Plot AnyEnvironmentValue.swift
[19/117] Compiling Plot AnyNode.swift
[20/123] Compiling Plot HTMLAnchorTarget.swift
[21/123] Compiling Plot HTMLAttributes.swift
[22/123] Compiling Plot HTMLAudioFormat.swift
[23/123] Compiling Plot Attribute.swift
[24/123] Compiling Plot Component.swift
[25/123] Compiling Plot ComponentAttributes.swift
[26/123] Compiling Plot ComponentBuilder.swift
[27/123] Compiling Plot EnvironmentValue.swift
[28/123] Compiling Plot HTML.swift
[29/123] Compiling Plot HTMLAnchorRelationship.swift
[30/123] Compiling Plot Document.swift
[31/123] Compiling Plot DocumentEncoding.swift
[32/123] Compiling Plot Element.swift
[33/123] Compiling Plot ElementClosingMode.swift
[34/123] Compiling Plot ComponentContainer.swift
[35/123] Compiling Plot ComponentGroup.swift
[36/123] Compiling Plot ControlFlow.swift
[37/123] Compiling Plot Directionality.swift
[38/123] Compiling Plot ElementComponent.swift
[39/123] Compiling Plot ElementDefinition.swift
[40/123] Compiling Plot EmptyComponent.swift
[41/123] Compiling Plot EnvironmentKey.swift
[42/123] Compiling Ink TextStyleMarker.swift
[43/123] Compiling Ink URL.swift
[44/123] Compiling Ink URLDeclaration.swift
[45/123] Emitting module Plot
[46/123] Emitting module ShellOut
[47/123] Compiling ShellOut ShellOut.swift
[48/123] Compiling Plot HTMLButtonType.swift
[49/123] Compiling Plot HTMLComponents.swift
[50/123] Compiling Plot HTMLElements.swift
[51/123] Compiling Plot HTMLFormContentType.swift
[52/123] Compiling Plot HTMLFormMethod.swift
[53/123] Compiling Plot HTMLInputType.swift
[54/123] Compiling Plot HTMLLinkRelationship.swift
[55/123] Compiling Plot HTMLListStyle.swift
[56/123] Compiling Plot HTMLVideoFormat.swift
[57/123] Emitting module Sweep
[58/123] Compiling Sweep Sweep.swift
[66/123] Emitting module Codextended
[67/123] Compiling Codextended Codextended.swift
[68/123] Compiling Plot SiteMap.swift
[69/123] Compiling Plot SiteMapChangeFrequency.swift
[70/123] Compiling Plot SiteMapElements.swift
[71/123] Compiling Plot TwitterCardType.swift
[72/123] Compiling Plot URLRepresentable.swift
[73/123] Compiling Plot XML.swift
[74/123] Compiling Plot Node.swift
[75/123] Compiling Plot NodeConvertible.swift
[76/123] Compiling Plot Optional+Component.swift
[77/123] Compiling Plot PodcastAttributes.swift
[78/123] Compiling Plot PodcastComponents.swift
[79/123] Compiling Plot PodcastElements.swift
[80/123] Compiling Plot PodcastEpisodeType.swift
[81/123] Compiling Plot PodcastFeed.swift
[82/123] Compiling Plot PodcastMediaType.swift
[83/123] Compiling Plot PodcastType.swift
[84/123] Compiling Plot RSS.swift
[85/123] Compiling Plot RSSAttributes.swift
[86/123] Compiling Plot RSSElements.swift
[87/123] Compiling Plot Renderable.swift
[88/123] Compiling Plot ElementRenderingBuffer.swift
[89/123] Compiling Plot ElementWrapper.swift
[90/123] Compiling Plot Environment.swift
[91/123] Compiling Plot ModifiedComponent.swift
[92/123] Compiling Plot Renderer.swift
[93/123] Compiling Plot String+Escaping.swift
[100/123] Compiling Plot Language.swift
[122/123] Emitting module Files
[123/123] Compiling Files Files.swift
[124/178] Compiling Publish Array+Appending.swift
[125/178] Compiling Publish CommandLine+Output.swift
[126/178] Compiling Publish ContentError.swift
[127/178] Compiling Publish File+SwiftPackageFolder.swift
[128/178] Compiling Publish FileIOError.swift
[129/178] Compiling Publish Folder+Group.swift
[130/178] Emitting module Publish
[131/178] Compiling Publish AnyItem.swift
[132/178] Compiling Publish Audio.swift
[133/178] Compiling Publish Content.swift
[134/178] Compiling Publish ContentProtocol.swift
[135/178] Compiling Publish DeploymentMethod.swift
[136/178] Compiling Publish Favicon.swift
[137/178] Compiling Publish Section.swift
[138/178] Compiling Publish SectionMap.swift
[139/178] Compiling Publish SortOrder.swift
[140/178] Compiling Publish StringWrapper.swift
[141/178] Compiling Publish Tag.swift
[142/178] Compiling Publish TagDetailsPage.swift
[143/183] Compiling Publish FeedConfiguration.swift
[144/183] Compiling Publish HTMLFactory.swift
[145/183] Compiling Publish HTMLFileMode.swift
[146/183] Compiling Publish Index.swift
[147/183] Compiling Publish Item.swift
[148/183] Compiling Publish ItemRSSProperties.swift
[149/183] Compiling Publish Location.swift
[150/183] Compiling Publish Mutations.swift
[151/183] Compiling Publish Page.swift
[152/183] Compiling Publish Path.swift
[153/183] Compiling Publish PlotComponents.swift
[154/183] Compiling Publish PlotEnvironmentKeys.swift
[155/183] Compiling Publish TagHTMLConfiguration.swift
[156/183] Compiling Publish TagListPage.swift
[157/183] Compiling Publish Theme+Foundation.swift
[158/183] Compiling Publish Theme.swift
[159/183] Compiling Publish Video.swift
[160/183] Compiling Publish Website.swift
[161/183] Compiling Publish Predicate.swift
[162/183] Compiling Publish PublishedWebsite.swift
[163/183] Compiling Publish PublishingContext.swift
[164/183] Compiling Publish PublishingError.swift
[165/183] Compiling Publish PublishingStep.swift
[166/183] Compiling Publish RSSFeedConfiguration.swift
[167/183] Compiling Publish PlotModifiers.swift
[168/183] Compiling Publish Plugin.swift
[169/183] Compiling Publish PodcastAuthor.swift
[170/183] Compiling Publish PodcastCompatibleWebsiteItemMetadata.swift
[171/183] Compiling Publish PodcastEpisodeMetadata.swift
[172/183] Compiling Publish PodcastFeedConfiguration.swift
[173/183] Compiling Publish HTMLGenerator.swift
[174/183] Compiling Publish MarkdownContentFactory.swift
[175/183] Compiling Publish MarkdownFileHandler.swift
[176/183] Compiling Publish MarkdownMetadataDecoder.swift
[177/183] Compiling Publish PodcastError.swift
[178/183] Compiling Publish PodcastFeedGenerator.swift
[179/183] Compiling Publish PublishingPipeline.swift
[180/183] Compiling Publish RSSFeedGenerator.swift
[181/183] Compiling Publish ShellOutError+PublishingErrorConvertible.swift
[182/183] Compiling Publish SiteMapGenerator.swift
[183/183] Compiling Publish String+Normalized.swift
[184/200] Compiling NPMPublishPlugin RelativePathMap.swift
[185/200] Compiling NPMPublishPlugin Settings.swift
[186/200] Compiling NPMPublishPlugin PublishingContext.swift
[187/200] Compiling NPMPublishPlugin PublishingContextable.swift
[188/200] Compiling NPMPublishPlugin Job.swift
[189/200] Compiling NPMPublishPlugin JobBuilder.swift
[190/201] Compiling NPMPublishPlugin Command.swift
/Users/admin/builder/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.
/Users/admin/builder/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 | }
[191/201] Compiling NPMPublishPlugin Context.swift
/Users/admin/builder/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.
/Users/admin/builder/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 | }
[192/201] Compiling NPMPublishPlugin ShellOutCommand.swift
[193/201] Compiling NPMPublishPlugin PublishingStep.swift
[194/201] Compiling NPMPublishPlugin Output.swift
[195/201] Compiling NPMPublishPlugin OutputPath.swift
[196/201] Emitting module NPMPublishPlugin
/Users/admin/builder/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.
/Users/admin/builder/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/201] Compiling NPMPublishPlugin Location.swift
[198/201] Compiling NPMPublishPlugin NPM.swift
[199/201] Compiling NPMPublishPlugin Argument.swift
[200/201] Compiling NPMPublishPlugin ArgumentBuilder.swift
[201/201] Compiling NPMPublishPlugin URL.swift
Build complete! (16.17s)
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" : "/Users/admin/builder/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.