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 0.4.0 (fed659), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 15:52:15 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/jkandzi/Progress.swift.git
Reference: 0.4.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jkandzi/Progress.swift
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at fed6598 Merge pull request #6 from brodney/update-package-file
Cloned https://github.com/jkandzi/Progress.swift.git
Revision (git rev-parse @):
fed6598735d7982058690acf8f52a0a5fdaeb3e0
SUCCESS checkout https://github.com/jkandzi/Progress.swift.git at 0.4.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": "progress.swift",
      "name": "Progress",
      "url": "https://github.com/jkandzi/Progress.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Progress.swift",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/jkandzi/Progress.swift.git
[9/440] Fetching progress.swift
Fetched https://github.com/jkandzi/Progress.swift.git from cache (0.76s)
Creating working copy for https://github.com/jkandzi/Progress.swift.git
Working copy of https://github.com/jkandzi/Progress.swift.git resolved at 0.4.0 (fed6598)
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/jkandzi/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 ProgressElements.swift
[4/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
[5/6] Compiling Progress Utilities.swift
[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.55s)
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" : "4.0"
}
Done.