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 ReadingTimePublishPlugin, reference master (531dd1), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 07:23:50 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/alexito4/ReadingTimePublishPlugin.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexito4/ReadingTimePublishPlugin
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 531dd14 Update README.md
Cloned https://github.com/alexito4/ReadingTimePublishPlugin.git
Revision (git rev-parse @):
531dd144784e7e623d45a01dafdf4dd76c3349f8
SUCCESS checkout https://github.com/alexito4/ReadingTimePublishPlugin.git at master
Fetching https://github.com/johnsundell/codextended.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/ink.git
Fetching https://github.com/johnsundell/plot.git
Fetching https://github.com/johnsundell/publish.git
Fetching https://github.com/johnsundell/sweep.git
[1/116] Fetching sweep
[26/1076] Fetching sweep, shellout
[241/1160] Fetching sweep, shellout, collectionconcurrencykit
[298/4058] Fetching sweep, shellout, collectionconcurrencykit, publish
[449/5963] Fetching sweep, shellout, collectionconcurrencykit, publish, ink
[526/8049] Fetching sweep, shellout, collectionconcurrencykit, publish, ink, plot
[8049/8230] Fetching sweep, shellout, collectionconcurrencykit, publish, ink, plot, codextended
Fetched https://github.com/johnsundell/publish.git from cache (0.92s)
Computing version for https://github.com/johnsundell/publish.git
Fetched https://github.com/johnsundell/shellout.git from cache (0.93s)
Fetched https://github.com/johnsundell/ink.git from cache (0.93s)
Fetched https://github.com/johnsundell/plot.git from cache (0.93s)
Fetched https://github.com/johnsundell/sweep.git from cache (0.93s)
Fetching https://github.com/johnsundell/files.git
[118/265] Fetching collectionconcurrencykit, codextended
Fetched https://github.com/johnsundell/codextended.git from cache (1.01s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (1.01s)
[1/1236] Fetching files
Computed https://github.com/johnsundell/publish.git at 0.9.0 (1.56s)
Fetched https://github.com/johnsundell/files.git from cache (0.83s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.82s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.58s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (2.83s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.61s)
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/plot.git
Computed https://github.com/johnsundell/plot.git at 0.11.0 (0.60s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.5.1 (0.62s)
Creating working copy for https://github.com/johnsundell/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.11.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/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/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.0
Creating working copy for https://github.com/johnsundell/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.5.1
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/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.3.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": "readingtimepublishplugin",
      "name": "ReadingTimePublishPlugin",
      "url": "https://github.com/alexito4/ReadingTimePublishPlugin.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ReadingTimePublishPlugin",
      "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": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/alexito4/ReadingTimePublishPlugin.git
[1/136] Fetching readingtimepublishplugin
Fetched https://github.com/alexito4/ReadingTimePublishPlugin.git from cache (0.63s)
Fetching https://github.com/johnsundell/publish.git from cache
Fetched https://github.com/johnsundell/publish.git from cache (0.41s)
Computing version for https://github.com/johnsundell/publish.git
Computed https://github.com/johnsundell/publish.git at 0.9.0 (0.47s)
Fetching https://github.com/johnsundell/files.git from cache
Fetching https://github.com/johnsundell/plot.git from cache
Fetching https://github.com/johnsundell/shellout.git from cache
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git from cache
Fetching https://github.com/johnsundell/ink.git from cache
Fetching https://github.com/johnsundell/sweep.git from cache
Fetching https://github.com/johnsundell/codextended.git from cache
Fetched https://github.com/johnsundell/files.git from cache (0.47s)
Fetched https://github.com/johnsundell/sweep.git from cache (0.53s)
Fetched https://github.com/johnsundell/ink.git from cache (0.53s)
Fetched https://github.com/johnsundell/plot.git from cache (0.53s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.53s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.53s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.53s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.60s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (0.03s)
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/alexito4/ReadingTimePublishPlugin.git
Working copy of https://github.com/alexito4/ReadingTimePublishPlugin.git resolved at master (531dd14)
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/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.6.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/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
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/shellout.git
Working copy of https://github.com/johnsundell/shellout.git resolved at 2.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
warning: '.resolve-product-dependencies': dependency 'readingtimepublishplugin' is not used by any target
Found 1 product dependencies
  - Publish
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/alexito4/ReadingTimePublishPlugin.git
https://github.com/alexito4/ReadingTimePublishPlugin.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"
    }
  ],
  "manifest_display_name" : "ReadingTimePublishPlugin",
  "name" : "ReadingTimePublishPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ReadingTimePublishPlugin",
      "targets" : [
        "ReadingTimePublishPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReadingTimePublishPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "ReadingTimePublishPluginTests",
      "path" : "Tests/ReadingTimePublishPluginTests",
      "sources" : [
        "ConsoleOutputTests.swift",
        "ReadingTimeTests.swift"
      ],
      "target_dependencies" : [
        "ReadingTimePublishPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ReadingTimePublishPlugin",
      "module_type" : "SwiftTarget",
      "name" : "ReadingTimePublishPlugin",
      "path" : "Sources/ReadingTimePublishPlugin",
      "product_dependencies" : [
        "Publish"
      ],
      "product_memberships" : [
        "ReadingTimePublishPlugin"
      ],
      "sources" : [
        "CommandLine+Output.swift",
        "ReadingTime.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
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/112] Emitting module CollectionConcurrencyKit
[12/112] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[13/112] Emitting module Ink
[14/115] Compiling Plot HTMLAttributes.swift
[15/115] Compiling Plot HTMLAudioFormat.swift
[16/115] Compiling Plot HTMLButtonType.swift
[17/115] Compiling Plot XMLAttributes.swift
[18/115] Compiling Plot XMLElements.swift
[19/115] Compiling Plot AnyAttribute.swift
[20/115] Compiling Plot AnyElement.swift
[21/115] Compiling Plot AnyEnvironmentValue.swift
[22/115] Compiling Plot AnyNode.swift
[23/121] Compiling Plot ElementDefinition.swift
[24/121] Compiling Plot EmptyComponent.swift
[25/121] Compiling Plot EnvironmentKey.swift
[26/121] Compiling Plot EnvironmentValue.swift
[27/121] Compiling Plot HTML.swift
[28/121] Compiling Plot HTMLAnchorRelationship.swift
[29/121] Compiling Plot HTMLAnchorTarget.swift
[30/121] Compiling Plot DocumentEncoding.swift
[31/121] Compiling Plot Element.swift
[32/121] Compiling Plot ElementClosingMode.swift
[33/121] Compiling Plot ElementComponent.swift
[34/121] Compiling Plot HTMLComponents.swift
[35/121] Compiling Plot HTMLElements.swift
[36/121] Compiling Plot HTMLFormContentType.swift
[37/121] Compiling Ink TextStyleMarker.swift
[38/121] Compiling Ink URL.swift
[39/121] Compiling Ink URLDeclaration.swift
[40/121] Compiling Plot Attribute.swift
[41/121] Compiling Plot Component.swift
[42/121] Compiling Plot ComponentAttributes.swift
[43/121] Compiling Plot ComponentBuilder.swift
[44/121] Compiling Plot ComponentContainer.swift
[45/121] Compiling Plot ComponentGroup.swift
[46/121] Compiling Plot ControlFlow.swift
[47/121] Compiling Plot Document.swift
[48/121] Emitting module Plot
[49/121] Emitting module Sweep
[50/121] Compiling Sweep Sweep.swift
[51/121] Compiling Plot SiteMap.swift
[52/121] Compiling Plot SiteMapChangeFrequency.swift
[53/121] Compiling Plot SiteMapElements.swift
[54/121] Compiling Plot TwitterCardType.swift
[55/121] Compiling Plot URLRepresentable.swift
[56/121] Compiling Plot XML.swift
[57/121] Compiling Plot ElementRenderingBuffer.swift
[58/121] Compiling Plot ElementWrapper.swift
[59/121] Compiling Plot Environment.swift
[60/121] Compiling Plot ModifiedComponent.swift
[61/121] Compiling Plot Renderer.swift
[62/121] Compiling Plot String+Escaping.swift
[63/121] Compiling ShellOut ShellOut.swift
[64/121] Emitting module ShellOut
[65/121] Compiling Plot PodcastMediaType.swift
[66/121] Compiling Plot PodcastType.swift
[67/121] Compiling Plot RSS.swift
[68/121] Compiling Plot RSSAttributes.swift
[69/121] Compiling Plot RSSElements.swift
[70/121] Compiling Plot Renderable.swift
[71/121] Emitting module Codextended
[72/121] Compiling Codextended Codextended.swift
[87/121] Compiling Plot HTMLListStyle.swift
[88/121] Compiling Plot HTMLVideoFormat.swift
[89/121] Compiling Plot HTMLViewportWidthMode.swift
[93/121] Compiling Plot NodeConvertible.swift
[94/121] Compiling Plot Optional+Component.swift
[95/121] Compiling Plot PodcastAttributes.swift
[96/121] Compiling Plot PodcastComponents.swift
[97/121] Compiling Plot PodcastElements.swift
[98/121] Compiling Plot PodcastEpisodeType.swift
[99/121] Compiling Plot PodcastFeed.swift
[100/121] Compiling Plot HTMLFormMethod.swift
[101/121] Compiling Plot HTMLInputType.swift
[102/121] Compiling Plot HTMLLinkRelationship.swift
[120/121] Emitting module Files
[121/121] Compiling Files Files.swift
[122/176] Emitting module Publish
[123/181] Compiling Publish Array+Appending.swift
[124/181] Compiling Publish CommandLine+Output.swift
[125/181] Compiling Publish ContentError.swift
[126/181] Compiling Publish File+SwiftPackageFolder.swift
[127/181] Compiling Publish FileIOError.swift
[128/181] Compiling Publish Folder+Group.swift
[129/181] Compiling Publish AnyItem.swift
[130/181] Compiling Publish Audio.swift
[131/181] Compiling Publish Content.swift
[132/181] Compiling Publish ContentProtocol.swift
[133/181] Compiling Publish DeploymentMethod.swift
[134/181] Compiling Publish Favicon.swift
[135/181] Compiling Publish FeedConfiguration.swift
[136/181] Compiling Publish HTMLFactory.swift
[137/181] Compiling Publish HTMLFileMode.swift
[138/181] Compiling Publish Index.swift
[139/181] Compiling Publish Item.swift
[140/181] Compiling Publish ItemRSSProperties.swift
[141/181] Compiling Publish Section.swift
[142/181] Compiling Publish SectionMap.swift
[143/181] Compiling Publish SortOrder.swift
[144/181] Compiling Publish StringWrapper.swift
[145/181] Compiling Publish Tag.swift
[146/181] Compiling Publish TagDetailsPage.swift
[147/181] Compiling Publish Predicate.swift
[148/181] Compiling Publish PublishedWebsite.swift
[149/181] Compiling Publish PublishingContext.swift
[150/181] Compiling Publish PublishingError.swift
[151/181] Compiling Publish PublishingStep.swift
[152/181] Compiling Publish RSSFeedConfiguration.swift
[153/181] Compiling Publish PlotModifiers.swift
[154/181] Compiling Publish Plugin.swift
[155/181] Compiling Publish PodcastAuthor.swift
[156/181] Compiling Publish PodcastCompatibleWebsiteItemMetadata.swift
[157/181] Compiling Publish PodcastEpisodeMetadata.swift
[158/181] Compiling Publish PodcastFeedConfiguration.swift
[159/181] Compiling Publish Location.swift
[160/181] Compiling Publish Mutations.swift
[161/181] Compiling Publish Page.swift
[162/181] Compiling Publish Path.swift
[163/181] Compiling Publish PlotComponents.swift
[164/181] Compiling Publish PlotEnvironmentKeys.swift
[165/181] Compiling Publish TagHTMLConfiguration.swift
[166/181] Compiling Publish TagListPage.swift
[167/181] Compiling Publish Theme+Foundation.swift
[168/181] Compiling Publish Theme.swift
[169/181] Compiling Publish Video.swift
[170/181] Compiling Publish Website.swift
[171/181] Compiling Publish HTMLGenerator.swift
[172/181] Compiling Publish MarkdownContentFactory.swift
[173/181] Compiling Publish MarkdownFileHandler.swift
[174/181] Compiling Publish MarkdownMetadataDecoder.swift
[175/181] Compiling Publish PodcastError.swift
[176/181] Compiling Publish PodcastFeedGenerator.swift
[177/181] Compiling Publish PublishingPipeline.swift
[178/181] Compiling Publish RSSFeedGenerator.swift
[179/181] Compiling Publish ShellOutError+PublishingErrorConvertible.swift
[180/181] Compiling Publish SiteMapGenerator.swift
[181/181] Compiling Publish String+Normalized.swift
[182/184] Emitting module ReadingTimePublishPlugin
/Users/admin/builder/spi-builder-workspace/Sources/ReadingTimePublishPlugin/CommandLine+Output.swift:8:5: warning: var 'output' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | var output: (String, OutputKind) -> Void = { string, kind in
   |     |- warning: var 'output' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'output' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'output' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |     var string = string + "\n"
10 |
/Users/admin/builder/spi-builder-workspace/Sources/ReadingTimePublishPlugin/ReadingTime.swift:42:13: warning: var 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | }
41 |
42 | private var data = [AnyHashable: ReadingTimeMetadata]()
   |             |- warning: var 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'data' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'data' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | func estimateTime(for string: String, wordsPerMinute: Int) -> ReadingTimeMetadata {
[183/184] Compiling ReadingTimePublishPlugin ReadingTime.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReadingTimePublishPlugin/ReadingTime.swift:42:13: warning: var 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | }
41 |
42 | private var data = [AnyHashable: ReadingTimeMetadata]()
   |             |- warning: var 'data' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'data' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make var 'data' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 |
44 | func estimateTime(for string: String, wordsPerMinute: Int) -> ReadingTimeMetadata {
[184/184] Compiling ReadingTimePublishPlugin CommandLine+Output.swift
/Users/admin/builder/spi-builder-workspace/Sources/ReadingTimePublishPlugin/CommandLine+Output.swift:8:5: warning: var 'output' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | var output: (String, OutputKind) -> Void = { string, kind in
   |     |- warning: var 'output' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'output' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: add '@MainActor' to make var 'output' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |     var string = string + "\n"
10 |
Build complete! (13.79s)
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"
    }
  ],
  "manifest_display_name" : "ReadingTimePublishPlugin",
  "name" : "ReadingTimePublishPlugin",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ReadingTimePublishPlugin",
      "targets" : [
        "ReadingTimePublishPlugin"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ReadingTimePublishPluginTests",
      "module_type" : "SwiftTarget",
      "name" : "ReadingTimePublishPluginTests",
      "path" : "Tests/ReadingTimePublishPluginTests",
      "sources" : [
        "ConsoleOutputTests.swift",
        "ReadingTimeTests.swift"
      ],
      "target_dependencies" : [
        "ReadingTimePublishPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ReadingTimePublishPlugin",
      "module_type" : "SwiftTarget",
      "name" : "ReadingTimePublishPlugin",
      "path" : "Sources/ReadingTimePublishPlugin",
      "product_dependencies" : [
        "Publish"
      ],
      "product_memberships" : [
        "ReadingTimePublishPlugin"
      ],
      "sources" : [
        "CommandLine+Output.swift",
        "ReadingTime.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.