The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SwiftUI-UDF, reference 1.4.8-alpha.1 (3b7deb), with Swift 6.0 for macOS (SPM) on 9 Apr 2025 17:41:51 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.2.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

243 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:102:24: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
102 |                 switch self.wrappedValue {
    |                        `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
103 |                 case .some: true
104 |                 case .none: false
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:109:21: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
    :
107 |             set: {
108 |                 if !$0 {
109 |                     self.wrappedValue = nil
    |                     `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
110 |                 }
111 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/GlobalValue.swift:17:24: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | enum GlobalValue {
16 |     /// A dictionary to store singletons using their type's name as the key.
17 |     private static var values = [String: AnyObject]()
   |                        |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// Retrieves a stored singleton for the specified type.
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/Publishers+AsyncState.swift:27:48: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 |         Deferred {
26 |             Future { promise in
27 |                 Task.detached(priority: .high) {
   |                                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 |                     let immutableState = await store.state
29 |                     promise(.success(immutableState))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
30 |                 }
31 |             }
[231/244] Compiling UDF File.swift
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/Publishers+AsyncState.swift:28:54: warning: non-sendable type 'State' in implicitly asynchronous access to actor-isolated property 'state' cannot cross actor boundary; this is an error in the Swift 6 language mode
22 |     /// - Parameter store: An instance conforming to `Store<State>` from which the state is retrieved.
23 |     /// - Returns: An `AnyPublisher` that emits the isolated state of the store once.
24 |     static func IsolatedState<State: AppReducer>(from store: any Store<State>) -> AnyPublisher<State, Never> {
   |                               `- note: consider making generic parameter 'State' conform to the 'Sendable' protocol
25 |         Deferred {
26 |             Future { promise in
27 |                 Task.detached(priority: .high) {
28 |                     let immutableState = await store.state
   |                                                      `- warning: non-sendable type 'State' in implicitly asynchronous access to actor-isolated property 'state' cannot cross actor boundary; this is an error in the Swift 6 language mode
29 |                     promise(.success(immutableState))
30 |                 }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:222:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
220 |     func willSet(_ willSet: @escaping ((newValue: Value, oldValue: Value)) -> Void) -> Binding<Value> {
221 |         Binding(
222 |             get: { self.wrappedValue },
    |                    `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:224:17: warning: capture of 'willSet' with non-sendable type '((newValue: Value, oldValue: Value)) -> Void' in a `@Sendable` closure
222 |             get: { self.wrappedValue },
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
    |                 |- warning: capture of 'willSet' with non-sendable type '((newValue: Value, oldValue: Value)) -> Void' in a `@Sendable` closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |                 self.wrappedValue = newValue
226 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:224:36: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
222 |             get: { self.wrappedValue },
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
    |                                    `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
225 |                 self.wrappedValue = newValue
226 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:234:24: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
229 |
230 |     /// Returns a boolean binding indicating whether the optional value is present.
231 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
232 |         Binding<Bool>(
233 |             get: {
234 |                 switch self.wrappedValue {
    |                        `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
235 |                 case .some: true
236 |                 case .none: false
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:241:21: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
229 |
230 |     /// Returns a boolean binding indicating whether the optional value is present.
231 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
232 |         Binding<Bool>(
233 |             get: {
    :
239 |             set: {
240 |                 if !$0 {
241 |                     self.wrappedValue = nil
    |                     `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
242 |                 }
243 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:102:24: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
102 |                 switch self.wrappedValue {
    |                        `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
103 |                 case .some: true
104 |                 case .none: false
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:109:21: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
    :
107 |             set: {
108 |                 if !$0 {
109 |                     self.wrappedValue = nil
    |                     `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
110 |                 }
111 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/GlobalValue.swift:17:24: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | enum GlobalValue {
16 |     /// A dictionary to store singletons using their type's name as the key.
17 |     private static var values = [String: AnyObject]()
   |                        |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// Retrieves a stored singleton for the specified type.
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/Publishers+AsyncState.swift:27:48: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 |         Deferred {
26 |             Future { promise in
27 |                 Task.detached(priority: .high) {
   |                                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 |                     let immutableState = await store.state
29 |                     promise(.success(immutableState))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
30 |                 }
31 |             }
[232/244] Compiling UDF FileFunctionLine.swift
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/Publishers+AsyncState.swift:28:54: warning: non-sendable type 'State' in implicitly asynchronous access to actor-isolated property 'state' cannot cross actor boundary; this is an error in the Swift 6 language mode
22 |     /// - Parameter store: An instance conforming to `Store<State>` from which the state is retrieved.
23 |     /// - Returns: An `AnyPublisher` that emits the isolated state of the store once.
24 |     static func IsolatedState<State: AppReducer>(from store: any Store<State>) -> AnyPublisher<State, Never> {
   |                               `- note: consider making generic parameter 'State' conform to the 'Sendable' protocol
25 |         Deferred {
26 |             Future { promise in
27 |                 Task.detached(priority: .high) {
28 |                     let immutableState = await store.state
   |                                                      `- warning: non-sendable type 'State' in implicitly asynchronous access to actor-isolated property 'state' cannot cross actor boundary; this is an error in the Swift 6 language mode
29 |                     promise(.success(immutableState))
30 |                 }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:222:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
220 |     func willSet(_ willSet: @escaping ((newValue: Value, oldValue: Value)) -> Void) -> Binding<Value> {
221 |         Binding(
222 |             get: { self.wrappedValue },
    |                    `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:224:17: warning: capture of 'willSet' with non-sendable type '((newValue: Value, oldValue: Value)) -> Void' in a `@Sendable` closure
222 |             get: { self.wrappedValue },
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
    |                 |- warning: capture of 'willSet' with non-sendable type '((newValue: Value, oldValue: Value)) -> Void' in a `@Sendable` closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |                 self.wrappedValue = newValue
226 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:224:36: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
222 |             get: { self.wrappedValue },
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
    |                                    `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
225 |                 self.wrappedValue = newValue
226 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:234:24: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
229 |
230 |     /// Returns a boolean binding indicating whether the optional value is present.
231 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
232 |         Binding<Bool>(
233 |             get: {
234 |                 switch self.wrappedValue {
    |                        `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
235 |                 case .some: true
236 |                 case .none: false
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:241:21: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
229 |
230 |     /// Returns a boolean binding indicating whether the optional value is present.
231 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
232 |         Binding<Bool>(
233 |             get: {
    :
239 |             set: {
240 |                 if !$0 {
241 |                     self.wrappedValue = nil
    |                     `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
242 |                 }
243 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:102:24: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
102 |                 switch self.wrappedValue {
    |                        `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
103 |                 case .some: true
104 |                 case .none: false
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:109:21: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
    :
107 |             set: {
108 |                 if !$0 {
109 |                     self.wrappedValue = nil
    |                     `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
110 |                 }
111 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/GlobalValue.swift:17:24: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | enum GlobalValue {
16 |     /// A dictionary to store singletons using their type's name as the key.
17 |     private static var values = [String: AnyObject]()
   |                        |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// Retrieves a stored singleton for the specified type.
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/Publishers+AsyncState.swift:27:48: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 |         Deferred {
26 |             Future { promise in
27 |                 Task.detached(priority: .high) {
   |                                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 |                     let immutableState = await store.state
29 |                     promise(.success(immutableState))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
30 |                 }
31 |             }
[233/244] Compiling UDF GlobalValue.swift
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/Publishers+AsyncState.swift:28:54: warning: non-sendable type 'State' in implicitly asynchronous access to actor-isolated property 'state' cannot cross actor boundary; this is an error in the Swift 6 language mode
22 |     /// - Parameter store: An instance conforming to `Store<State>` from which the state is retrieved.
23 |     /// - Returns: An `AnyPublisher` that emits the isolated state of the store once.
24 |     static func IsolatedState<State: AppReducer>(from store: any Store<State>) -> AnyPublisher<State, Never> {
   |                               `- note: consider making generic parameter 'State' conform to the 'Sendable' protocol
25 |         Deferred {
26 |             Future { promise in
27 |                 Task.detached(priority: .high) {
28 |                     let immutableState = await store.state
   |                                                      `- warning: non-sendable type 'State' in implicitly asynchronous access to actor-isolated property 'state' cannot cross actor boundary; this is an error in the Swift 6 language mode
29 |                     promise(.success(immutableState))
30 |                 }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:222:20: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
220 |     func willSet(_ willSet: @escaping ((newValue: Value, oldValue: Value)) -> Void) -> Binding<Value> {
221 |         Binding(
222 |             get: { self.wrappedValue },
    |                    `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:224:17: warning: capture of 'willSet' with non-sendable type '((newValue: Value, oldValue: Value)) -> Void' in a `@Sendable` closure
222 |             get: { self.wrappedValue },
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
    |                 |- warning: capture of 'willSet' with non-sendable type '((newValue: Value, oldValue: Value)) -> Void' in a `@Sendable` closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
225 |                 self.wrappedValue = newValue
226 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:224:36: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
222 |             get: { self.wrappedValue },
223 |             set: { newValue in
224 |                 willSet((newValue, self.wrappedValue))
    |                                    `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a `@Sendable` closure
225 |                 self.wrappedValue = newValue
226 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:234:24: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
229 |
230 |     /// Returns a boolean binding indicating whether the optional value is present.
231 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
232 |         Binding<Bool>(
233 |             get: {
234 |                 switch self.wrappedValue {
    |                        `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
235 |                 case .some: true
236 |                 case .none: false
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+AlertStatus.swift:241:21: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
229 |
230 |     /// Returns a boolean binding indicating whether the optional value is present.
231 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
232 |         Binding<Bool>(
233 |             get: {
    :
239 |             set: {
240 |                 if !$0 {
241 |                     self.wrappedValue = nil
    |                     `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
242 |                 }
243 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:102:24: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
102 |                 switch self.wrappedValue {
    |                        `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
103 |                 case .some: true
104 |                 case .none: false
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/View+NavigationDestination.swift:109:21: warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
 97 |     ///
 98 |     /// - Returns: A boolean binding that is `true` if the wrapped value is not `nil`, and `false` otherwise.
 99 |     func isPresented<T>() -> Binding<Bool> where Value == T? {
    |                      `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
100 |         Binding<Bool>(
101 |             get: {
    :
107 |             set: {
108 |                 if !$0 {
109 |                     self.wrappedValue = nil
    |                     `- warning: capture of 'self' with non-sendable type 'Binding<Optional<T>>' in a `@Sendable` closure
110 |                 }
111 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Common/GlobalValue.swift:17:24: warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
15 | enum GlobalValue {
16 |     /// A dictionary to store singletons using their type's name as the key.
17 |     private static var values = [String: AnyObject]()
   |                        |- warning: static property 'values' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                        |- note: convert 'values' to a 'let' constant to make 'Sendable' shared state immutable
   |                        |- note: annotate 'values' with '@MainActor' if property should only be accessed from the main actor
   |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 |     /// Retrieves a stored singleton for the specified type.
/Users/admin/builder/spi-builder-workspace/UDF/Common/Extensions/Publishers+AsyncState.swift:27:48: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
25 |         Deferred {
26 |             Future { promise in
27 |                 Task.detached(priority: .high) {
   |                                                `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
28 |                     let immutableState = await store.state
29 |                     promise(.success(immutableState))
   |                     `- note: closure captures 'promise' which is accessible to code in the current task
30 |                 }
31 |             }
[234/244] Compiling UDF Action.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[235/244] Compiling UDF ActionGroup.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[236/244] Compiling UDF ActionGroupBuilder.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[237/244] Compiling UDF Actions.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[238/244] Compiling UDF InternalAction.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[239/244] Compiling UDF _AnyBindableAction.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[240/244] Compiling UDF DelayEffect.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[241/244] Compiling UDF FilterEffect.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[242/244] Compiling UDF LocationAccessEffect.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[243/244] Compiling UDF LocationMonitoringEffect.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[244/244] Compiling UDF EnvironmentStore.swift
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:128:20: warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
126 |
127 |         /// A unique identifier for the error.
128 |         public var id: AnyHashable
    |                    `- warning: stored property 'id' of 'Sendable'-conforming struct 'Error' has non-sendable type 'AnyHashable'; this is an error in the Swift 6 language mode
129 |
130 |         /// An integer representing the error code.
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
  |                       `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 |     public init<H>(_ base: H) where H : Hashable
3 |     public var base: Any { get }
/Users/admin/builder/spi-builder-workspace/UDF/Store/Action/Actions.swift:134:20: warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
132 |
133 |         /// Additional metadata related to the error.
134 |         public var meta: [String: Any]?
    |                    `- warning: stored property 'meta' of 'Sendable'-conforming struct 'Error' has non-sendable type '[String : Any]?'; this is an error in the Swift 6 language mode
135 |
136 |         /// Initializes a new `Error` action.
/Users/admin/builder/spi-builder-workspace/UDF/Store/Effects/LocationAccessEffect.swift:74:25: warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
32 |
33 |         /// A private subscription class that manages location updates.
34 |         private final class LocationSubscription<S: Subscriber>: NSObject, CLLocationManagerDelegate,
   |                             `- note: generic class 'LocationSubscription' does not conform to the 'Sendable' protocol
35 |             Subscription where S.Input == any Action
36 |         {
   :
72 |                         accuracyAuthorization: accuracyAuthorization
73 |                     )
74 |                     _ = self?.subscriber?.receive(action)
   |                         `- warning: capture of 'self' with non-sendable type 'Effects.LocationAccessEffect.LocationSubscription<S>?' in a `@Sendable` closure
75 |                 }
76 |             }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:13: warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 18 | /// The `EnvironmentStore` class is responsible for handling application state, managing subscribers, and dispatching actions.
 19 | /// It works in conjunction with the `AppReducer` to provide unidirectional data flow throughout the app.
 20 | public final class EnvironmentStore<State: AppReducer> {
    |                    `- note: generic class 'EnvironmentStore' does not conform to the 'Sendable' protocol
 21 |     @SourceOfTruth public private(set) var state: State
 22 |
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |             `- warning: capture of 'self' with non-sendable type 'EnvironmentStore<State>?' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:74:34: warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 65 |     ///   - lineNumber: The line number where the action is dispatched. Defaults to the caller's line.
 66 |     public func dispatch(
 67 |         _ action: some Action,
    |                   `- note: consider making generic parameter 'some Action' conform to the 'Sendable' protocol
 68 |         priority: ActionPriority = .default,
 69 |         fileName: String = #file,
    :
 72 |     ) {
 73 |         storeQueue.async { [weak self] in
 74 |             self?.store.dispatch(action, priority: priority, fileName: fileName, functionName: functionName, lineNumber: lineNumber)
    |                                  `- warning: capture of 'action' with non-sendable type 'some Action' in a `@Sendable` closure
 75 |         }
 76 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:138:34: warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 |     /// Subscribes the environment store to changes in the state using a subject.
137 |     private func sinkSubject() {
138 |         self.cancelation = store.subject
    |                                  `- warning: actor-isolated property 'subject' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |             .receive(on: DispatchQueue.main)
140 |             .sink { [unowned self] newState, oldState, animation in
/Users/admin/builder/spi-builder-workspace/UDF/Store/InternalStore.swift:15:9: note: property declared here
 13 |     var state: State
 14 |
 15 |     let subject: PassthroughSubject<(State, State, Animation?), Never> = .init()
    |         `- note: property declared here
 16 |
 17 |     var middlewares: OrderedSet<AnyMiddleware> = []
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:144:68: warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
142 |
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                                                    |- warning: non-sendable type 'Dictionary<String, (State, State, Animation?) -> Void>.Values' returned by call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
    |                                                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:39:21: warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
 37 |         mutableState.initialSetup()
 38 |
 39 |         let store = InternalStore(initial: mutableState, loggers: loggers)
    |                     |- warning: sending 'mutableState' risks causing data races; this is an error in the Swift 6 language mode
    |                     `- note: sending task-isolated 'mutableState' to actor-isolated callee risks causing data races between actor-isolated and task-isolated uses
 40 |         self.store = store
 41 |         self._state = .init(wrappedValue: mutableState, store: store)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:143:39: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |                 self.state = newState
142 |
143 |                 Task(priority: .high) {
    |                                       `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
    |                                             `- note: closure captures 'self' which is accessible to code in the current task
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:145:41: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
143 |                 Task(priority: .high) {
144 |                     let subscribers = await subscribersCoordinator.allSubscibers()
145 |                     await MainActor.run {
    |                                         `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:40: warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                        |- warning: sending 'oldState' risks causing data races; this is an error in the Swift 6 language mode
    |                                        `- note: task-isolated 'oldState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:147:50: warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
145 |                     await MainActor.run {
146 |                         for subscriber in subscribers {
147 |                             subscriber(oldState, newState, animation)
    |                                                  |- warning: sending 'newState' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated 'newState' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
148 |                         }
149 |                     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:164:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
162 |         let key = UUID().uuidString
163 |
164 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:165:42: warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
163 |
164 |         Task(priority: .high) {
165 |             await subscribersCoordinator.add(subscriber: statePublisher, for: key)
    |                                          |- warning: sending 'statePublisher' risks causing data races; this is an error in the Swift 6 language mode
    |                                          `- note: sending task-isolated 'statePublisher' to actor-isolated instance method 'add(subscriber:for:)' risks causing data races between actor-isolated and task-isolated uses
166 |         }
167 |
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:175:31: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
173 |     /// - Parameter key: The unique key of the subscriber to remove.
174 |     func removePublisher(forKey key: String) {
175 |         Task(priority: .high) {
    |                               `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
176 |             await subscribersCoordinator.removeSubscriber(forKey: key)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
177 |         }
178 |     }
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:348:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
346 |     func subscribeAsync(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
347 |         executeSynchronously {
348 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
349 |                 build(self.store).map { wrapper in
350 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
/Users/admin/builder/spi-builder-workspace/UDF/Store/EnvironmentStore.swift:362:30: warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
360 |     func subscribe(@MiddlewareBuilder<State> build: @escaping (_ store: any Store<State>) -> [MiddlewareWrapper<State>]) {
361 |         executeSynchronously {
362 |             await self.store.subscribe(
    |                              `- warning: sending task-isolated value of type '[any Middleware<State>]' with later accesses to actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
363 |                 build(self.store).map { wrapper in
364 |                     wrapper.instance ?? self.middleware(store: self.store, type: wrapper.type)
[245/247] Compiling UDFXCTest XCTest+expectation.swift
[246/247] Compiling UDFXCTest XCTUnwrapAsync.swift
[247/247] Emitting module UDFXCTest
Build complete! (36.72s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections"
    },
    {
      "identity" : "runtime",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.2.6",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/urlaunched-com/Runtime"
    }
  ],
  "manifest_display_name" : "SwiftUI-UDF",
  "name" : "SwiftUI-UDF",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "UDF",
      "targets" : [
        "UDF"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "UDFXCTest",
      "targets" : [
        "UDFXCTest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UDFXCTest",
      "module_type" : "SwiftTarget",
      "name" : "UDFXCTest",
      "path" : "UDFXCTest",
      "product_memberships" : [
        "UDFXCTest"
      ],
      "sources" : [
        "XCTUnwrapAsync.swift",
        "XCTest+expectation.swift"
      ],
      "target_dependencies" : [
        "UDF"
      ],
      "type" : "library"
    },
    {
      "c99name" : "UDF",
      "module_type" : "SwiftTarget",
      "name" : "UDF",
      "path" : "UDF",
      "product_dependencies" : [
        "OrderedCollections",
        "Runtime"
      ],
      "product_memberships" : [
        "UDF",
        "UDFXCTest"
      ],
      "sources" : [
        "Common/ActionPriority.swift",
        "Common/Cached/Cached.swift",
        "Common/Cached/Source/CacheSource.swift",
        "Common/Cached/Source/FileCache.swift",
        "Common/Common.swift",
        "Common/Debouncer/Debouncer.swift",
        "Common/Debouncer/UserInputDebouncer.swift",
        "Common/Extensions/Binding+BindClosure.swift",
        "Common/Extensions/CLAccuracyAuthorization.swift",
        "Common/Extensions/CLAuthorizationStatus.swift",
        "Common/Extensions/Collection+CaseIterable.swift",
        "Common/Extensions/Dictionary+Storage.swift",
        "Common/Extensions/Hashable.swift",
        "Common/Extensions/ProcessInfo.swift",
        "Common/Extensions/Publishers+AsyncState.swift",
        "Common/Extensions/Text+Mirror.swift",
        "Common/Extensions/View+AlertStatus.swift",
        "Common/Extensions/View+NavigationDestination.swift",
        "Common/Extensions/Window+Render.swift",
        "Common/File.swift",
        "Common/FileFunctionLine.swift",
        "Common/GlobalValue.swift",
        "Common/Merging/Mergeable+Dictionary.swift",
        "Common/Merging/Mergeable+OrderedDictionary.swift",
        "Common/Merging/Mergeable.swift",
        "Common/Pagination/PaginationPage.swift",
        "Common/Pagination/Paginator.swift",
        "Common/PropertyWrappers/SourceOfTruth.swift",
        "Common/Protocols/Initable.swift",
        "Common/Protocols/IsEquatable.swift",
        "Common/Protocols/WrappedReducer.swift",
        "Common/RCDictionary.swift",
        "Common/Scope/CombinedScope.swift",
        "Common/Scope/ReducerScope.swift",
        "Common/Scope/Scope+None.swift",
        "Common/Scope/Scope.swift",
        "Common/SubscribersCoordinator.swift",
        "Common/Types.swift",
        "Common/WeakObject.swift",
        "Domain/Hook/Hook.swift",
        "Domain/Hook/HookBuilder.swift",
        "Domain/Hook/HookType.swift",
        "Middleware/AnyMiddleware.swift",
        "Middleware/BaseMiddleware.swift",
        "Middleware/CancellableTask.swift",
        "Middleware/Effect/ConcurrencyEffect.swift",
        "Middleware/Effect/Effect.swift",
        "Middleware/Effect/Effectable.swift",
        "Middleware/Effect/PureEffect.swift",
        "Middleware/EnvironmentMiddleware.swift",
        "Middleware/Middleware.swift",
        "Middleware/MiddlewareBuilder.swift",
        "Middleware/MiddlewareStatus.swift",
        "Middleware/ObservableMiddleware.swift",
        "Middleware/ReducibleMiddleware.swift",
        "Store/Action/Action.swift",
        "Store/Action/ActionGroup/ActionGroup.swift",
        "Store/Action/ActionGroup/ActionGroupBuilder.swift",
        "Store/Action/Actions.swift",
        "Store/Action/PrivateAction/InternalAction.swift",
        "Store/Action/PrivateAction/_AnyBindableAction.swift",
        "Store/Effects/DelayEffect.swift",
        "Store/Effects/FilterEffect.swift",
        "Store/Effects/LocationAccessEffect.swift",
        "Store/Effects/LocationMonitoringEffect.swift",
        "Store/EnvironmentStore.swift",
        "Store/Flow/Flow.swift",
        "Store/Flow/Flows.swift",
        "Store/Flow/IdentifiableFlow.swift",
        "Store/Flow/UserLocationFlow.swift",
        "Store/Form.swift",
        "Store/InternalStore.swift",
        "Store/Logger/ActionLogger.swift",
        "Store/Logger/ConsoleDebugLogger.swift",
        "Store/Logger/Filters/DebugOnlyActionFilter.swift",
        "Store/Logger/Filters/DefaultActionFilter.swift",
        "Store/Logger/Filters/ErrorOnlyActionFilter.swift",
        "Store/Logger/Filters/VerboseActionFilter.swift",
        "Store/Logger/LogDistributor.swift",
        "Store/Logger/LoggingAction.swift",
        "Store/Logger/StringDescribingActionDescriptor.swift",
        "Store/Reducer/AppReducer/AppReducer.swift",
        "Store/Reducer/AppReducer/RuntimeReducing.swift",
        "Store/Reducer/BindableReducer.swift",
        "Store/Reducer/InitialSetup.swift",
        "Store/Reducer/ReducerReference/BindableReducerReference.swift",
        "Store/Reducer/ReducerReference/ReducerReference.swift",
        "Store/Reducer/Reducible.swift",
        "Store/Store.swift",
        "Store/StoreQueue/DelayedOperation.swift",
        "Store/StoreQueue/StoreOperation.swift",
        "Store/StoreQueue/StoreQueue.swift",
        "Store/XCTestStore/XCTestGroup.swift",
        "Store/XCTestStore/XCTestStore.swift",
        "View/AlertBuilder/AlertAction/AlertAction.swift",
        "View/AlertBuilder/AlertAction/AlertButton.swift",
        "View/AlertBuilder/AlertAction/AlertTextField.swift",
        "View/AlertBuilder/AlertActionsBuilder.swift",
        "View/AlertBuilder/AlertBuilder.swift",
        "View/Component.swift",
        "View/Container/BindableContainer.swift",
        "View/Container/ConnectedContainer.swift",
        "View/Container/Container.swift",
        "View/Container/ContainerHooks.swift",
        "View/Container/ContainerLifecycle.swift",
        "View/Container/ContainerState.swift",
        "View/Router/GlobalRouter/GlobalRouter.swift",
        "View/Router/GlobalRouter/GlobalRoutingModifier.swift",
        "View/Router/Router.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftUI_UDF_Tests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUI-UDF-Tests",
      "path" : "Tests/SwiftUI-UDF-Tests",
      "sources" : [
        "ActionGroup/ActionGroupBuilderTests.swift",
        "Actions/DelayedActionTests.swift",
        "Actions/ErrorActionTests.swift",
        "Alert/AlertActionBuilderTests.swift",
        "AlertTests.swift",
        "BindableReducers/BindableContainerDataMutationTests.swift",
        "BindableReducers/BindableContainerLifecycleTests.swift",
        "BindableReducers/BindableContainerLoadUnloadTests.swift",
        "BindableReducers/BindableReducersMiddlewareTests.swift",
        "Cached/CachedTests.swift",
        "ContainerHookTests.swift",
        "ContainerLifecycleTests.swift",
        "Mergeable/MergeableAppStateTests.swift",
        "Mergeable/MergeableTests.swift",
        "Middlewares/MiddlewareCancellationTests.swift",
        "Middlewares/ObservableMiddlewareTests.swift",
        "Middlewares/ReducibleMiddlewareTests.swift",
        "NestedReducerTests.swift",
        "PaginatorTests.swift",
        "RouterTests.swift",
        "StateCopyTests.swift"
      ],
      "target_dependencies" : [
        "UDFXCTest"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUI_UDF_ConcurrencyTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUI-UDF-ConcurrencyTests",
      "path" : "Tests/SwiftUI-UDF-ConcurrencyTests",
      "sources" : [
        "AppStateInitialSetupTests.swift",
        "ContainersRedrawing/ContainerScopeTests.swift",
        "ContainersRedrawing/ContainerWithAppStateAsScopeTests.swift",
        "DispatchActionsTests.swift",
        "Middlewares/ConcurrencyMiddlewareCancellationTests.swift",
        "Middlewares/ConcurrencyMiddlewareTaskIdTests.swift",
        "Middlewares/MiddlewareCancellationTests.swift",
        "Middlewares/MiddlewareDuplicationTests.swift",
        "Middlewares/MiddlewareMapErrorTests.swift",
        "Middlewares/MiddlewareSubscriptionTests.swift",
        "Middlewares/NewObservableMiddlewareDDosProtectionTests.swift",
        "Middlewares/NewReducibleMiddlewareTests.swift",
        "Store/StoreInitializationTests.swift"
      ],
      "target_dependencies" : [
        "UDFXCTest"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.9"
}
Done.