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 ReadingTimePublishPlugin, reference master (531dd1), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 20:47:46 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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/ink.git
Fetching https://github.com/johnsundell/collectionConcurrencyKit.git
Fetching https://github.com/johnsundell/publish.git
Fetching https://github.com/johnsundell/shellout.git
Fetching https://github.com/johnsundell/sweep.git
Fetching https://github.com/johnsundell/files.git
Fetching https://github.com/johnsundell/codextended.git
[1/116] Fetching sweep
[26/199] Fetching sweep, collectionconcurrencykit
[47/380] Fetching sweep, collectionconcurrencykit, codextended
[138/2285] Fetching sweep, collectionconcurrencykit, codextended, ink
[203/5180] Fetching sweep, collectionconcurrencykit, codextended, ink, publish
[204/6411] Fetching sweep, collectionconcurrencykit, codextended, ink, publish, files
[205/7371] Fetching sweep, collectionconcurrencykit, codextended, ink, publish, files, shellout
Fetched https://github.com/johnsundell/sweep.git from cache (0.86s)
[810/7255] Fetching collectionconcurrencykit, codextended, ink, publish, files, shellout
Fetching https://github.com/johnsundell/plot.git
Fetched https://github.com/johnsundell/publish.git from cache (1.05s)
Computing version for https://github.com/johnsundell/publish.git
[4324/4360] Fetching collectionconcurrencykit, codextended, ink, files, shellout
Fetched https://github.com/johnsundell/codextended.git from cache (1.09s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (1.09s)
Fetched https://github.com/johnsundell/shellout.git from cache (1.09s)
Fetched https://github.com/johnsundell/files.git from cache (1.09s)
Fetched https://github.com/johnsundell/ink.git from cache (1.09s)
[1/2086] Fetching plot
Fetched https://github.com/johnsundell/plot.git from cache (0.86s)
Computed https://github.com/johnsundell/publish.git at 0.9.0 (0.72s)
Computing version for https://github.com/johnsundell/collectionConcurrencyKit.git
Computed https://github.com/johnsundell/collectionConcurrencyKit.git at 0.2.0 (0.70s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.71s)
Computing version for https://github.com/johnsundell/shellout.git
Computed https://github.com/johnsundell/shellout.git at 2.3.0 (2.89s)
Computing version for https://github.com/johnsundell/codextended.git
Computed https://github.com/johnsundell/codextended.git at 0.3.0 (0.69s)
Computing version for https://github.com/johnsundell/files.git
Computed https://github.com/johnsundell/files.git at 4.2.0 (0.67s)
Computing version for https://github.com/johnsundell/plot.git
Computed https://github.com/johnsundell/plot.git at 0.11.0 (0.67s)
Computing version for https://github.com/johnsundell/ink.git
Computed https://github.com/johnsundell/ink.git at 0.5.1 (0.67s)
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/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/ink.git
Working copy of https://github.com/johnsundell/ink.git resolved at 0.5.1
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
Creating working copy for https://github.com/johnsundell/publish.git
Working copy of https://github.com/johnsundell/publish.git resolved at 0.9.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.65s)
Fetching https://github.com/johnsundell/publish.git from cache
Fetched https://github.com/johnsundell/publish.git from cache (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/codextended.git from cache
Fetching https://github.com/johnsundell/files.git from cache
Fetching https://github.com/johnsundell/shellout.git from cache
Fetching https://github.com/johnsundell/plot.git from cache
Fetching https://github.com/johnsundell/ink.git from cache
Fetching https://github.com/johnsundell/sweep.git from cache
Fetched https://github.com/johnsundell/plot.git from cache (0.54s)
Fetched https://github.com/johnsundell/ink.git from cache (0.54s)
Fetched https://github.com/johnsundell/files.git from cache (0.54s)
Fetched https://github.com/johnsundell/collectionConcurrencyKit.git from cache (0.54s)
Fetched https://github.com/johnsundell/shellout.git from cache (0.54s)
Fetched https://github.com/johnsundell/sweep.git from cache (0.54s)
Fetched https://github.com/johnsundell/codextended.git from cache (0.54s)
Computing version for https://github.com/johnsundell/sweep.git
Computed https://github.com/johnsundell/sweep.git at 0.4.0 (0.03s)
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/johnsundell/files.git
Working copy of https://github.com/johnsundell/files.git resolved at 4.2.0
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/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/plot.git
Working copy of https://github.com/johnsundell/plot.git resolved at 0.14.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/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
warning: '.resolve-product-dependencies': dependency 'readingtimepublishplugin' is not used by any target
Found 1 product dependencies
  - Publish
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alexito4/ReadingTimePublishPlugin.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/10] Write sources
[9/10] Write swift-version--7754E27361AE5C74.txt
[11/112] Emitting module CollectionConcurrencyKit
[12/112] Compiling CollectionConcurrencyKit CollectionConcurrencyKit.swift
[13/112] Compiling Plot HTMLAttributes.swift
[14/112] Compiling Plot HTMLAudioFormat.swift
[15/112] Compiling Plot HTMLListStyle.swift
[16/112] Compiling Plot HTMLVideoFormat.swift
[17/112] Compiling Plot HTMLViewportWidthMode.swift
[18/112] Compiling Plot Indentation.swift
[19/115] Compiling Plot XMLAttributes.swift
[20/115] Compiling Plot XMLElements.swift
[21/115] Compiling Plot AnyAttribute.swift
[22/115] Compiling Plot AnyElement.swift
[23/115] Compiling Plot AnyEnvironmentValue.swift
[24/115] Compiling Plot AnyNode.swift
[25/121] Compiling Plot EnvironmentValue.swift
[26/121] Compiling Plot HTML.swift
[27/121] Compiling Plot HTMLAnchorRelationship.swift
[28/121] Compiling Plot HTMLAnchorTarget.swift
[29/121] Compiling Plot ElementDefinition.swift
[30/121] Compiling Plot EmptyComponent.swift
[31/121] Compiling Plot EnvironmentKey.swift
[32/121] Emitting module Ink
[33/121] Compiling Ink TextStyleMarker.swift
[34/121] Compiling Ink URL.swift
[35/121] Compiling Ink URLDeclaration.swift
[36/121] Compiling Plot ComponentContainer.swift
[37/121] Compiling Plot ComponentGroup.swift
[38/121] Compiling Plot ControlFlow.swift
[39/121] Compiling Plot Document.swift
[40/121] Compiling Plot DocumentEncoding.swift
[41/121] Compiling Plot Element.swift
[42/121] Compiling Plot ElementClosingMode.swift
[43/121] Compiling Plot ElementComponent.swift
[44/121] Compiling Plot Attribute.swift
[45/121] Compiling Plot Component.swift
[46/121] Compiling Plot ComponentAttributes.swift
[47/121] Compiling Plot ComponentBuilder.swift
[48/121] Emitting module Plot
[49/121] Emitting module Sweep
[50/121] Compiling Sweep Sweep.swift
[51/121] Compiling Plot ElementRenderingBuffer.swift
[52/121] Compiling Plot ElementWrapper.swift
[53/121] Compiling Plot Environment.swift
[54/121] Compiling Plot ModifiedComponent.swift
[55/121] Compiling Plot Renderer.swift
[56/121] Compiling Plot String+Escaping.swift
[57/121] Emitting module ShellOut
[58/121] Compiling ShellOut ShellOut.swift
[59/121] Compiling Codextended Codextended.swift
[60/121] Emitting module Codextended
[61/121] Compiling Plot SiteMap.swift
[62/121] Compiling Plot SiteMapChangeFrequency.swift
[63/121] Compiling Plot SiteMapElements.swift
[64/121] Compiling Plot TwitterCardType.swift
[65/121] Compiling Plot URLRepresentable.swift
[66/121] Compiling Plot XML.swift
[67/121] Compiling Plot PodcastMediaType.swift
[68/121] Compiling Plot PodcastType.swift
[69/121] Compiling Plot RSS.swift
[70/121] Compiling Plot RSSAttributes.swift
[71/121] Compiling Plot RSSElements.swift
[72/121] Compiling Plot Renderable.swift
[73/121] Compiling Plot Language.swift
[74/121] Compiling Plot Node.swift
[75/121] Compiling Plot NodeConvertible.swift
[76/121] Compiling Plot HTMLButtonType.swift
[77/121] Compiling Plot HTMLComponents.swift
[78/121] Compiling Plot HTMLElements.swift
[79/121] Compiling Plot Optional+Component.swift
[80/121] Compiling Plot PodcastAttributes.swift
[81/121] Compiling Plot PodcastComponents.swift
[82/121] Compiling Plot PodcastElements.swift
[83/121] Compiling Plot PodcastEpisodeType.swift
[84/121] Compiling Plot PodcastFeed.swift
[119/121] Compiling Plot HTMLLinkRelationship.swift
[120/121] Emitting module Files
[121/121] Compiling Files Files.swift
[122/176] Compiling Publish Section.swift
[123/176] Compiling Publish SectionMap.swift
[124/176] Compiling Publish SortOrder.swift
[125/176] Compiling Publish StringWrapper.swift
[126/176] Compiling Publish Tag.swift
[127/176] Compiling Publish TagDetailsPage.swift
[128/176] Compiling Publish Array+Appending.swift
[129/176] Compiling Publish CommandLine+Output.swift
[130/176] Compiling Publish ContentError.swift
[131/176] Compiling Publish File+SwiftPackageFolder.swift
[132/176] Compiling Publish FileIOError.swift
[133/176] Compiling Publish Folder+Group.swift
[134/181] Compiling Publish Location.swift
[135/181] Compiling Publish Mutations.swift
[136/181] Compiling Publish Page.swift
[137/181] Compiling Publish Path.swift
[138/181] Compiling Publish PlotComponents.swift
[139/181] Compiling Publish PlotEnvironmentKeys.swift
[140/181] Emitting module Publish
[141/181] Compiling Publish TagHTMLConfiguration.swift
[142/181] Compiling Publish TagListPage.swift
[143/181] Compiling Publish Theme+Foundation.swift
[144/181] Compiling Publish Theme.swift
[145/181] Compiling Publish Video.swift
[146/181] Compiling Publish Website.swift
[147/181] Compiling Publish AnyItem.swift
[148/181] Compiling Publish Audio.swift
[149/181] Compiling Publish Content.swift
[150/181] Compiling Publish ContentProtocol.swift
[151/181] Compiling Publish DeploymentMethod.swift
[152/181] Compiling Publish Favicon.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 FeedConfiguration.swift
[160/181] Compiling Publish HTMLFactory.swift
[161/181] Compiling Publish HTMLFileMode.swift
[162/181] Compiling Publish Index.swift
[163/181] Compiling Publish Item.swift
[164/181] Compiling Publish ItemRSSProperties.swift
[165/181] Compiling Publish HTMLGenerator.swift
[166/181] Compiling Publish MarkdownContentFactory.swift
[167/181] Compiling Publish MarkdownFileHandler.swift
[168/181] Compiling Publish MarkdownMetadataDecoder.swift
[169/181] Compiling Publish PodcastError.swift
[170/181] Compiling Publish PodcastFeedGenerator.swift
[171/181] Compiling Publish Predicate.swift
[172/181] Compiling Publish PublishedWebsite.swift
[173/181] Compiling Publish PublishingContext.swift
[174/181] Compiling Publish PublishingError.swift
[175/181] Compiling Publish PublishingStep.swift
[176/181] Compiling Publish RSSFeedConfiguration.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] 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: annotate 'output' 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
 9 |     var string = string + "\n"
10 |
[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: annotate 'data' 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
43 |
44 | func estimateTime(for string: String, wordsPerMinute: Int) -> ReadingTimeMetadata {
/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: annotate 'output' 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
 9 |     var string = string + "\n"
10 |
[184/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: annotate 'output' 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
 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: annotate 'data' 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
43 |
44 | func estimateTime(for string: String, wordsPerMinute: Int) -> ReadingTimeMetadata {
Build complete! (24.73s)
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.