This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 ProgressX with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nakkht/progressx.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nakkht/progressx
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at ec467c0 Bumped swift tools version to 5.6 on main Package.swift
Cloned https://github.com/nakkht/progressx.git
Revision (git rev-parse @):
ec467c0c5ca6dbad977e7f4438a32433d4fc5a7c
SUCCESS checkout https://github.com/nakkht/progressx.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/nakkht/progressx.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.txt
[3/10] Compiling ProgressX ProgressArcView.swift
[4/10] Compiling ProgressX Milestone.swift
[5/10] Compiling ProgressX MilestonCircleView.swift
[6/10] Compiling ProgressX Configuration.swift
[7/10] Emitting module ProgressX
[8/10] Compiling ProgressX ProgressXViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/ProgressX/ProgressXViewModel.swift:44:33: warning: capture of 'milestone' with non-sendable type 'Milestone' in a `@Sendable` closure; this is an error in the Swift 6 language mode
42 |         milestones.forEach { (milestone) in
43 |             let timer = Timer(fire: milestone.deadline, interval: 0, repeats: false) { (timer) in
44 |                 var milestone = milestone
   |                                 `- warning: capture of 'milestone' with non-sendable type 'Milestone' in a `@Sendable` closure; this is an error in the Swift 6 language mode
45 |                 milestone.hasCompleted = true
46 |                 if let index = self.milestones.firstIndex(where: { $0.id == milestone.id }) {
/Users/admin/builder/spi-builder-workspace/Sources/ProgressX/Milestone/Milestone.swift:19:15: note: consider making struct 'Milestone' conform to the 'Sendable' protocol
17 | import Foundation
18 |
19 | public struct Milestone: Identifiable {
   |               `- note: consider making struct 'Milestone' conform to the 'Sendable' protocol
20 |
21 |     public var id = UUID()
/Users/admin/builder/spi-builder-workspace/Sources/ProgressX/ProgressXViewModel.swift:46:32: warning: capture of 'self' with non-sendable type 'ProgressXViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
18 | import Combine
19 |
20 | class ProgressXViewModel: ObservableObject {
   |       `- note: class 'ProgressXViewModel' does not conform to the 'Sendable' protocol
21 |
22 |     @Published var milestones: [Milestone]
   :
44 |                 var milestone = milestone
45 |                 milestone.hasCompleted = true
46 |                 if let index = self.milestones.firstIndex(where: { $0.id == milestone.id }) {
   |                                `- warning: capture of 'self' with non-sendable type 'ProgressXViewModel' in a `@Sendable` closure; this is an error in the Swift 6 language mode
47 |                     self.milestones[index] = milestone
48 |                 }
[9/10] Compiling ProgressX ColorTheme.swift
[10/10] Compiling ProgressX ProgressXView.swift
Build complete! (33.87s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ProgressX",
  "name" : "ProgressX",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "ProgressX",
      "targets" : [
        "ProgressX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ProgressXTests",
      "module_type" : "SwiftTarget",
      "name" : "ProgressXTests",
      "path" : "Tests/ProgressXTests",
      "sources" : [
        "ColorThemeTests.swift",
        "ConfigurationTests.swift",
        "Milestone/MilestoneTests.swift"
      ],
      "target_dependencies" : [
        "ProgressX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProgressX",
      "module_type" : "SwiftTarget",
      "name" : "ProgressX",
      "path" : "Sources/ProgressX",
      "product_memberships" : [
        "ProgressX"
      ],
      "sources" : [
        "ColorTheme.swift",
        "Configuration.swift",
        "Milestone/MilestonCircleView.swift",
        "Milestone/Milestone.swift",
        "ProgressArcView.swift",
        "ProgressXView.swift",
        "ProgressXViewModel.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.