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 (7a0464), with Swift 6.0 for macOS (SPM) on 2 Dec 2024 02:20:33 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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
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 7a04644 Updates podspec
Cloned https://github.com/johnpatrickmorgan/FlowStacks.git
Revision (git rev-parse @):
7a04644ddac4fed79affb694670441723a6c8764
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/1600] 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 (7a04644)
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
{
  "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"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
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 FlowPath.CodableRepresentation.swift
[5/40] Compiling FlowStacks FlowPath.swift
[6/40] Compiling FlowStacks FlowStack.swift
[7/40] Compiling FlowStacks LocalDestinationBuilderModifier.swift
[8/40] Compiling FlowStacks Binding+withDelaysIfUnsupported.swift
[9/40] Compiling FlowStacks Navigator+withDelaysIfUnsupported.swift
[10/40] Compiling FlowStacks ObservableObject+withDelaysIfUnsupported.swift
[11/40] Compiling FlowStacks View+flowDestination.swift
[12/40] Compiling FlowStacks View+onFirstAppear.swift
[13/40] Compiling FlowStacks View+push.swift
[14/40] Compiling FlowStacks EnvironmentValues+keys.swift
[15/40] Compiling FlowStacks FlowLink.swift
[16/40] Compiling FlowStacks FlowNavigator.swift
[17/40] Compiling FlowStacks FlowPath+calculateSteps.swift
[18/40] Compiling FlowStacks ConditionalViewBuilder.swift
[19/40] Compiling FlowStacks Array+convenienceMethods.swift
[20/40] Compiling FlowStacks FlowNavigator+convenienceMethods.swift
[21/40] Compiling FlowStacks FlowPath+convenienceMethods.swift
[22/40] Compiling FlowStacks RouteStyle.swift
[23/40] Compiling FlowStacks Router.swift
[24/40] Compiling FlowStacks RoutesHolder.swift
[25/40] Compiling FlowStacks ScreenModifier.swift
[26/40] Compiling FlowStacks UnchangedViewModifier.swift
[27/40] Compiling FlowStacks Unobserved.swift
[28/40] Compiling FlowStacks View+UseNavigationStack.swift
[29/40] Compiling FlowStacks View+cover.swift
[30/40] Compiling FlowStacks View+sheet.swift
[31/40] Compiling FlowStacks View+show.swift
[32/40] Compiling FlowStacks apply.swift
[33/40] Compiling FlowStacks Node.swift
[34/40] Compiling FlowStacks NonReactiveState.swift
[35/40] Compiling FlowStacks Route.swift
[36/40] Compiling FlowStacks RouteProtocol.swift
[37/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 | }
[38/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 | }
[39/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 | }
[40/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 | }
Build complete! (32.72s)
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.