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 FlowStacks, reference main (0c2d1d), with Swift 6.0 for macOS (SPM) on 6 Nov 2024 13:48:55 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/johnpatrickmorgan/FlowStacks.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnpatrickmorgan/FlowStacks
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 0c2d1dc Ensures path.routes is not updated unnecessarily (#82)
Cloned https://github.com/johnpatrickmorgan/FlowStacks.git
Revision (git rev-parse @):
0c2d1dcabcaf1a6b725f4a9d01796308d9b03db1
SUCCESS checkout https://github.com/johnpatrickmorgan/FlowStacks.git at main
========================================
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": "flowstacks",
      "name": "FlowStacks",
      "url": "https://github.com/johnpatrickmorgan/FlowStacks.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FlowStacks",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/johnpatrickmorgan/FlowStacks.git
[1/1597] Fetching flowstacks
Fetched https://github.com/johnpatrickmorgan/FlowStacks.git from cache (0.89s)
Creating working copy for https://github.com/johnpatrickmorgan/FlowStacks.git
Working copy of https://github.com/johnpatrickmorgan/FlowStacks.git resolved at main (0c2d1dc)
warning: '.resolve-product-dependencies': dependency 'flowstacks' 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/johnpatrickmorgan/FlowStacks.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/37] Emitting module FlowStacks
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/DestinationBuilderView.swift:16:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | }
14 |
15 | struct DataDependentView<Content: View>: View, Equatable {
   |                                                `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
16 |   static func == (lhs: DataDependentView, rhs: DataDependentView) -> Bool {
   |               |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |               `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
17 |     return lhs.data.wrappedValue == rhs.data.wrappedValue
18 |   }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: '==' declared here
3 | }
[4/40] Compiling FlowStacks Binding+withDelaysIfUnsupported.swift
[5/40] Compiling FlowStacks Navigator+withDelaysIfUnsupported.swift
[6/40] Compiling FlowStacks ObservableObject+withDelaysIfUnsupported.swift
[7/40] Compiling FlowStacks EnvironmentValues+keys.swift
[8/40] Compiling FlowStacks FlowLink.swift
[9/40] Compiling FlowStacks FlowNavigator.swift
[10/40] Compiling FlowStacks FlowPath+calculateSteps.swift
[11/40] Compiling FlowStacks Node.swift
[12/40] Compiling FlowStacks NonReactiveState.swift
[13/40] Compiling FlowStacks Route.swift
[14/40] Compiling FlowStacks RouteProtocol.swift
[15/40] Compiling FlowStacks FlowPath.CodableRepresentation.swift
[16/40] Compiling FlowStacks FlowPath.swift
[17/40] Compiling FlowStacks FlowStack.swift
[18/40] Compiling FlowStacks LocalDestinationBuilderModifier.swift
[19/40] Compiling FlowStacks ConditionalViewBuilder.swift
[20/40] Compiling FlowStacks Array+convenienceMethods.swift
[21/40] Compiling FlowStacks FlowNavigator+convenienceMethods.swift
[22/40] Compiling FlowStacks FlowPath+convenienceMethods.swift
[23/40] Compiling FlowStacks View+flowDestination.swift
[24/40] Compiling FlowStacks View+onFirstAppear.swift
[25/40] Compiling FlowStacks View+push.swift
[26/40] Compiling FlowStacks RouteStyle.swift
[27/40] Compiling FlowStacks Router.swift
[28/40] Compiling FlowStacks RoutesHolder.swift
[29/40] Compiling FlowStacks ScreenModifier.swift
[30/40] Compiling FlowStacks UnchangedViewModifier.swift
[31/40] Compiling FlowStacks Unobserved.swift
[32/40] Compiling FlowStacks View+UseNavigationStack.swift
[33/40] Compiling FlowStacks View+cover.swift
[34/40] Compiling FlowStacks DestinationBuilderHolder.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/DestinationBuilderView.swift:16:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | }
14 |
15 | struct DataDependentView<Content: View>: View, Equatable {
   |                                                `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
16 |   static func == (lhs: DataDependentView, rhs: DataDependentView) -> Bool {
   |               |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |               `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
17 |     return lhs.data.wrappedValue == rhs.data.wrappedValue
18 |   }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: '==' declared here
3 | }
[35/40] Compiling FlowStacks DestinationBuilderModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/DestinationBuilderView.swift:16:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | }
14 |
15 | struct DataDependentView<Content: View>: View, Equatable {
   |                                                `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
16 |   static func == (lhs: DataDependentView, rhs: DataDependentView) -> Bool {
   |               |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |               `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
17 |     return lhs.data.wrappedValue == rhs.data.wrappedValue
18 |   }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: '==' declared here
3 | }
[36/40] Compiling FlowStacks DestinationBuilderView.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/DestinationBuilderView.swift:16:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | }
14 |
15 | struct DataDependentView<Content: View>: View, Equatable {
   |                                                `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
16 |   static func == (lhs: DataDependentView, rhs: DataDependentView) -> Bool {
   |               |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |               `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
17 |     return lhs.data.wrappedValue == rhs.data.wrappedValue
18 |   }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: '==' declared here
3 | }
[37/40] Compiling FlowStacks EmbedModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/DestinationBuilderView.swift:16:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
13 | }
14 |
15 | struct DataDependentView<Content: View>: View, Equatable {
   |                                                `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
16 |   static func == (lhs: DataDependentView, rhs: DataDependentView) -> Bool {
   |               |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |               `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
17 |     return lhs.data.wrappedValue == rhs.data.wrappedValue
18 |   }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: '==' declared here
3 | }
[38/40] Compiling FlowStacks View+sheet.swift
[39/40] Compiling FlowStacks View+show.swift
[40/40] Compiling FlowStacks apply.swift
Build complete! (37.26s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FlowStacks",
  "name" : "FlowStacks",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "FlowStacks",
      "targets" : [
        "FlowStacks"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FlowStacksTests",
      "module_type" : "SwiftTarget",
      "name" : "FlowStacksTests",
      "path" : "Tests/FlowStacksTests",
      "sources" : [
        "CalculateStepsTests.swift",
        "ConvenienceMethodsTests.swift"
      ],
      "target_dependencies" : [
        "FlowStacks"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FlowStacks",
      "module_type" : "SwiftTarget",
      "name" : "FlowStacks",
      "path" : "Sources/FlowStacks",
      "product_memberships" : [
        "FlowStacks"
      ],
      "sources" : [
        "ConditionalViewBuilder.swift",
        "Convenience methods/Array+convenienceMethods.swift",
        "Convenience methods/FlowNavigator+convenienceMethods.swift",
        "Convenience methods/FlowPath+convenienceMethods.swift",
        "DestinationBuilderHolder.swift",
        "DestinationBuilderModifier.swift",
        "DestinationBuilderView.swift",
        "EmbedModifier.swift",
        "EnvironmentValues+keys.swift",
        "FlowLink.swift",
        "FlowNavigator.swift",
        "FlowPath+calculateSteps.swift",
        "FlowPath.CodableRepresentation.swift",
        "FlowPath.swift",
        "FlowStack.swift",
        "LocalDestinationBuilderModifier.swift",
        "Node.swift",
        "NonReactiveState.swift",
        "Route.swift",
        "RouteProtocol.swift",
        "RouteStyle.swift",
        "Router.swift",
        "RoutesHolder.swift",
        "ScreenModifier.swift",
        "UnchangedViewModifier.swift",
        "Unobserved.swift",
        "View+UseNavigationStack.swift",
        "View+cover.swift",
        "View+flowDestination.swift",
        "View+onFirstAppear.swift",
        "View+push.swift",
        "View+sheet.swift",
        "View+show.swift",
        "apply.swift",
        "withDelaysIfUnsupported/Binding+withDelaysIfUnsupported.swift",
        "withDelaysIfUnsupported/Navigator+withDelaysIfUnsupported.swift",
        "withDelaysIfUnsupported/ObservableObject+withDelaysIfUnsupported.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.