The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of FlowStacks, reference 0.10.12 (7b6438), with Swift 6.1 for macOS (SPM) on 11 Oct 2025 06:50:16 UTC.

Swift 6 data race errors: 2

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnpatrickmorgan/FlowStacks.git
Reference: 0.10.12
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/johnpatrickmorgan/FlowStacks
 * tag               0.10.12    -> FETCH_HEAD
HEAD is now at 7b6438f Improves assertion message
Cloned https://github.com/johnpatrickmorgan/FlowStacks.git
Revision (git rev-parse @):
7b6438fef0d403c71aadf7ae41565bf4647e4af4
SUCCESS checkout https://github.com/johnpatrickmorgan/FlowStacks.git at 0.10.12
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/johnpatrickmorgan/FlowStacks.git
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"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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-2F0A5646E1D333AE.txt
[3/33] Emitting module FlowStacks
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/Convenience methods/Array+convenienceMethods.swift:4:27: warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | // TCACoordinators sets this to true.
  4 | @_spi(Private) public var isWithinTCACoordinators = false
    |                           |- warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'isWithinTCACoordinators' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make var 'isWithinTCACoordinators' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 | private var rootIndex: Int { isWithinTCACoordinators ? 0 : -1 }
  6 |
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/DestinationBuilderView.swift:16:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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 |   }
[4/36] Compiling FlowStacks Route.swift
[5/36] Compiling FlowStacks RouteProtocol.swift
[6/36] Compiling FlowStacks RouteStyle.swift
[7/36] Compiling FlowStacks View+push.swift
[8/36] Compiling FlowStacks View+sheet.swift
[9/36] Compiling FlowStacks View+show.swift
[10/36] Compiling FlowStacks View+cover.swift
[11/36] Compiling FlowStacks View+flowDestination.swift
[12/36] Compiling FlowStacks View+onFirstAppear.swift
[13/36] Compiling FlowStacks UnchangedViewModifier.swift
[14/36] Compiling FlowStacks Unobserved.swift
[15/36] Compiling FlowStacks View+UseNavigationStack.swift
[16/36] Compiling FlowStacks EnvironmentValues+keys.swift
[17/36] Compiling FlowStacks FlowLink.swift
[18/36] Compiling FlowStacks FlowNavigator.swift
[19/36] Compiling FlowStacks FlowPath+calculateSteps.swift
[20/36] Compiling FlowStacks ConditionalViewBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/Convenience methods/Array+convenienceMethods.swift:4:27: warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | // TCACoordinators sets this to true.
  4 | @_spi(Private) public var isWithinTCACoordinators = false
    |                           |- warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'isWithinTCACoordinators' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make var 'isWithinTCACoordinators' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 | private var rootIndex: Int { isWithinTCACoordinators ? 0 : -1 }
  6 |
[21/36] Compiling FlowStacks Array+convenienceMethods.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/Convenience methods/Array+convenienceMethods.swift:4:27: warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | // TCACoordinators sets this to true.
  4 | @_spi(Private) public var isWithinTCACoordinators = false
    |                           |- warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'isWithinTCACoordinators' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make var 'isWithinTCACoordinators' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 | private var rootIndex: Int { isWithinTCACoordinators ? 0 : -1 }
  6 |
[22/36] Compiling FlowStacks FlowNavigator+convenienceMethods.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/Convenience methods/Array+convenienceMethods.swift:4:27: warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | // TCACoordinators sets this to true.
  4 | @_spi(Private) public var isWithinTCACoordinators = false
    |                           |- warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'isWithinTCACoordinators' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make var 'isWithinTCACoordinators' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 | private var rootIndex: Int { isWithinTCACoordinators ? 0 : -1 }
  6 |
[23/36] Compiling FlowStacks FlowPath+convenienceMethods.swift
/Users/admin/builder/spi-builder-workspace/Sources/FlowStacks/Convenience methods/Array+convenienceMethods.swift:4:27: warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  2 |
  3 | // TCACoordinators sets this to true.
  4 | @_spi(Private) public var isWithinTCACoordinators = false
    |                           |- warning: var 'isWithinTCACoordinators' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: convert 'isWithinTCACoordinators' to a 'let' constant to make 'Sendable' shared state immutable
    |                           |- note: add '@MainActor' to make var 'isWithinTCACoordinators' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  5 | private var rootIndex: Int { isWithinTCACoordinators ? 0 : -1 }
  6 |
[24/36] Compiling FlowStacks FlowPath.CodableRepresentation.swift
[25/36] Compiling FlowStacks FlowPath.swift
[26/36] Compiling FlowStacks FlowStack.swift
[27/36] Compiling FlowStacks Router.swift
[28/36] Compiling FlowStacks RoutesHolder.swift
[29/36] Compiling FlowStacks ScreenModifier.swift
[30/36] 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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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 |   }
[31/36] 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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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 |   }
[32/36] 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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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 |   }
[33/36] 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 requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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 |   }
[34/36] Compiling FlowStacks LocalDestinationBuilderModifier.swift
[35/36] Compiling FlowStacks Node.swift
[36/36] Compiling FlowStacks NonReactiveState.swift
Build complete! (10.09s)
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"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.