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 ProgressManager, reference main (f493a1), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 13:12:50 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target ProgressManager -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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/ProgressManager.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/ProgressManager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f493a1b Update ProgressManager.swift
Cloned https://github.com/edonv/ProgressManager.git
Revision (git rev-parse @):
f493a1b317eb8f4923cbd93b41cdc1110d157030
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/ProgressManager.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/edonv/ProgressManager.git
https://github.com/edonv/ProgressManager.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProgressManager",
  "name" : "ProgressManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ProgressManager",
      "targets" : [
        "ProgressManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProgressManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "ProgressManagerTests",
      "path" : "Tests/ProgressManagerTests",
      "sources" : [
        "ProgressManagerTests.swift"
      ],
      "target_dependencies" : [
        "ProgressManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProgressManager",
      "module_type" : "SwiftTarget",
      "name" : "ProgressManager",
      "path" : "Sources/ProgressManager",
      "product_memberships" : [
        "ProgressManager"
      ],
      "sources" : [
        "ChildProgressTask.swift",
        "Extensions/ProgressManagerCompatible.swift",
        "Extensions/ProgressView+Extensions.swift",
        "ProgressManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 --target ProgressManager -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/7] Compiling ProgressManager ProgressView+Extensions.swift
[4/7] Emitting module ProgressManager
/Users/admin/builder/spi-builder-workspace/Sources/ProgressManager/Extensions/ProgressManagerCompatible.swift:26:17: warning: main actor-isolated instance method 'use(progressManager:)' cannot be used to satisfy nonisolated requirement from protocol 'ProgressManagerCompatible'; this is an error in the Swift 6 language mode
12 | public protocol ProgressManagerCompatible {
13 |     /// Attaches a ``ProgressManager`` to this instance.
14 |     func use<TaskKeys: Hashable>(
   |          `- note: mark the protocol requirement 'use(progressManager:)' 'async' to allow actor-isolated conformances
15 |         progressManager: ProgressManager<TaskKeys>
16 |     )
   :
23 |
24 | @available(macOS 14.0, *)
25 | extension NSProgressIndicator: ProgressManagerCompatible {
   |                                `- note: add '@preconcurrency' to the 'ProgressManagerCompatible' conformance to defer isolation checking to run time
26 |     public func use<TaskKeys: Hashable>(
   |                 |- warning: main actor-isolated instance method 'use(progressManager:)' cannot be used to satisfy nonisolated requirement from protocol 'ProgressManagerCompatible'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'use(progressManager:)' to make this instance method not isolated to the actor
27 |         progressManager: ProgressManager<TaskKeys>
28 |     ) {
[5/7] Compiling ProgressManager ProgressManagerCompatible.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProgressManager/Extensions/ProgressManagerCompatible.swift:26:17: warning: main actor-isolated instance method 'use(progressManager:)' cannot be used to satisfy nonisolated requirement from protocol 'ProgressManagerCompatible'; this is an error in the Swift 6 language mode
12 | public protocol ProgressManagerCompatible {
13 |     /// Attaches a ``ProgressManager`` to this instance.
14 |     func use<TaskKeys: Hashable>(
   |          `- note: mark the protocol requirement 'use(progressManager:)' 'async' to allow actor-isolated conformances
15 |         progressManager: ProgressManager<TaskKeys>
16 |     )
   :
23 |
24 | @available(macOS 14.0, *)
25 | extension NSProgressIndicator: ProgressManagerCompatible {
   |                                `- note: add '@preconcurrency' to the 'ProgressManagerCompatible' conformance to defer isolation checking to run time
26 |     public func use<TaskKeys: Hashable>(
   |                 |- warning: main actor-isolated instance method 'use(progressManager:)' cannot be used to satisfy nonisolated requirement from protocol 'ProgressManagerCompatible'; this is an error in the Swift 6 language mode
   |                 `- note: add 'nonisolated' to 'use(progressManager:)' to make this instance method not isolated to the actor
27 |         progressManager: ProgressManager<TaskKeys>
28 |     ) {
[6/7] Compiling ProgressManager ProgressManager.swift
[7/7] Compiling ProgressManager ChildProgressTask.swift
Build of target: 'ProgressManager' complete! (7.64s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProgressManager",
  "name" : "ProgressManager",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ProgressManager",
      "targets" : [
        "ProgressManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ProgressManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "ProgressManagerTests",
      "path" : "Tests/ProgressManagerTests",
      "sources" : [
        "ProgressManagerTests.swift"
      ],
      "target_dependencies" : [
        "ProgressManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProgressManager",
      "module_type" : "SwiftTarget",
      "name" : "ProgressManager",
      "path" : "Sources/ProgressManager",
      "product_memberships" : [
        "ProgressManager"
      ],
      "sources" : [
        "ChildProgressTask.swift",
        "Extensions/ProgressManagerCompatible.swift",
        "Extensions/ProgressView+Extensions.swift",
        "ProgressManager.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.