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

Swift 6 data race errors: 1

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/alexdremov/PathPresenter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexdremov/PathPresenter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ae353ea last view feaure
Cloned https://github.com/alexdremov/PathPresenter.git
Revision (git rev-parse @):
ae353eae4b18e7961b767b30fa2af76a9fd40eb6
SUCCESS checkout https://github.com/alexdremov/PathPresenter.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/alexdremov/PathPresenter.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/7] Compiling PathPresenter RoutingView.swift
[4/7] Compiling PathPresenter PathTypeView.swift
[5/7] Compiling PathPresenter PathType.swift
[6/7] Compiling PathPresenter Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/PathPresenter/Path.swift:19:24: warning: memberwise initializer for 'PathPresenter.Path.ViewIdentifiable' cannot be both nonisolated and main actor-isolated; this is an error in the Swift 6 language mode
 17 |          Helper structure as `ForEach` works with `Identifiable` instances only
 18 |          */
 19 |         private struct ViewIdentifiable<T: View>: View, Identifiable {
    |                        `- warning: memberwise initializer for 'PathPresenter.Path.ViewIdentifiable' cannot be both nonisolated and main actor-isolated; this is an error in the Swift 6 language mode
 20 |             var id = UUID()
 21 |             let body: T
    |                 `- note: initializer for property 'body' is main actor-isolated
 22 |         }
 23 |
[7/7] Emitting module PathPresenter
/Users/admin/builder/spi-builder-workspace/Sources/PathPresenter/Path.swift:19:24: warning: memberwise initializer for 'PathPresenter.Path.ViewIdentifiable' cannot be both nonisolated and main actor-isolated; this is an error in the Swift 6 language mode
 17 |          Helper structure as `ForEach` works with `Identifiable` instances only
 18 |          */
 19 |         private struct ViewIdentifiable<T: View>: View, Identifiable {
    |                        `- warning: memberwise initializer for 'PathPresenter.Path.ViewIdentifiable' cannot be both nonisolated and main actor-isolated; this is an error in the Swift 6 language mode
 20 |             var id = UUID()
 21 |             let body: T
    |                 `- note: initializer for property 'body' is main actor-isolated
 22 |         }
 23 |
Build complete! (32.72s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "PathPresenter",
  "name" : "PathPresenter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "PathPresenter",
      "targets" : [
        "PathPresenter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "PathPresenterTests",
      "module_type" : "SwiftTarget",
      "name" : "PathPresenterTests",
      "path" : "Tests/PathPresenterTests",
      "sources" : [
        "PathPresenterTests.swift"
      ],
      "target_dependencies" : [
        "PathPresenter"
      ],
      "type" : "test"
    },
    {
      "c99name" : "PathPresenter",
      "module_type" : "SwiftTarget",
      "name" : "PathPresenter",
      "path" : "Sources/PathPresenter",
      "product_memberships" : [
        "PathPresenter"
      ],
      "sources" : [
        "Path.swift",
        "PathType.swift",
        "PathTypeView.swift",
        "RoutingView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.