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 DockProgress, reference 4.3.1 (d4f23b), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 13:37:46 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/sindresorhus/DockProgress.git
Reference: 4.3.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sindresorhus/DockProgress
 * tag               4.3.1      -> FETCH_HEAD
HEAD is now at d4f23b5 Hide dock tile when not showing progress
Cloned https://github.com/sindresorhus/DockProgress.git
Revision (git rev-parse @):
d4f23b5a8f5ca0fac393eb7ba78c2fe3e32e52da
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sindresorhus/DockProgress.git at 4.3.1
========================================
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": "dockprogress",
      "name": "DockProgress",
      "url": "https://github.com/sindresorhus/DockProgress.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DockProgress",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/sindresorhus/DockProgress.git
[1/720] Fetching dockprogress
Fetched https://github.com/sindresorhus/DockProgress.git from cache (1.05s)
Creating working copy for https://github.com/sindresorhus/DockProgress.git
Working copy of https://github.com/sindresorhus/DockProgress.git resolved at 4.3.1 (d4f23b5)
warning: '.resolve-product-dependencies': dependency 'dockprogress' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/sindresorhus/DockProgress.git
https://github.com/sindresorhus/DockProgress.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DockProgress",
  "name" : "DockProgress",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "DockProgress",
      "targets" : [
        "DockProgress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DockProgress",
      "module_type" : "SwiftTarget",
      "name" : "DockProgress",
      "path" : "Sources/DockProgress",
      "product_memberships" : [
        "DockProgress"
      ],
      "sources" : [
        "DockProgress.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/5] Compiling DockProgress DockProgress.swift
/Users/admin/builder/spi-builder-workspace/Sources/DockProgress/DockProgress.swift:24:5: warning: sending 'displayLinkObserver' risks causing data races; this is an error in the Swift 6 language mode
 22 | 				displayedProgress = progress
 23 | 				elapsedTimeSinceLastRefresh = 0
 24 | 				displayLinkObserver.stop()
    |     |- warning: sending 'displayLinkObserver' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'displayLinkObserver' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 25 | 			} else {
 26 | 				displayedProgress = Easing.linearInterpolation(
[4/5] Emitting module DockProgress
/Users/admin/builder/spi-builder-workspace/Sources/DockProgress/Utilities.swift:157:13: warning: static property 'helveticaNeueBold' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | extension NSFont {
157 | 	static let helveticaNeueBold = NSFont(name: "HelveticaNeue-Bold", size: 0)
    |             |- warning: static property 'helveticaNeueBold' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'helveticaNeueBold' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | }
159 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DockProgress/DockProgress.swift:24:5: warning: sending 'displayLinkObserver' risks causing data races; this is an error in the Swift 6 language mode
 22 | 				displayedProgress = progress
 23 | 				elapsedTimeSinceLastRefresh = 0
 24 | 				displayLinkObserver.stop()
    |     |- warning: sending 'displayLinkObserver' risks causing data races; this is an error in the Swift 6 language mode
    |     `- note: task-isolated 'displayLinkObserver' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
 25 | 			} else {
 26 | 				displayedProgress = Easing.linearInterpolation(
[5/5] Compiling DockProgress Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/DockProgress/Utilities.swift:157:13: warning: static property 'helveticaNeueBold' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | extension NSFont {
157 | 	static let helveticaNeueBold = NSFont(name: "HelveticaNeue-Bold", size: 0)
    |             |- warning: static property 'helveticaNeueBold' is not concurrency-safe because non-'Sendable' type 'NSFont?' may have shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: add '@MainActor' to make static property 'helveticaNeueBold' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
158 | }
159 |
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
  |                     `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 |     case none
3 |     case some(Wrapped)
Build complete! (7.17s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "DockProgress",
  "name" : "DockProgress",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "DockProgress",
      "targets" : [
        "DockProgress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DockProgress",
      "module_type" : "SwiftTarget",
      "name" : "DockProgress",
      "path" : "Sources/DockProgress",
      "product_memberships" : [
        "DockProgress"
      ],
      "sources" : [
        "DockProgress.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/sindresorhus/dockprogress/4.3.1
Repository:               sindresorhus/DockProgress
Swift version used:       6.1
Target:                   DockProgress
Extracting symbol information for 'DockProgress'...
Finished extracting symbol information for 'DockProgress'. (4.27s)
Building documentation for 'DockProgress'...
Finished building documentation for 'DockProgress' (0.12s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/sindresorhus/dockprogress/4.3.1
Fetching https://github.com/swiftlang/swift-docc-plugin from cache
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (1.16s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.85s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.47s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version-2F0A5646E1D333AE.txt
[6/53] Emitting module SymbolKit
[7/57] Compiling Snippets SnippetParser.swift
[8/57] Compiling Snippets Snippet.swift
[9/57] Emitting module Snippets
[10/57] Compiling SymbolKit Names.swift
[11/57] Compiling SymbolKit SPI.swift
[12/57] Compiling SymbolKit Snippet.swift
[13/57] Compiling SymbolKit Extension.swift
[14/57] Compiling SymbolKit Mixin+Equals.swift
[15/57] Compiling SymbolKit Mixin+Hash.swift
[16/57] Compiling SymbolKit Mixin.swift
[17/57] Compiling SymbolKit LineList.swift
[18/57] Compiling SymbolKit Position.swift
[19/57] Compiling SymbolKit SourceRange.swift
[20/57] Compiling SymbolKit Metadata.swift
[21/57] Compiling SymbolKit Module.swift
[22/57] Compiling SymbolKit OperatingSystem.swift
[23/57] Compiling SymbolKit Platform.swift
[24/57] Compiling SymbolKit Identifier.swift
[25/57] Compiling SymbolKit KindIdentifier.swift
[26/57] Compiling SymbolKit Location.swift
[27/57] Compiling SymbolKit Mutability.swift
[28/57] Compiling SymbolKit SemanticVersion.swift
[29/57] Compiling SymbolKit AccessControl.swift
[30/57] Compiling SymbolKit Availability.swift
[31/57] Compiling SymbolKit AvailabilityItem.swift
[32/57] Compiling SymbolKit Domain.swift
[33/57] Compiling SymbolKit Symbol.swift
[34/57] Compiling SymbolKit SymbolKind.swift
[35/57] Compiling SymbolKit SymbolGraph.swift
[36/57] Compiling SymbolKit GraphCollector.swift
[37/57] Compiling SymbolKit GenericConstraint.swift
[38/57] Compiling SymbolKit GenericParameter.swift
[39/57] Compiling SymbolKit Generics.swift
[40/57] Compiling SymbolKit Namespace.swift
[41/57] Compiling SymbolKit DeclarationFragments.swift
[42/57] Compiling SymbolKit Fragment.swift
[43/57] Compiling SymbolKit FragmentKind.swift
[44/57] Compiling SymbolKit FunctionParameter.swift
[45/57] Compiling SymbolKit FunctionSignature.swift
[46/57] Compiling SymbolKit Relationship.swift
[47/57] Compiling SymbolKit RelationshipKind.swift
[48/57] Compiling SymbolKit SourceOrigin.swift
[49/57] Compiling SymbolKit GenericConstraints.swift
[50/57] Compiling SymbolKit Swift.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Emitting module snippet_extract
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.75s)
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/4] Compiling DockProgress Utilities.swift
[3/4] Compiling DockProgress DockProgress.swift
[4/4] Emitting module DockProgress
Build of target: 'DockProgress' complete! (0.66s)
      80
2	/Users/admin/builder/spi-builder-workspace/.docs/sindresorhus/dockprogress/4.3.1
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sindresorhus/dockprogress/4.3.1
File count: 80
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-sindresorhus-dockprogress-4.3.1-d2f74ff9.zip to s3://spi-docs-inbox/prod-sindresorhus-dockprogress-4.3.1-d2f74ff9.zip
Copying... [19%]
Copying... [37%]
Copying... [56%]
Copying... [74%]
Copying... [93%]
Copying... [100%]
Done.