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 Progress, reference 1.0.3 (29dc5d), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 03:52:56 UTC.

Swift 6 data race errors: 1

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/ordo-one/Progress.swift.git
Reference: 1.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ordo-one/Progress.swift
 * tag               1.0.3      -> FETCH_HEAD
HEAD is now at 29dc5dc Tweak time calculation
Cloned https://github.com/ordo-one/Progress.swift.git
Revision (git rev-parse @):
29dc5dc29d8408f42878b832c7aae38a35ff26ee
SUCCESS checkout https://github.com/ordo-one/Progress.swift.git at 1.0.3
========================================
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": "progress.swift",
      "name": "Progress",
      "url": "https://github.com/ordo-one/Progress.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Progress.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ordo-one/Progress.swift.git
[1/408] Fetching progress.swift
Fetched https://github.com/ordo-one/Progress.swift.git from cache (0.78s)
Creating working copy for https://github.com/ordo-one/Progress.swift.git
Working copy of https://github.com/ordo-one/Progress.swift.git resolved at 1.0.3 (29dc5dc)
warning: '.resolve-product-dependencies': dependency 'progress.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/ordo-one/Progress.swift.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling Progress Utilities.swift
[4/6] Compiling Progress ProgressElements.swift
[5/6] Emitting module Progress
/Users/admin/builder/spi-builder-workspace/Sources/Progress.swift:63:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |     let configuration: [ProgressElementType]?
 62 |
 63 |     public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
    |                       |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'defaultConfiguration' 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
 64 |
 65 |     var printer: ProgressBarPrinter
[6/6] Compiling Progress Progress.swift
/Users/admin/builder/spi-builder-workspace/Sources/Progress.swift:63:23: warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 61 |     let configuration: [ProgressElementType]?
 62 |
 63 |     public static var defaultConfiguration: [ProgressElementType] = [ProgressIndex(), ProgressBarLine(), ProgressTimeEstimates()]
    |                       |- warning: static property 'defaultConfiguration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'defaultConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'defaultConfiguration' 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
 64 |
 65 |     var printer: ProgressBarPrinter
Build complete! (3.15s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Progress",
  "name" : "Progress",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Progress",
      "targets" : [
        "Progress"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Progress",
      "module_type" : "SwiftTarget",
      "name" : "Progress",
      "path" : "Sources",
      "product_memberships" : [
        "Progress"
      ],
      "sources" : [
        "Progress.swift",
        "ProgressElements.swift",
        "Utilities.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.