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 HierarchyResponder, reference main (c7d110), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 11:08:23 UTC.

Swift 6 data race errors: 10

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.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/EmilioPelaez/HierarchyResponder.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/EmilioPelaez/HierarchyResponder
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c7d1103 Update Documentation Workflow (#6)
Cloned https://github.com/EmilioPelaez/HierarchyResponder.git
Revision (git rev-parse @):
c7d110372066cc68df1f8a3e6df6c71c7d4725af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/EmilioPelaez/HierarchyResponder.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/EmilioPelaez/HierarchyResponder.git
https://github.com/EmilioPelaez/HierarchyResponder.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HierarchyResponder",
  "name" : "HierarchyResponder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "HierarchyResponder",
      "targets" : [
        "HierarchyResponder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HierarchyResponder",
      "module_type" : "SwiftTarget",
      "name" : "HierarchyResponder",
      "path" : "Sources/HierarchyResponder",
      "product_memberships" : [
        "HierarchyResponder"
      ],
      "sources" : [
        "Errors/AlertableError.swift",
        "Errors/ErrorEnvironmentValues.swift",
        "Errors/View+AlertableErrors.swift",
        "Errors/View+ErrorHandling.swift",
        "Errors/View+ErrorRecovering.swift",
        "Events/Event.swift",
        "Events/EventButton.swift",
        "Events/EventEnvironmentValues.swift",
        "Events/EventPublisher.swift",
        "Events/View+EventHandling.swift",
        "Events/View+EventPublishing.swift",
        "Events/View+TapGestureEvent.swift",
        "Internal/AlertableErrorHandlerModifier.swift",
        "Internal/EnvironmentValues.swift",
        "Internal/ErrorHandlerViewModifier.swift",
        "Internal/ErrorSafetyModifier.swift",
        "Internal/EventHandlerViewModifier.swift",
        "Internal/EventSafetyModifier.swift",
        "Internal/Preferences.swift",
        "Internal/Publishing/EventPublisherModifier.swift",
        "Internal/Publishing/EventSubscriberModifier.swift",
        "Internal/Publishing/EventSubscriptionRegistrar.swift",
        "Internal/Publishing/PublisherRegistrarModifier.swift",
        "Internal/Publishing/PublishersContainer.swift",
        "Internal/Utilities/View+CompatibleOnChange.swift",
        "Internal/View+Safety.swift",
        "Safety/Safety.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/28] Emitting module HierarchyResponder
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:8:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | struct ErrorClosureEnvironmentKey: EnvironmentKey {
 8 | 	static var defaultValue: ReportError = .init { error in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 		assertionFailure("Unhandled Error \(error)")
10 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:14:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct EventClosureEnvironmentKey: EnvironmentKey {
14 | 	static var defaultValue: TriggerEvent = .init { event in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | 		guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != "1" else {
16 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:23:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct ResponderSafetyLevelKey: EnvironmentKey {
23 | 	static var defaultValue: ResponderSafetyLevel = .default
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:27:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | struct RequiresExplicitRespondersKey: EnvironmentKey {
27 | 	static var defaultValue = true
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:31:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct HandledEventsKey: EnvironmentKey {
31 | 	static var defaultValue: [any Event.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:35:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct HandledErrorsKey: EnvironmentKey {
35 | 	static var defaultValue: [any Error.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:39:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | struct EventSubscriptionRegistrarsKey: EnvironmentKey {
39 | 	static var defaultValue: RegistrarDictionary = [:]
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:12:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | 	}
11 |
12 | 	static var defaultValue: Container = .init(events: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:24:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	static var defaultValue: Container = .init(errors: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Safety/Safety.swift:19:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ResponderSafetyLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |  view modifiers.
10 |  */
11 | public enum ResponderSafetyLevel {
   |             `- note: consider making enum 'ResponderSafetyLevel' conform to the 'Sendable' protocol
12 | 	/// `strict` will trigger a `fatalError` when safety conditions are not met
13 | 	case strict
   :
17 | 	case disabled
18 |
19 | 	public static let `default` = ResponderSafetyLevel.relaxed
   |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ResponderSafetyLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
[4/30] Compiling HierarchyResponder View+Safety.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Safety/Safety.swift:19:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ResponderSafetyLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |  view modifiers.
10 |  */
11 | public enum ResponderSafetyLevel {
   |             `- note: consider making enum 'ResponderSafetyLevel' conform to the 'Sendable' protocol
12 | 	/// `strict` will trigger a `fatalError` when safety conditions are not met
13 | 	case strict
   :
17 | 	case disabled
18 |
19 | 	public static let `default` = ResponderSafetyLevel.relaxed
   |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ResponderSafetyLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
[5/30] Compiling HierarchyResponder Safety.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Safety/Safety.swift:19:20: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ResponderSafetyLevel' may have shared mutable state; this is an error in the Swift 6 language mode
 9 |  view modifiers.
10 |  */
11 | public enum ResponderSafetyLevel {
   |             `- note: consider making enum 'ResponderSafetyLevel' conform to the 'Sendable' protocol
12 | 	/// `strict` will trigger a `fatalError` when safety conditions are not met
13 | 	case strict
   :
17 | 	case disabled
18 |
19 | 	public static let `default` = ResponderSafetyLevel.relaxed
   |                    |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ResponderSafetyLevel' may have shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
[6/30] Compiling HierarchyResponder Preferences.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:12:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | 	}
11 |
12 | 	static var defaultValue: Container = .init(events: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:24:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	static var defaultValue: Container = .init(errors: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
[7/30] Compiling HierarchyResponder EventPublisherModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:12:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | 	}
11 |
12 | 	static var defaultValue: Container = .init(events: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:24:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	static var defaultValue: Container = .init(errors: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
[8/30] Compiling HierarchyResponder EventSubscriberModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:12:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | 	}
11 |
12 | 	static var defaultValue: Container = .init(events: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/Preferences.swift:24:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	static var defaultValue: Container = .init(errors: [])
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | 	static func reduce(value: inout Container, nextValue: () -> Container) {
[9/30] Compiling HierarchyResponder AlertableError.swift
[10/30] Compiling HierarchyResponder ErrorEnvironmentValues.swift
[11/30] Compiling HierarchyResponder View+AlertableErrors.swift
[12/30] Compiling HierarchyResponder AlertableErrorHandlerModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:8:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | struct ErrorClosureEnvironmentKey: EnvironmentKey {
 8 | 	static var defaultValue: ReportError = .init { error in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 		assertionFailure("Unhandled Error \(error)")
10 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:14:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct EventClosureEnvironmentKey: EnvironmentKey {
14 | 	static var defaultValue: TriggerEvent = .init { event in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | 		guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != "1" else {
16 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:23:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct ResponderSafetyLevelKey: EnvironmentKey {
23 | 	static var defaultValue: ResponderSafetyLevel = .default
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:27:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | struct RequiresExplicitRespondersKey: EnvironmentKey {
27 | 	static var defaultValue = true
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:31:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct HandledEventsKey: EnvironmentKey {
31 | 	static var defaultValue: [any Event.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:35:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct HandledErrorsKey: EnvironmentKey {
35 | 	static var defaultValue: [any Error.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:39:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | struct EventSubscriptionRegistrarsKey: EnvironmentKey {
39 | 	static var defaultValue: RegistrarDictionary = [:]
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/ErrorHandlerViewModifier.swift:19:31: warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
17 | 			let task = Task {
18 | 				do {
19 | 					if let event = try await handler(error) {
   |                               `- warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
20 | 						triggerEvent(event)
21 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[13/30] Compiling HierarchyResponder EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:8:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | struct ErrorClosureEnvironmentKey: EnvironmentKey {
 8 | 	static var defaultValue: ReportError = .init { error in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 		assertionFailure("Unhandled Error \(error)")
10 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:14:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct EventClosureEnvironmentKey: EnvironmentKey {
14 | 	static var defaultValue: TriggerEvent = .init { event in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | 		guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != "1" else {
16 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:23:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct ResponderSafetyLevelKey: EnvironmentKey {
23 | 	static var defaultValue: ResponderSafetyLevel = .default
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:27:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | struct RequiresExplicitRespondersKey: EnvironmentKey {
27 | 	static var defaultValue = true
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:31:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct HandledEventsKey: EnvironmentKey {
31 | 	static var defaultValue: [any Event.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:35:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct HandledErrorsKey: EnvironmentKey {
35 | 	static var defaultValue: [any Error.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:39:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | struct EventSubscriptionRegistrarsKey: EnvironmentKey {
39 | 	static var defaultValue: RegistrarDictionary = [:]
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/ErrorHandlerViewModifier.swift:19:31: warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
17 | 			let task = Task {
18 | 				do {
19 | 					if let event = try await handler(error) {
   |                               `- warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
20 | 						triggerEvent(event)
21 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[14/30] Compiling HierarchyResponder ErrorHandlerViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:8:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 6 |
 7 | struct ErrorClosureEnvironmentKey: EnvironmentKey {
 8 | 	static var defaultValue: ReportError = .init { error in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 | 		assertionFailure("Unhandled Error \(error)")
10 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:14:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | struct EventClosureEnvironmentKey: EnvironmentKey {
14 | 	static var defaultValue: TriggerEvent = .init { event in
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | 		guard ProcessInfo.processInfo.environment["XCODE_RUNNING_FOR_PREVIEWS"] != "1" else {
16 | 			return
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:23:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct ResponderSafetyLevelKey: EnvironmentKey {
23 | 	static var defaultValue: ResponderSafetyLevel = .default
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:27:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | struct RequiresExplicitRespondersKey: EnvironmentKey {
27 | 	static var defaultValue = true
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | }
29 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:31:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | struct HandledEventsKey: EnvironmentKey {
31 | 	static var defaultValue: [any Event.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:35:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 |
34 | struct HandledErrorsKey: EnvironmentKey {
35 | 	static var defaultValue: [any Error.Type] = []
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EnvironmentValues.swift:39:13: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | struct EventSubscriptionRegistrarsKey: EnvironmentKey {
39 | 	static var defaultValue: RegistrarDictionary = [:]
   |             |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |             |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/ErrorHandlerViewModifier.swift:19:31: warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
17 | 			let task = Task {
18 | 				do {
19 | 					if let event = try await handler(error) {
   |                               `- warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
20 | 						triggerEvent(event)
21 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[15/30] Compiling HierarchyResponder EventButton.swift
[16/30] Compiling HierarchyResponder EventEnvironmentValues.swift
[17/30] Compiling HierarchyResponder EventPublisher.swift
[18/30] Compiling HierarchyResponder PublishersContainer.swift
[19/30] Compiling HierarchyResponder View+CompatibleOnChange.swift
[20/30] Compiling HierarchyResponder ErrorSafetyModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EventHandlerViewModifier.swift:19:31: warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
17 | 			let task = Task {
18 | 				do {
19 | 					if let event = try await handler(prev) {
   |                               `- warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
20 | 						triggerEvent(event)
21 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[21/30] Compiling HierarchyResponder EventHandlerViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EventHandlerViewModifier.swift:19:31: warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
17 | 			let task = Task {
18 | 				do {
19 | 					if let event = try await handler(prev) {
   |                               `- warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
20 | 						triggerEvent(event)
21 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[22/30] Compiling HierarchyResponder EventSafetyModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Internal/EventHandlerViewModifier.swift:19:31: warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
17 | 			let task = Task {
18 | 				do {
19 | 					if let event = try await handler(prev) {
   |                               `- warning: non-sendable result type '(any Event)?' cannot be sent from nonisolated context in call to async function; this is an error in the Swift 6 language mode
20 | 						triggerEvent(event)
21 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[23/30] Compiling HierarchyResponder EventSubscriptionRegistrar.swift
[24/30] Compiling HierarchyResponder PublisherRegistrarModifier.swift
[25/30] Compiling HierarchyResponder View+ErrorHandling.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:30:17: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 28 | 	func receiveError(_ closure: @escaping (Error) async -> ReceiveErrorResult) -> some View {
 29 | 		let handlerModifier = ErrorHandlerViewModifier {
 30 | 			switch await closure($0) {
    |                 `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 31 | 			case .handled: return nil
 32 | 			case .notHandled: throw $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:51:17: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 49 | 				throw $0
 50 | 			}
 51 | 			switch await closure(received) {
    |                 `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 52 | 			case .handled: return nil
 53 | 			case .notHandled: throw received
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:69:35: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 67 | 	 */
 68 | 	func receiveError<Received: Error>(_ type: Received.Type, closure: @escaping () async -> ReceiveErrorResult) -> some View {
 69 | 		receiveError(type) { _ in await closure() }
    |                                   `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 70 | 	}
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:21:14: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
19 | 	func catchError(_ handler: @escaping (Error) async throws -> Event) -> some View {
20 | 		let handlerModifier = ErrorHandlerViewModifier {
21 | 			try await handler($0)
   |              `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
22 | 		}
23 | 		return modifier(handlerModifier)
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:38:21: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
36 | 				throw $0
37 | 			}
38 | 			return try await handler(error)
   |                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
39 | 		}
40 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:50:37: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
48 | 	 */
49 | 	func catchError<E: Error>(_ type: E.Type, handler: @escaping () async throws -> Event) -> some View {
50 | 		catchError(type) { _ in try await handler() }
   |                                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
51 | 	}
52 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[26/30] Compiling HierarchyResponder View+ErrorRecovering.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:30:17: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 28 | 	func receiveError(_ closure: @escaping (Error) async -> ReceiveErrorResult) -> some View {
 29 | 		let handlerModifier = ErrorHandlerViewModifier {
 30 | 			switch await closure($0) {
    |                 `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 31 | 			case .handled: return nil
 32 | 			case .notHandled: throw $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:51:17: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 49 | 				throw $0
 50 | 			}
 51 | 			switch await closure(received) {
    |                 `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 52 | 			case .handled: return nil
 53 | 			case .notHandled: throw received
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:69:35: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 67 | 	 */
 68 | 	func receiveError<Received: Error>(_ type: Received.Type, closure: @escaping () async -> ReceiveErrorResult) -> some View {
 69 | 		receiveError(type) { _ in await closure() }
    |                                   `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 70 | 	}
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:21:14: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
19 | 	func catchError(_ handler: @escaping (Error) async throws -> Event) -> some View {
20 | 		let handlerModifier = ErrorHandlerViewModifier {
21 | 			try await handler($0)
   |              `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
22 | 		}
23 | 		return modifier(handlerModifier)
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:38:21: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
36 | 				throw $0
37 | 			}
38 | 			return try await handler(error)
   |                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
39 | 		}
40 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:50:37: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
48 | 	 */
49 | 	func catchError<E: Error>(_ type: E.Type, handler: @escaping () async throws -> Event) -> some View {
50 | 		catchError(type) { _ in try await handler() }
   |                                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
51 | 	}
52 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[27/30] Compiling HierarchyResponder Event.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:30:17: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 28 | 	func receiveError(_ closure: @escaping (Error) async -> ReceiveErrorResult) -> some View {
 29 | 		let handlerModifier = ErrorHandlerViewModifier {
 30 | 			switch await closure($0) {
    |                 `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 31 | 			case .handled: return nil
 32 | 			case .notHandled: throw $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:51:17: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 49 | 				throw $0
 50 | 			}
 51 | 			switch await closure(received) {
    |                 `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 52 | 			case .handled: return nil
 53 | 			case .notHandled: throw received
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorHandling.swift:69:35: warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Error` has not been completely handled.
 12 |  */
 13 | public enum ReceiveErrorResult {
    |             `- note: consider making enum 'ReceiveErrorResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 67 | 	 */
 68 | 	func receiveError<Received: Error>(_ type: Received.Type, closure: @escaping () async -> ReceiveErrorResult) -> some View {
 69 | 		receiveError(type) { _ in await closure() }
    |                                   `- warning: non-sendable result type 'ReceiveErrorResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 70 | 	}
 71 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:21:14: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
19 | 	func catchError(_ handler: @escaping (Error) async throws -> Event) -> some View {
20 | 		let handlerModifier = ErrorHandlerViewModifier {
21 | 			try await handler($0)
   |              `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
22 | 		}
23 | 		return modifier(handlerModifier)
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:38:21: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
36 | 				throw $0
37 | 			}
38 | 			return try await handler(error)
   |                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
39 | 		}
40 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Errors/View+ErrorRecovering.swift:50:37: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
48 | 	 */
49 | 	func catchError<E: Error>(_ type: E.Type, handler: @escaping () async throws -> Event) -> some View {
50 | 		catchError(type) { _ in try await handler() }
   |                                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'handler'; this is an error in the Swift 6 language mode
51 | 	}
52 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
[28/30] Compiling HierarchyResponder View+EventHandling.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:30:21: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 28 | 	func receiveEvent(_ closure: @escaping (Event) async throws -> ReceiveEventResult) -> some View {
 29 | 		let handlerModifier = EventHandlerViewModifier {
 30 | 			switch try await closure($0) {
    |                     `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 31 | 			case .handled: return nil
 32 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:49:21: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 47 | 		let handlerModifier = EventHandlerViewModifier {
 48 | 			guard let event = $0 as? Received else { return $0 }
 49 | 			switch try await closure(event) {
    |                     `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 50 | 			case .handled: return nil
 51 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:67:39: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 65 | 	 */
 66 | 	func receiveEvent<Received: Event>(_ type: Received.Type, closure: @escaping () async throws -> ReceiveEventResult) -> some View {
 67 | 		receiveEvent(type) { _ in try await closure() }
    |                                       `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 68 | 	}
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:134:21: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
132 | 		let transformModifier = EventHandlerViewModifier {
133 | 			guard let event = $0 as? Transformable else { return $0 }
134 | 			return try await transform(event)
    |                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
135 | 		}
136 | 		return modifier(transformModifier)
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:148:41: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
146 | 	 */
147 | 	func transformEvent<Transformed: Event>(_ type: Transformed.Type, transform: @escaping () async throws -> Event) -> some View {
148 | 		transformEvent(type) { _ in try await transform() }
    |                                         `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
149 | 	}
150 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:30:21: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 28 | 	func receiveEvent(_ closure: @escaping (Event) async throws -> ReceiveEventResult) -> some View {
 29 | 		let handlerModifier = EventHandlerViewModifier {
 30 | 			switch try await closure($0) {
    |                     |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 31 | 			case .handled: return nil
 32 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:49:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
 47 | 		let handlerModifier = EventHandlerViewModifier {
 48 | 			guard let event = $0 as? Received else { return $0 }
 49 | 			switch try await closure(event) {
    |                     |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated 'event' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 50 | 			case .handled: return nil
 51 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:79:14: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 77 | 	func handleEvent(_ handler: @escaping (Event) async throws -> Void) -> some View {
 78 | 		receiveEvent {
 79 | 			try await handler($0)
    |              |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |              `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 80 | 			return .handled
 81 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:95:14: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 93 | 	func handleEvent<Handled: Event>(_ type: Handled.Type, handler: @escaping (Handled) async throws -> Void) -> some View {
 94 | 		receiveEvent(type) {
 95 | 			try await handler($0)
    |              |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |              `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 96 | 			return .handled
 97 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:134:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
132 | 		let transformModifier = EventHandlerViewModifier {
133 | 			guard let event = $0 as? Transformable else { return $0 }
134 | 			return try await transform(event)
    |                     |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated 'event' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
135 | 		}
136 | 		return modifier(transformModifier)
[29/30] Compiling HierarchyResponder View+EventPublishing.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:30:21: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 28 | 	func receiveEvent(_ closure: @escaping (Event) async throws -> ReceiveEventResult) -> some View {
 29 | 		let handlerModifier = EventHandlerViewModifier {
 30 | 			switch try await closure($0) {
    |                     `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 31 | 			case .handled: return nil
 32 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:49:21: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 47 | 		let handlerModifier = EventHandlerViewModifier {
 48 | 			guard let event = $0 as? Received else { return $0 }
 49 | 			switch try await closure(event) {
    |                     `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 50 | 			case .handled: return nil
 51 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:67:39: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 65 | 	 */
 66 | 	func receiveEvent<Received: Event>(_ type: Received.Type, closure: @escaping () async throws -> ReceiveEventResult) -> some View {
 67 | 		receiveEvent(type) { _ in try await closure() }
    |                                       `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 68 | 	}
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:134:21: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
132 | 		let transformModifier = EventHandlerViewModifier {
133 | 			guard let event = $0 as? Transformable else { return $0 }
134 | 			return try await transform(event)
    |                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
135 | 		}
136 | 		return modifier(transformModifier)
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:148:41: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
146 | 	 */
147 | 	func transformEvent<Transformed: Event>(_ type: Transformed.Type, transform: @escaping () async throws -> Event) -> some View {
148 | 		transformEvent(type) { _ in try await transform() }
    |                                         `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
149 | 	}
150 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:30:21: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 28 | 	func receiveEvent(_ closure: @escaping (Event) async throws -> ReceiveEventResult) -> some View {
 29 | 		let handlerModifier = EventHandlerViewModifier {
 30 | 			switch try await closure($0) {
    |                     |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 31 | 			case .handled: return nil
 32 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:49:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
 47 | 		let handlerModifier = EventHandlerViewModifier {
 48 | 			guard let event = $0 as? Received else { return $0 }
 49 | 			switch try await closure(event) {
    |                     |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated 'event' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 50 | 			case .handled: return nil
 51 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:79:14: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 77 | 	func handleEvent(_ handler: @escaping (Event) async throws -> Void) -> some View {
 78 | 		receiveEvent {
 79 | 			try await handler($0)
    |              |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |              `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 80 | 			return .handled
 81 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:95:14: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 93 | 	func handleEvent<Handled: Event>(_ type: Handled.Type, handler: @escaping (Handled) async throws -> Void) -> some View {
 94 | 		receiveEvent(type) {
 95 | 			try await handler($0)
    |              |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |              `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 96 | 			return .handled
 97 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:134:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
132 | 		let transformModifier = EventHandlerViewModifier {
133 | 			guard let event = $0 as? Transformable else { return $0 }
134 | 			return try await transform(event)
    |                     |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated 'event' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
135 | 		}
136 | 		return modifier(transformModifier)
[30/30] Compiling HierarchyResponder View+TapGestureEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:30:21: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 28 | 	func receiveEvent(_ closure: @escaping (Event) async throws -> ReceiveEventResult) -> some View {
 29 | 		let handlerModifier = EventHandlerViewModifier {
 30 | 			switch try await closure($0) {
    |                     `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 31 | 			case .handled: return nil
 32 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:49:21: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 47 | 		let handlerModifier = EventHandlerViewModifier {
 48 | 			guard let event = $0 as? Received else { return $0 }
 49 | 			switch try await closure(event) {
    |                     `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 50 | 			case .handled: return nil
 51 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:67:39: warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 11 |  the `Event` has not been completely handled.
 12 |  */
 13 | public enum ReceiveEventResult {
    |             `- note: consider making enum 'ReceiveEventResult' conform to the 'Sendable' protocol
 14 | 	case handled
 15 | 	case notHandled
    :
 65 | 	 */
 66 | 	func receiveEvent<Received: Event>(_ type: Received.Type, closure: @escaping () async throws -> ReceiveEventResult) -> some View {
 67 | 		receiveEvent(type) { _ in try await closure() }
    |                                       `- warning: non-sendable result type 'ReceiveEventResult' cannot be sent from nonisolated context in call to parameter 'closure'; this is an error in the Swift 6 language mode
 68 | 	}
 69 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:134:21: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
132 | 		let transformModifier = EventHandlerViewModifier {
133 | 			guard let event = $0 as? Transformable else { return $0 }
134 | 			return try await transform(event)
    |                     `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
135 | 		}
136 | 		return modifier(transformModifier)
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:148:41: warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
146 | 	 */
147 | 	func transformEvent<Transformed: Event>(_ type: Transformed.Type, transform: @escaping () async throws -> Event) -> some View {
148 | 		transformEvent(type) { _ in try await transform() }
    |                                         `- warning: non-sendable result type 'any Event' cannot be sent from nonisolated context in call to parameter 'transform'; this is an error in the Swift 6 language mode
149 | 	}
150 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/Event.swift:9:17: note: protocol 'Event' does not conform to the 'Sendable' protocol
 7 |  sent up the SwiftUI view hierarchy
 8 |  */
 9 | public protocol Event {}
   |                 `- note: protocol 'Event' does not conform to the 'Sendable' protocol
10 |
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:30:21: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 28 | 	func receiveEvent(_ closure: @escaping (Event) async throws -> ReceiveEventResult) -> some View {
 29 | 		let handlerModifier = EventHandlerViewModifier {
 30 | 			switch try await closure($0) {
    |                     |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 31 | 			case .handled: return nil
 32 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:49:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
 47 | 		let handlerModifier = EventHandlerViewModifier {
 48 | 			guard let event = $0 as? Received else { return $0 }
 49 | 			switch try await closure(event) {
    |                     |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated 'event' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 50 | 			case .handled: return nil
 51 | 			case .notHandled: return $0
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:79:14: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 77 | 	func handleEvent(_ handler: @escaping (Event) async throws -> Void) -> some View {
 78 | 		receiveEvent {
 79 | 			try await handler($0)
    |              |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |              `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 80 | 			return .handled
 81 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:95:14: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 93 | 	func handleEvent<Handled: Event>(_ type: Handled.Type, handler: @escaping (Handled) async throws -> Void) -> some View {
 94 | 		receiveEvent(type) {
 95 | 			try await handler($0)
    |              |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |              `- note: sending main actor-isolated '$0' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
 96 | 			return .handled
 97 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/HierarchyResponder/Events/View+EventHandling.swift:134:21: warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
132 | 		let transformModifier = EventHandlerViewModifier {
133 | 			guard let event = $0 as? Transformable else { return $0 }
134 | 			return try await transform(event)
    |                     |- warning: sending 'event' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending main actor-isolated 'event' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
135 | 		}
136 | 		return modifier(transformModifier)
Build complete! (11.36s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "HierarchyResponder",
  "name" : "HierarchyResponder",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "HierarchyResponder",
      "targets" : [
        "HierarchyResponder"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HierarchyResponder",
      "module_type" : "SwiftTarget",
      "name" : "HierarchyResponder",
      "path" : "Sources/HierarchyResponder",
      "product_memberships" : [
        "HierarchyResponder"
      ],
      "sources" : [
        "Errors/AlertableError.swift",
        "Errors/ErrorEnvironmentValues.swift",
        "Errors/View+AlertableErrors.swift",
        "Errors/View+ErrorHandling.swift",
        "Errors/View+ErrorRecovering.swift",
        "Events/Event.swift",
        "Events/EventButton.swift",
        "Events/EventEnvironmentValues.swift",
        "Events/EventPublisher.swift",
        "Events/View+EventHandling.swift",
        "Events/View+EventPublishing.swift",
        "Events/View+TapGestureEvent.swift",
        "Internal/AlertableErrorHandlerModifier.swift",
        "Internal/EnvironmentValues.swift",
        "Internal/ErrorHandlerViewModifier.swift",
        "Internal/ErrorSafetyModifier.swift",
        "Internal/EventHandlerViewModifier.swift",
        "Internal/EventSafetyModifier.swift",
        "Internal/Preferences.swift",
        "Internal/Publishing/EventPublisherModifier.swift",
        "Internal/Publishing/EventSubscriberModifier.swift",
        "Internal/Publishing/EventSubscriptionRegistrar.swift",
        "Internal/Publishing/PublisherRegistrarModifier.swift",
        "Internal/Publishing/PublishersContainer.swift",
        "Internal/Utilities/View+CompatibleOnChange.swift",
        "Internal/View+Safety.swift",
        "Safety/Safety.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.