The Swift Package Index logo.Swift Package Index

Build Information

Successful build of AsyncStateMachine, reference 0.1.0 (54cfca), with Swift 6.2 for macOS (SPM) on 19 Jun 2025 23:02:32 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sideeffect-io/AsyncStateMachine.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sideeffect-io/AsyncStateMachine
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 54cfca6 Merge pull request #19 from sideeffect-io/feature/debounce-in-readme
Cloned https://github.com/sideeffect-io/AsyncStateMachine.git
Revision (git rev-parse @):
54cfca6d65c78d32c4cb61fd2af910a7bf7010a4
SUCCESS checkout https://github.com/sideeffect-io/AsyncStateMachine.git at 0.1.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/sideeffect-io/AsyncStateMachine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-1EA4D86E10B52AF.txt
[4/12] Compiling XCTestDynamicOverlay RuntimeWarnings.swift
[5/12] Compiling XCTestDynamicOverlay DefaultInitializable.swift
[6/12] Compiling XCTestDynamicOverlay XCTCurrentTestCase.swift
[7/12] Compiling XCTestDynamicOverlay Unimplemented.swift
[8/12] Compiling XCTestDynamicOverlay XCTIsTesting.swift
[9/12] Compiling XCTestDynamicOverlay Deprecations.swift
[10/12] Emitting module XCTestDynamicOverlay
[11/12] Compiling XCTestDynamicOverlay GeneratePlaceholder.swift
[12/12] Compiling XCTestDynamicOverlay XCTFail.swift
[13/40] Compiling AsyncStateMachine Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:41:21: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 39 |
 40 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 41 |       currentOutput.matches(output)
    |                     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:33:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 31 |   @discardableResult
 32 |   public func map<AS: AsyncSequence>(
 33 |     output: O,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 34 |     to sideEffect: @Sendable @escaping () -> AS,
 35 |     priority: TaskPriority? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:45:7: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 43 |
 44 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E> = { _ in
 45 |       sideEffect().eraseToAnyAsyncSequence()
    |       `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |     }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:34:8: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |   public func map<AS: AsyncSequence>(
 33 |     output: O,
 34 |     to sideEffect: @Sendable @escaping () -> AS,
    |        `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 35 |     priority: TaskPriority? = nil,
 36 |     strategy: ExecutionStrategy<S> = .continueWhenAnyState
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:44:60: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
 44 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E> = { _ in
    |                                                            `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 45 |       sideEffect().eraseToAnyAsyncSequence()
 46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:90:21: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 88 |
 89 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 90 |       currentOutput.matches(output)
    |                     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:82:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 80 |   @discardableResult
 81 |   public func map<OutputAssociatedValue, AS: AsyncSequence>(
 82 |     output: @escaping (OutputAssociatedValue) -> O,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |     to sideEffect: @Sendable @escaping (OutputAssociatedValue) -> AS,
 84 |     priority: TaskPriority? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:94:38: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 92 |
 93 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E>? = { currentOutput in
 94 |       if let outputAssociatedValue = currentOutput.associatedValue(expecting: OutputAssociatedValue.self) {
    |                                      `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 95 |         return sideEffect(outputAssociatedValue).eraseToAnyAsyncSequence()
 96 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:95:16: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 93 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E>? = { currentOutput in
 94 |       if let outputAssociatedValue = currentOutput.associatedValue(expecting: OutputAssociatedValue.self) {
 95 |         return sideEffect(outputAssociatedValue).eraseToAnyAsyncSequence()
    |                `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 96 |       }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:83:8: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 81 |   public func map<OutputAssociatedValue, AS: AsyncSequence>(
 82 |     output: @escaping (OutputAssociatedValue) -> O,
 83 |     to sideEffect: @Sendable @escaping (OutputAssociatedValue) -> AS,
    |        `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |     priority: TaskPriority? = nil,
 85 |     strategy: ExecutionStrategy<S> = .continueWhenAnyState
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:143:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |       Middleware<S>(
142 |         execute: { state in
143 |           await middleware(state)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
144 |         },
145 |         priority: priority
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:135:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |   @discardableResult
134 |   public func register(
135 |     middleware: @Sendable @escaping (S) async -> Void,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
136 |     priority: TaskPriority? = nil
137 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:191:24: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |   ) -> Self {
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
    |                        `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |       channel.push(event)
193 |     })
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:187:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 |   public func connectAsSender<OtherE>(
186 |     to channel: Channel<OtherE>,
187 |     when state: S,
    |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
188 |     send event: OtherE
189 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:192:15: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
192 |       channel.push(event)
    |               `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |     })
194 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:186:8: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 |   @discardableResult
185 |   public func connectAsSender<OtherE>(
186 |     to channel: Channel<OtherE>,
    |        `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 |     when state: S,
188 |     send event: OtherE
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:203:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
201 |   ) -> Self {
202 |     return self.register(middleware: { (inputState: S) in
203 |       guard let value = inputState.associatedValue(matching: state)
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
204 |       else { return }
205 |       channel.push(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:199:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
197 |   public func connectAsSender<StateAssociatedValue, OtherE>(
198 |     to channel: Channel<OtherE>,
199 |     when state: @escaping (StateAssociatedValue) -> S,
    |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 |     send event: @Sendable @escaping (StateAssociatedValue) -> OtherE
201 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:205:15: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 |       guard let value = inputState.associatedValue(matching: state)
204 |       else { return }
205 |       channel.push(event(value))
    |               `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 |     })
207 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:198:8: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |   @discardableResult
197 |   public func connectAsSender<StateAssociatedValue, OtherE>(
198 |     to channel: Channel<OtherE>,
    |        `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |     when state: @escaping (StateAssociatedValue) -> S,
200 |     send event: @Sendable @escaping (StateAssociatedValue) -> OtherE
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                   `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                        `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
[14/40] Compiling AsyncStateMachine SideEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:41:21: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 39 |
 40 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 41 |       currentOutput.matches(output)
    |                     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:33:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 31 |   @discardableResult
 32 |   public func map<AS: AsyncSequence>(
 33 |     output: O,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 34 |     to sideEffect: @Sendable @escaping () -> AS,
 35 |     priority: TaskPriority? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:45:7: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 43 |
 44 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E> = { _ in
 45 |       sideEffect().eraseToAnyAsyncSequence()
    |       `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |     }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:34:8: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |   public func map<AS: AsyncSequence>(
 33 |     output: O,
 34 |     to sideEffect: @Sendable @escaping () -> AS,
    |        `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 35 |     priority: TaskPriority? = nil,
 36 |     strategy: ExecutionStrategy<S> = .continueWhenAnyState
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:44:60: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
 44 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E> = { _ in
    |                                                            `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 45 |       sideEffect().eraseToAnyAsyncSequence()
 46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:90:21: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 88 |
 89 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 90 |       currentOutput.matches(output)
    |                     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:82:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 80 |   @discardableResult
 81 |   public func map<OutputAssociatedValue, AS: AsyncSequence>(
 82 |     output: @escaping (OutputAssociatedValue) -> O,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |     to sideEffect: @Sendable @escaping (OutputAssociatedValue) -> AS,
 84 |     priority: TaskPriority? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:94:38: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 92 |
 93 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E>? = { currentOutput in
 94 |       if let outputAssociatedValue = currentOutput.associatedValue(expecting: OutputAssociatedValue.self) {
    |                                      `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 95 |         return sideEffect(outputAssociatedValue).eraseToAnyAsyncSequence()
 96 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:95:16: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 93 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E>? = { currentOutput in
 94 |       if let outputAssociatedValue = currentOutput.associatedValue(expecting: OutputAssociatedValue.self) {
 95 |         return sideEffect(outputAssociatedValue).eraseToAnyAsyncSequence()
    |                `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 96 |       }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:83:8: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 81 |   public func map<OutputAssociatedValue, AS: AsyncSequence>(
 82 |     output: @escaping (OutputAssociatedValue) -> O,
 83 |     to sideEffect: @Sendable @escaping (OutputAssociatedValue) -> AS,
    |        `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |     priority: TaskPriority? = nil,
 85 |     strategy: ExecutionStrategy<S> = .continueWhenAnyState
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:143:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |       Middleware<S>(
142 |         execute: { state in
143 |           await middleware(state)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
144 |         },
145 |         priority: priority
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:135:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |   @discardableResult
134 |   public func register(
135 |     middleware: @Sendable @escaping (S) async -> Void,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
136 |     priority: TaskPriority? = nil
137 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:191:24: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |   ) -> Self {
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
    |                        `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |       channel.push(event)
193 |     })
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:187:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 |   public func connectAsSender<OtherE>(
186 |     to channel: Channel<OtherE>,
187 |     when state: S,
    |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
188 |     send event: OtherE
189 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:192:15: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
192 |       channel.push(event)
    |               `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |     })
194 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:186:8: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 |   @discardableResult
185 |   public func connectAsSender<OtherE>(
186 |     to channel: Channel<OtherE>,
    |        `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 |     when state: S,
188 |     send event: OtherE
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:203:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
201 |   ) -> Self {
202 |     return self.register(middleware: { (inputState: S) in
203 |       guard let value = inputState.associatedValue(matching: state)
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
204 |       else { return }
205 |       channel.push(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:199:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
197 |   public func connectAsSender<StateAssociatedValue, OtherE>(
198 |     to channel: Channel<OtherE>,
199 |     when state: @escaping (StateAssociatedValue) -> S,
    |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 |     send event: @Sendable @escaping (StateAssociatedValue) -> OtherE
201 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:205:15: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 |       guard let value = inputState.associatedValue(matching: state)
204 |       else { return }
205 |       channel.push(event(value))
    |               `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 |     })
207 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:198:8: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |   @discardableResult
197 |   public func connectAsSender<StateAssociatedValue, OtherE>(
198 |     to channel: Channel<OtherE>,
    |        `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |     when state: @escaping (StateAssociatedValue) -> S,
200 |     send event: @Sendable @escaping (StateAssociatedValue) -> OtherE
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                   `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                        `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
[15/40] Compiling AsyncStateMachine DSLCompatible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:41:21: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 39 |
 40 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 41 |       currentOutput.matches(output)
    |                     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:33:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 31 |   @discardableResult
 32 |   public func map<AS: AsyncSequence>(
 33 |     output: O,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 34 |     to sideEffect: @Sendable @escaping () -> AS,
 35 |     priority: TaskPriority? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:45:7: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 43 |
 44 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E> = { _ in
 45 |       sideEffect().eraseToAnyAsyncSequence()
    |       `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |     }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:34:8: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |   public func map<AS: AsyncSequence>(
 33 |     output: O,
 34 |     to sideEffect: @Sendable @escaping () -> AS,
    |        `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 35 |     priority: TaskPriority? = nil,
 36 |     strategy: ExecutionStrategy<S> = .continueWhenAnyState
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:44:60: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
 44 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E> = { _ in
    |                                                            `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 45 |       sideEffect().eraseToAnyAsyncSequence()
 46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:90:21: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 88 |
 89 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 90 |       currentOutput.matches(output)
    |                     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:82:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 80 |   @discardableResult
 81 |   public func map<OutputAssociatedValue, AS: AsyncSequence>(
 82 |     output: @escaping (OutputAssociatedValue) -> O,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |     to sideEffect: @Sendable @escaping (OutputAssociatedValue) -> AS,
 84 |     priority: TaskPriority? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:94:38: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 92 |
 93 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E>? = { currentOutput in
 94 |       if let outputAssociatedValue = currentOutput.associatedValue(expecting: OutputAssociatedValue.self) {
    |                                      `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 95 |         return sideEffect(outputAssociatedValue).eraseToAnyAsyncSequence()
 96 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:95:16: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 93 |     let sideEffect: @Sendable (O) -> AnyAsyncSequence<E>? = { currentOutput in
 94 |       if let outputAssociatedValue = currentOutput.associatedValue(expecting: OutputAssociatedValue.self) {
 95 |         return sideEffect(outputAssociatedValue).eraseToAnyAsyncSequence()
    |                `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 96 |       }
 97 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:83:8: warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 81 |   public func map<OutputAssociatedValue, AS: AsyncSequence>(
 82 |     output: @escaping (OutputAssociatedValue) -> O,
 83 |     to sideEffect: @Sendable @escaping (OutputAssociatedValue) -> AS,
    |        `- warning: capture of non-sendable type 'AS.Type' in an isolated closure; this is an error in the Swift 6 language mode
 84 |     priority: TaskPriority? = nil,
 85 |     strategy: ExecutionStrategy<S> = .continueWhenAnyState
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:143:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 |       Middleware<S>(
142 |         execute: { state in
143 |           await middleware(state)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
144 |         },
145 |         priority: priority
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:135:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
133 |   @discardableResult
134 |   public func register(
135 |     middleware: @Sendable @escaping (S) async -> Void,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
136 |     priority: TaskPriority? = nil
137 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:191:24: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
189 |   ) -> Self {
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
    |                        `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
192 |       channel.push(event)
193 |     })
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:187:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
185 |   public func connectAsSender<OtherE>(
186 |     to channel: Channel<OtherE>,
187 |     when state: S,
    |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
188 |     send event: OtherE
189 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:192:15: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
192 |       channel.push(event)
    |               `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
193 |     })
194 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:186:8: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
184 |   @discardableResult
185 |   public func connectAsSender<OtherE>(
186 |     to channel: Channel<OtherE>,
    |        `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
187 |     when state: S,
188 |     send event: OtherE
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:203:36: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
201 |   ) -> Self {
202 |     return self.register(middleware: { (inputState: S) in
203 |       guard let value = inputState.associatedValue(matching: state)
    |                                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
204 |       else { return }
205 |       channel.push(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:199:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
197 |   public func connectAsSender<StateAssociatedValue, OtherE>(
198 |     to channel: Channel<OtherE>,
199 |     when state: @escaping (StateAssociatedValue) -> S,
    |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
200 |     send event: @Sendable @escaping (StateAssociatedValue) -> OtherE
201 |   ) -> Self {
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:205:15: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
203 |       guard let value = inputState.associatedValue(matching: state)
204 |       else { return }
205 |       channel.push(event(value))
    |               `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
206 |     })
207 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:198:8: warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
196 |   @discardableResult
197 |   public func connectAsSender<StateAssociatedValue, OtherE>(
198 |     to channel: Channel<OtherE>,
    |        `- warning: capture of non-sendable type 'OtherE.Type' in an isolated closure; this is an error in the Swift 6 language mode
199 |     when state: @escaping (StateAssociatedValue) -> S,
200 |     send event: @Sendable @escaping (StateAssociatedValue) -> OtherE
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:19: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                   `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/DSLCompatible.swift:61:24: warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 59 |     var other = other
 60 |     // compare memory bitwise (should be the priviledged comparaison point)
 61 |     return memcmp(&me, &other, MemoryLayout<Self>.size) == 0 || me.label == other.label
    |                        `- warning: forming 'UnsafeRawPointer' to a variable of type 'Self'; this is likely incorrect because 'Self' may contain an object reference.
 62 |   }
 63 |
[16/43] Compiling AsyncStateMachine AsyncBufferedChannel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[17/43] Compiling AsyncStateMachine AsyncCompactScanSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/43] Compiling AsyncStateMachine AsyncJustSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncBufferedChannel.swift:123:18: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/43] Emitting module AsyncStateMachine
[20/43] Compiling AsyncStateMachine On.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:23:18: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
   |                  `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:18:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 |
17 |   public init(
18 |     event: E,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:25:39: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
   |                                       `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |   }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:25:45: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
   |                                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |   }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:20:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     event: E,
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:20:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     event: E,
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:34:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
32 |     self.init(
33 |       event: event,
34 |       guard: { _ in Guard(predicate: true) },
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
35 |       transition: transition
36 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:45:29: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |   ) {
44 |     self.predicate = { inputEvent in
45 |       if let inputPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
   |                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
46 |         return inputEvent.matches(event) &&
47 |         `guard`(inputPayload).predicate
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:40:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 |   public init<EventAssociatedValue>(
40 |     event: @escaping (EventAssociatedValue) -> E,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |     guard: @escaping @Sendable (EventAssociatedValue) -> Guard,
42 |     transition: @escaping @Sendable (EventAssociatedValue) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:53:29: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 |     self.transition = { inputEvent in
53 |       if let eventPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
   |                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 |         return await transition(eventPayload).state
55 |       }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:54:16: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 |     self.transition = { inputEvent in
53 |       if let eventPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
54 |         return await transition(eventPayload).state
   |                `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |       }
56 |       return nil
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:42:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |     event: @escaping (EventAssociatedValue) -> E,
41 |     guard: @escaping @Sendable (EventAssociatedValue) -> Guard,
42 |     transition: @escaping @Sendable (EventAssociatedValue) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |   ) {
44 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:77:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
77 |       events.predicate(event) && `guard`(event).predicate
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 |     }
79 |     self.transition = { event in await transition(event).state }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:72:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 |
71 |   public init(
72 |     events: OneOf<E>,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:79:34: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 |       events.predicate(event) && `guard`(event).predicate
78 |     }
79 |     self.transition = { event in await transition(event).state }
   |                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 |   }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:79:40: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 |       events.predicate(event) && `guard`(event).predicate
78 |     }
79 |     self.transition = { event in await transition(event).state }
   |                                        `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 |   }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:74:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 |     events: OneOf<E>,
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:74:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 |     events: OneOf<E>,
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:88:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
86 |     self.init(
87 |       events: events,
88 |       guard: { _ in Guard(predicate: true) },
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 |       transition: transition
90 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:41:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 |
40 |     public static func buildBlock(_ components: ((T) -> Bool)...) -> OneOf<T> {
41 |         OneOf(predicate: { input in components.contains { $0(input) } })
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 |     }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:40:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |     }
39 |
40 |     public static func buildBlock(_ components: ((T) -> Bool)...) -> OneOf<T> {
   |                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |         OneOf(predicate: { input in components.contains { $0(input) } })
42 |     }
[21/43] Compiling AsyncStateMachine OneOf.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:23:18: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
   |                  `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:18:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 |
17 |   public init(
18 |     event: E,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:25:39: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
   |                                       `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |   }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:25:45: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
   |                                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |   }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:20:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     event: E,
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:20:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     event: E,
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:34:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
32 |     self.init(
33 |       event: event,
34 |       guard: { _ in Guard(predicate: true) },
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
35 |       transition: transition
36 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:45:29: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |   ) {
44 |     self.predicate = { inputEvent in
45 |       if let inputPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
   |                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
46 |         return inputEvent.matches(event) &&
47 |         `guard`(inputPayload).predicate
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:40:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 |   public init<EventAssociatedValue>(
40 |     event: @escaping (EventAssociatedValue) -> E,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |     guard: @escaping @Sendable (EventAssociatedValue) -> Guard,
42 |     transition: @escaping @Sendable (EventAssociatedValue) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:53:29: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 |     self.transition = { inputEvent in
53 |       if let eventPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
   |                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 |         return await transition(eventPayload).state
55 |       }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:54:16: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 |     self.transition = { inputEvent in
53 |       if let eventPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
54 |         return await transition(eventPayload).state
   |                `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |       }
56 |       return nil
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:42:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |     event: @escaping (EventAssociatedValue) -> E,
41 |     guard: @escaping @Sendable (EventAssociatedValue) -> Guard,
42 |     transition: @escaping @Sendable (EventAssociatedValue) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |   ) {
44 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:77:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
77 |       events.predicate(event) && `guard`(event).predicate
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 |     }
79 |     self.transition = { event in await transition(event).state }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:72:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 |
71 |   public init(
72 |     events: OneOf<E>,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:79:34: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 |       events.predicate(event) && `guard`(event).predicate
78 |     }
79 |     self.transition = { event in await transition(event).state }
   |                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 |   }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:79:40: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 |       events.predicate(event) && `guard`(event).predicate
78 |     }
79 |     self.transition = { event in await transition(event).state }
   |                                        `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 |   }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:74:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 |     events: OneOf<E>,
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:74:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 |     events: OneOf<E>,
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:88:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
86 |     self.init(
87 |       events: events,
88 |       guard: { _ in Guard(predicate: true) },
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 |       transition: transition
90 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:41:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 |
40 |     public static func buildBlock(_ components: ((T) -> Bool)...) -> OneOf<T> {
41 |         OneOf(predicate: { input in components.contains { $0(input) } })
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 |     }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:40:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |     }
39 |
40 |     public static func buildBlock(_ components: ((T) -> Bool)...) -> OneOf<T> {
   |                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |         OneOf(predicate: { input in components.contains { $0(input) } })
42 |     }
[22/43] Compiling AsyncStateMachine StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:23:18: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
   |                  `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:18:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
16 |
17 |   public init(
18 |     event: E,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:25:39: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
   |                                       `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |   }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:25:45: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
24 |     }
25 |     self.transition = { inputEvent in await transition(inputEvent).state }
   |                                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |   }
27 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:20:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     event: E,
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:20:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |     event: E,
19 |     guard: @escaping @Sendable (E) -> Guard,
20 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |   ) {
22 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:34:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
32 |     self.init(
33 |       event: event,
34 |       guard: { _ in Guard(predicate: true) },
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
35 |       transition: transition
36 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:45:29: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |   ) {
44 |     self.predicate = { inputEvent in
45 |       if let inputPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
   |                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
46 |         return inputEvent.matches(event) &&
47 |         `guard`(inputPayload).predicate
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:40:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |
39 |   public init<EventAssociatedValue>(
40 |     event: @escaping (EventAssociatedValue) -> E,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |     guard: @escaping @Sendable (EventAssociatedValue) -> Guard,
42 |     transition: @escaping @Sendable (EventAssociatedValue) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:53:29: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 |     self.transition = { inputEvent in
53 |       if let eventPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
   |                             `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 |         return await transition(eventPayload).state
55 |       }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:54:16: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 |     self.transition = { inputEvent in
53 |       if let eventPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
54 |         return await transition(eventPayload).state
   |                `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |       }
56 |       return nil
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:42:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |     event: @escaping (EventAssociatedValue) -> E,
41 |     guard: @escaping @Sendable (EventAssociatedValue) -> Guard,
42 |     transition: @escaping @Sendable (EventAssociatedValue) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 |   ) {
44 |     self.predicate = { inputEvent in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:77:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
77 |       events.predicate(event) && `guard`(event).predicate
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
78 |     }
79 |     self.transition = { event in await transition(event).state }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:72:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 |
71 |   public init(
72 |     events: OneOf<E>,
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:79:34: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 |       events.predicate(event) && `guard`(event).predicate
78 |     }
79 |     self.transition = { event in await transition(event).state }
   |                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 |   }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:79:40: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 |       events.predicate(event) && `guard`(event).predicate
78 |     }
79 |     self.transition = { event in await transition(event).state }
   |                                        `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 |   }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:74:5: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 |     events: OneOf<E>,
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:74:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 |     events: OneOf<E>,
73 |     guard: @escaping @Sendable (E) -> Guard,
74 |     transition: @escaping @Sendable (E) async -> Transition<S>
   |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
75 |   ) {
76 |     self.predicate = { event in
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:88:14: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
86 |     self.init(
87 |       events: events,
88 |       guard: { _ in Guard(predicate: true) },
   |              `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
89 |       transition: transition
90 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:41:48: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 |
40 |     public static func buildBlock(_ components: ((T) -> Bool)...) -> OneOf<T> {
41 |         OneOf(predicate: { input in components.contains { $0(input) } })
   |                                                `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 |     }
43 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:40:37: warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |     }
39 |
40 |     public static func buildBlock(_ components: ((T) -> Bool)...) -> OneOf<T> {
   |                                     `- warning: capture of non-sendable type 'T.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |         OneOf(predicate: { input in components.contains { $0(input) } })
42 |     }
[23/43] Compiling AsyncStateMachine OrderedStorage.swift
[24/43] Compiling AsyncStateMachine ThrowingInject.swift
[25/43] Compiling AsyncStateMachine XCTStateMachine.swift
[26/43] Compiling AsyncStateMachine Transition.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:31:51: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     self.init(
 30 |       predicate: states.predicate,
 31 |       output: { inputState in execute(inputState).output },
    |                                                   `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |       transitions: transitions
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:31:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     self.init(
 30 |       predicate: states.predicate,
 31 |       output: { inputState in execute(inputState).output },
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |       transitions: transitions
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:26:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 24 |   public init(
 25 |     states: OneOf<S>,
 26 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 27 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 28 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:26:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 24 |   public init(
 25 |     states: OneOf<S>,
 26 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 27 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 28 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:43:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 41 |       states: states,
 42 |       execute: execute,
 43 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     )
 45 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:43:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 41 |       states: states,
 42 |       execute: execute,
 43 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     )
 45 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:53:45: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 51 |   ) {
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
    |                                             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 54 |       output: { inputState in execute(inputState).output },
 55 |       transitions: transitions
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:48:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |
 47 |   public init(
 48 |     state: S,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:54:51: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
 54 |       output: { inputState in execute(inputState).output },
    |                                                   `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       transitions: transitions
 56 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:54:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
 54 |       output: { inputState in execute(inputState).output },
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       transitions: transitions
 56 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:49:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |   public init(
 48 |     state: S,
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:49:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |   public init(
 48 |     state: S,
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:66:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |       state: state,
 65 |       execute: execute,
 66 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |     )
 68 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:66:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |       state: state,
 65 |       execute: execute,
 66 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |     )
 68 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:76:45: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
 76 |       predicate: { inputState in inputState.matches(state) },
    |                                             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:71:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |
 70 |   public init<StateAssociatedValue>(
 71 |     state: @escaping (StateAssociatedValue) -> S,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:78:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 76 |       predicate: { inputState in inputState.matches(state) },
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 79 |           return execute(inputPayload).output
 80 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:79:40: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
 79 |           return execute(inputPayload).output
    |                                        `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 80 |         }
 81 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:72:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 70 |   public init<StateAssociatedValue>(
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
 74 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:84:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 82 |       },
 83 |       transitions: { inputState in
 84 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |           return transitions(inputPayload)
 86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:85:18: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |       transitions: { inputState in
 84 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
 85 |           return transitions(inputPayload)
    |                  `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 86 |         }
 87 |         return []
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:73:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:73:31: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
    |                               `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:99:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 97 |       state: state,
 98 |       execute: execute,
 99 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 |     )
101 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:99:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 97 |       state: state,
 98 |       execute: execute,
 99 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 |     )
101 |   }
[27/43] Compiling AsyncStateMachine When.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:31:51: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     self.init(
 30 |       predicate: states.predicate,
 31 |       output: { inputState in execute(inputState).output },
    |                                                   `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |       transitions: transitions
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:31:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     self.init(
 30 |       predicate: states.predicate,
 31 |       output: { inputState in execute(inputState).output },
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |       transitions: transitions
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:26:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 24 |   public init(
 25 |     states: OneOf<S>,
 26 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 27 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 28 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:26:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 24 |   public init(
 25 |     states: OneOf<S>,
 26 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 27 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 28 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:43:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 41 |       states: states,
 42 |       execute: execute,
 43 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     )
 45 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:43:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 41 |       states: states,
 42 |       execute: execute,
 43 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     )
 45 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:53:45: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 51 |   ) {
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
    |                                             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 54 |       output: { inputState in execute(inputState).output },
 55 |       transitions: transitions
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:48:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |
 47 |   public init(
 48 |     state: S,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:54:51: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
 54 |       output: { inputState in execute(inputState).output },
    |                                                   `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       transitions: transitions
 56 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:54:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
 54 |       output: { inputState in execute(inputState).output },
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       transitions: transitions
 56 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:49:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |   public init(
 48 |     state: S,
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:49:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |   public init(
 48 |     state: S,
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:66:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |       state: state,
 65 |       execute: execute,
 66 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |     )
 68 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:66:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |       state: state,
 65 |       execute: execute,
 66 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |     )
 68 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:76:45: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
 76 |       predicate: { inputState in inputState.matches(state) },
    |                                             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:71:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |
 70 |   public init<StateAssociatedValue>(
 71 |     state: @escaping (StateAssociatedValue) -> S,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:78:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 76 |       predicate: { inputState in inputState.matches(state) },
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 79 |           return execute(inputPayload).output
 80 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:79:40: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
 79 |           return execute(inputPayload).output
    |                                        `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 80 |         }
 81 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:72:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 70 |   public init<StateAssociatedValue>(
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
 74 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:84:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 82 |       },
 83 |       transitions: { inputState in
 84 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |           return transitions(inputPayload)
 86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:85:18: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |       transitions: { inputState in
 84 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
 85 |           return transitions(inputPayload)
    |                  `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 86 |         }
 87 |         return []
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:73:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:73:31: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
    |                               `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:99:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 97 |       state: state,
 98 |       execute: execute,
 99 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 |     )
101 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:99:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 97 |       state: state,
 98 |       execute: execute,
 99 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 |     )
101 |   }
[28/43] Compiling AsyncStateMachine AnyAsyncSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:31:51: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     self.init(
 30 |       predicate: states.predicate,
 31 |       output: { inputState in execute(inputState).output },
    |                                                   `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |       transitions: transitions
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:31:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 29 |     self.init(
 30 |       predicate: states.predicate,
 31 |       output: { inputState in execute(inputState).output },
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 32 |       transitions: transitions
 33 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:26:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 24 |   public init(
 25 |     states: OneOf<S>,
 26 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 27 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 28 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:26:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 24 |   public init(
 25 |     states: OneOf<S>,
 26 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 27 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 28 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:43:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 41 |       states: states,
 42 |       execute: execute,
 43 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     )
 45 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:43:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 41 |       states: states,
 42 |       execute: execute,
 43 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 44 |     )
 45 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:53:45: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 51 |   ) {
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
    |                                             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 54 |       output: { inputState in execute(inputState).output },
 55 |       transitions: transitions
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:48:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |
 47 |   public init(
 48 |     state: S,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:54:51: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
 54 |       output: { inputState in execute(inputState).output },
    |                                                   `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       transitions: transitions
 56 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:54:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 52 |     self.init(
 53 |       predicate: { inputState in inputState.matches(state) },
 54 |       output: { inputState in execute(inputState).output },
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 55 |       transitions: transitions
 56 |     )
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:49:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |   public init(
 48 |     state: S,
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:49:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 47 |   public init(
 48 |     state: S,
 49 |     execute: @Sendable @escaping (S) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 50 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (S) -> [On<S, E>]
 51 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:66:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |       state: state,
 65 |       execute: execute,
 66 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |     )
 68 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:66:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 64 |       state: state,
 65 |       execute: execute,
 66 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 67 |     )
 68 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:76:45: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
 76 |       predicate: { inputState in inputState.matches(state) },
    |                                             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:71:5: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 69 |
 70 |   public init<StateAssociatedValue>(
 71 |     state: @escaping (StateAssociatedValue) -> S,
    |     `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:78:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 76 |       predicate: { inputState in inputState.matches(state) },
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 79 |           return execute(inputPayload).output
 80 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:79:40: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 77 |       output: { inputState in
 78 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
 79 |           return execute(inputPayload).output
    |                                        `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 80 |         }
 81 |         return nil
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:72:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 70 |   public init<StateAssociatedValue>(
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
    |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
 74 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:84:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 82 |       },
 83 |       transitions: { inputState in
 84 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 85 |           return transitions(inputPayload)
 86 |         }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:85:18: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 83 |       transitions: { inputState in
 84 |         if let inputPayload = inputState.associatedValue(expecting: StateAssociatedValue.self) {
 85 |           return transitions(inputPayload)
    |                  `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 86 |         }
 87 |         return []
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:73:31: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
    |                               `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:73:31: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 71 |     state: @escaping (StateAssociatedValue) -> S,
 72 |     execute: @Sendable @escaping (StateAssociatedValue) -> Execute<O>,
 73 |     @TransitionsBuilder<S, E> transitions: @Sendable @escaping (StateAssociatedValue) -> [On<S, E>]
    |                               `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 74 |   ) {
 75 |     self.init(
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:99:20: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 97 |       state: state,
 98 |       execute: execute,
 99 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 |     )
101 |   }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/When.swift:99:20: warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
 97 |       state: state,
 98 |       execute: execute,
 99 |       transitions: { _ in }
    |                    `- warning: capture of non-sendable type 'E.Type' in an isolated closure; this is an error in the Swift 6 language mode
100 |     )
101 |   }
[29/43] Compiling AsyncStateMachine Execute.swift
[30/43] Compiling AsyncStateMachine Guard.swift
[31/43] Compiling AsyncStateMachine Never+DSLCompatible.swift
[32/43] Compiling AsyncStateMachine Channel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:22:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |     }
24 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:20:34: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |   let predicate: @Sendable (S) -> Bool
19 |
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
   |                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:30:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |   ) -> ExecutionStrategy {
29 |     ExecutionStrategy(id: .cancelWhenStateWithAssociatedValue) { input in
30 |       input.matches(state)
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |     }
32 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:27:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 |
26 |   public static func cancel<StateAssociatedValue>(
27 |     when state: @escaping (StateAssociatedValue) -> S
   |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |   ) -> ExecutionStrategy {
29 |     ExecutionStrategy(id: .cancelWhenStateWithAssociatedValue) { input in
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:35:48: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 |
34 |   public static var cancelWhenAnyState: ExecutionStrategy<S> {
35 |     ExecutionStrategy(id: .cancelWhenAnyState) { _ in true }
   |                                                `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 |   }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:39:50: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 |   public static var continueWhenAnyState: ExecutionStrategy<S> {
39 |     ExecutionStrategy(id: .continueWhenAnyState) { _ in false }
   |                                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |   }
41 |
[33/43] Compiling AsyncStateMachine ExecutionStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:22:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |     }
24 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:20:34: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |   let predicate: @Sendable (S) -> Bool
19 |
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
   |                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:30:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |   ) -> ExecutionStrategy {
29 |     ExecutionStrategy(id: .cancelWhenStateWithAssociatedValue) { input in
30 |       input.matches(state)
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |     }
32 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:27:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 |
26 |   public static func cancel<StateAssociatedValue>(
27 |     when state: @escaping (StateAssociatedValue) -> S
   |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |   ) -> ExecutionStrategy {
29 |     ExecutionStrategy(id: .cancelWhenStateWithAssociatedValue) { input in
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:35:48: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 |
34 |   public static var cancelWhenAnyState: ExecutionStrategy<S> {
35 |     ExecutionStrategy(id: .cancelWhenAnyState) { _ in true }
   |                                                `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 |   }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:39:50: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 |   public static var continueWhenAnyState: ExecutionStrategy<S> {
39 |     ExecutionStrategy(id: .continueWhenAnyState) { _ in false }
   |                                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |   }
41 |
[34/43] Compiling AsyncStateMachine Middleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:22:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
23 |     }
24 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:20:34: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
18 |   let predicate: @Sendable (S) -> Bool
19 |
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
   |                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:30:13: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |   ) -> ExecutionStrategy {
29 |     ExecutionStrategy(id: .cancelWhenStateWithAssociatedValue) { input in
30 |       input.matches(state)
   |             `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |     }
32 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:27:10: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 |
26 |   public static func cancel<StateAssociatedValue>(
27 |     when state: @escaping (StateAssociatedValue) -> S
   |          `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 |   ) -> ExecutionStrategy {
29 |     ExecutionStrategy(id: .cancelWhenStateWithAssociatedValue) { input in
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:35:48: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
33 |
34 |   public static var cancelWhenAnyState: ExecutionStrategy<S> {
35 |     ExecutionStrategy(id: .cancelWhenAnyState) { _ in true }
   |                                                `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 |   }
37 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:39:50: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 |   public static var continueWhenAnyState: ExecutionStrategy<S> {
39 |     ExecutionStrategy(id: .continueWhenAnyState) { _ in false }
   |                                                  `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |   }
41 |
[35/43] Compiling AsyncStateMachine Binding+Distinct.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:14:12: warning: capture of non-sendable type 'Value.Type' in an isolated closure
12 |   func distinct() -> Self {
13 |     return Binding {
14 |       self.wrappedValue
   |            `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:12:8: warning: capture of non-sendable type 'Value.Type' in an isolated closure
10 |
11 | public extension Binding where Value: Equatable {
12 |   func distinct() -> Self {
   |        `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
13 |     return Binding {
14 |       self.wrappedValue
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:16:19: warning: capture of non-sendable type 'Value.Type' in an isolated closure
14 |       self.wrappedValue
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
   |                   `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
17 |       self.wrappedValue = value
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:12:8: warning: capture of non-sendable type 'Value.Type' in an isolated closure
10 |
11 | public extension Binding where Value: Equatable {
12 |   func distinct() -> Self {
   |        `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
13 |     return Binding {
14 |       self.wrappedValue
[36/43] Compiling AsyncStateMachine Inject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:14:12: warning: capture of non-sendable type 'Value.Type' in an isolated closure
12 |   func distinct() -> Self {
13 |     return Binding {
14 |       self.wrappedValue
   |            `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:12:8: warning: capture of non-sendable type 'Value.Type' in an isolated closure
10 |
11 | public extension Binding where Value: Equatable {
12 |   func distinct() -> Self {
   |        `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
13 |     return Binding {
14 |       self.wrappedValue
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:16:19: warning: capture of non-sendable type 'Value.Type' in an isolated closure
14 |       self.wrappedValue
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
   |                   `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
17 |       self.wrappedValue = value
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:12:8: warning: capture of non-sendable type 'Value.Type' in an isolated closure
10 |
11 | public extension Binding where Value: Equatable {
12 |   func distinct() -> Self {
   |        `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
13 |     return Binding {
14 |       self.wrappedValue
[37/43] Compiling AsyncStateMachine ManagedCriticalState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:14:12: warning: capture of non-sendable type 'Value.Type' in an isolated closure
12 |   func distinct() -> Self {
13 |     return Binding {
14 |       self.wrappedValue
   |            `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:12:8: warning: capture of non-sendable type 'Value.Type' in an isolated closure
10 |
11 | public extension Binding where Value: Equatable {
12 |   func distinct() -> Self {
   |        `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
13 |     return Binding {
14 |       self.wrappedValue
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:16:19: warning: capture of non-sendable type 'Value.Type' in an isolated closure
14 |       self.wrappedValue
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
   |                   `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
17 |       self.wrappedValue = value
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:12:8: warning: capture of non-sendable type 'Value.Type' in an isolated closure
10 |
11 | public extension Binding where Value: Equatable {
12 |   func distinct() -> Self {
   |        `- warning: capture of non-sendable type 'Value.Type' in an isolated closure
13 |     return Binding {
14 |       self.wrappedValue
[38/43] Compiling AsyncStateMachine AsyncOnEachSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
146 |     let isCancelled = ManagedCriticalState<Bool>(false)
147 |
148 |     return try await withTaskCancellationHandler { [weak self] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[39/43] Compiling AsyncStateMachine AsyncSerialSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
146 |     let isCancelled = ManagedCriticalState<Bool>(false)
147 |
148 |     return try await withTaskCancellationHandler { [weak self] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[40/43] Compiling AsyncStateMachine Binding+Debounce.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
146 |     let isCancelled = ManagedCriticalState<Bool>(false)
147 |
148 |     return try await withTaskCancellationHandler { [weak self] in
    |                      |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[41/43] Compiling AsyncStateMachine AsyncStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:40:7: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |     self.eventChannel = channel
39 |     self.deinitBlock = {
40 |       runtime.channelReceivers.forEach { channelReceiver in
   |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |         channelReceiver.update(receiver: nil)
42 |       }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:33:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |   init(
32 |     stateMachine: StateMachine<S, E, O>,
33 |     runtime: Runtime<S, E, O>,
   |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 |     onDeinit: (() -> Void)? = nil
35 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:56:32: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 |     self.stateSequence = self
55 |       .eventChannel
56 |       .onEach { event in await engine.process(event: event) }
   |                                `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:9: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 |     }
45 |
46 |     let engine = Engine(
   |         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |       resolveOutput: stateMachine.output(for:),
48 |       computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:59:32: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
59 |       .onEach { state in await engine.process(state: state, sendBackEvent: channel.send(_:)) }
   |                                `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
60 |
61 |     // As channels are retained as long as there is a sender using it,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:9: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 |     }
45 |
46 |     let engine = Engine(
   |         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |       resolveOutput: stateMachine.output(for:),
48 |       computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:45:51: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 43 |     taskInProgress task: Task<Void, Never>
 44 |   ) -> Task<Void, Never> {
 45 |     self.register(taskInProgress: task, cancelOn: { _ in false })
    |                                                   `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |   }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:17: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                 `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:62:25: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 60 |
 61 |     // cleaning when task is done
 62 |     return Task { [weak self] in
    |                         `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:62:25: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 60 |
 61 |     // cleaning when task is done
 62 |     return Task { [weak self] in
    |                         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   }
 89 |
 90 |   func cancelTasksInProgress() {
    |        `- note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
 91 |     self
 92 |       .tasksInProgress
    :
179 |
180 |   deinit {
181 |     self.cancelTasksInProgress()
    |          `- warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
182 |     self.onDeinit?()
183 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'E.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'E.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'S.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'E.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'E.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'O.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'O.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: capture of non-sendable type 'E.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: capture of non-sendable type 'E.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'E.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'E.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'O.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'O.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'E.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'E.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'S.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'S.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'E.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'E.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'O.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'O.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: capture of non-sendable type 'E.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: capture of non-sendable type 'E.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'E.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'E.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'O.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'O.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
[42/43] Compiling AsyncStateMachine Engine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:40:7: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |     self.eventChannel = channel
39 |     self.deinitBlock = {
40 |       runtime.channelReceivers.forEach { channelReceiver in
   |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |         channelReceiver.update(receiver: nil)
42 |       }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:33:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |   init(
32 |     stateMachine: StateMachine<S, E, O>,
33 |     runtime: Runtime<S, E, O>,
   |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 |     onDeinit: (() -> Void)? = nil
35 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:56:32: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 |     self.stateSequence = self
55 |       .eventChannel
56 |       .onEach { event in await engine.process(event: event) }
   |                                `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:9: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 |     }
45 |
46 |     let engine = Engine(
   |         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |       resolveOutput: stateMachine.output(for:),
48 |       computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:59:32: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
59 |       .onEach { state in await engine.process(state: state, sendBackEvent: channel.send(_:)) }
   |                                `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
60 |
61 |     // As channels are retained as long as there is a sender using it,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:9: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 |     }
45 |
46 |     let engine = Engine(
   |         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |       resolveOutput: stateMachine.output(for:),
48 |       computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:45:51: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 43 |     taskInProgress task: Task<Void, Never>
 44 |   ) -> Task<Void, Never> {
 45 |     self.register(taskInProgress: task, cancelOn: { _ in false })
    |                                                   `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |   }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:17: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                 `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:62:25: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 60 |
 61 |     // cleaning when task is done
 62 |     return Task { [weak self] in
    |                         `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:62:25: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 60 |
 61 |     // cleaning when task is done
 62 |     return Task { [weak self] in
    |                         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   }
 89 |
 90 |   func cancelTasksInProgress() {
    |        `- note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
 91 |     self
 92 |       .tasksInProgress
    :
179 |
180 |   deinit {
181 |     self.cancelTasksInProgress()
    |          `- warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
182 |     self.onDeinit?()
183 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'E.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'E.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'S.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'E.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'E.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'O.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'O.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: capture of non-sendable type 'E.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: capture of non-sendable type 'E.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'E.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'E.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'O.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'O.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'E.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'E.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'S.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'S.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'E.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'E.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'O.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'O.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: capture of non-sendable type 'E.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: capture of non-sendable type 'E.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'E.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'E.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'O.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'O.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
[43/43] Compiling AsyncStateMachine ViewStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:40:7: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
38 |     self.eventChannel = channel
39 |     self.deinitBlock = {
40 |       runtime.channelReceivers.forEach { channelReceiver in
   |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 |         channelReceiver.update(receiver: nil)
42 |       }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:33:5: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
31 |   init(
32 |     stateMachine: StateMachine<S, E, O>,
33 |     runtime: Runtime<S, E, O>,
   |     `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
34 |     onDeinit: (() -> Void)? = nil
35 |   ) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:56:32: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 |     self.stateSequence = self
55 |       .eventChannel
56 |       .onEach { event in await engine.process(event: event) }
   |                                `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:9: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 |     }
45 |
46 |     let engine = Engine(
   |         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |       resolveOutput: stateMachine.output(for:),
48 |       computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:59:32: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
57 |       .compactScan(self.initialState, engine.computeNextState)
58 |       .serial()
59 |       .onEach { state in await engine.process(state: state, sendBackEvent: channel.send(_:)) }
   |                                `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
60 |
61 |     // As channels are retained as long as there is a sender using it,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:46:9: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 |     }
45 |
46 |     let engine = Engine(
   |         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 |       resolveOutput: stateMachine.output(for:),
48 |       computeNextState: stateMachine.reduce(when:on:),
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:45:51: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 43 |     taskInProgress task: Task<Void, Never>
 44 |   ) -> Task<Void, Never> {
 45 |     self.register(taskInProgress: task, cancelOn: { _ in false })
    |                                                   `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 46 |   }
 47 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:17: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                 `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:64:17: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 62 |     return Task { [weak self] in
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
    |                 `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:62:25: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 60 |
 61 |     // cleaning when task is done
 62 |     return Task { [weak self] in
    |                         `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:62:25: warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 60 |
 61 |     // cleaning when task is done
 62 |     return Task { [weak self] in
    |                         `- warning: capture of non-sendable type 'O.Type' in an isolated closure; this is an error in the Swift 6 language mode
 63 |       await task.value
 64 |       await self?.removeTaskInProgress(index: taskIndex)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:181:10: warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 88 |   }
 89 |
 90 |   func cancelTasksInProgress() {
    |        `- note: calls to instance method 'cancelTasksInProgress()' from outside of its actor context are implicitly asynchronous
 91 |     self
 92 |       .tasksInProgress
    :
179 |
180 |   deinit {
181 |     self.cancelTasksInProgress()
    |          `- warning: actor-isolated instance method 'cancelTasksInProgress()' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
182 |     self.onDeinit?()
183 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'E.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'E.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:147:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
146 |     Binding {
147 |       self.state
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'S.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'E.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'E.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:145:8: warning: capture of non-sendable type 'O.Type' in an isolated closure
143 |
144 | public extension ViewStateMachine {
145 |   func binding(send event: @escaping (VS) -> E) -> Binding<VS> {
    |        `- warning: capture of non-sendable type 'O.Type' in an isolated closure
146 |     Binding {
147 |       self.state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: capture of non-sendable type 'E.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: capture of non-sendable type 'E.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'E.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'E.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:148:15: warning: capture of non-sendable type 'O.Type' in an isolated closure
146 |     Binding {
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'O.Type' in an isolated closure
149 |       asyncStateMachine.send(event(value))
150 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'E.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'E.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
158 |     Binding {
159 |       self.state[keyPath: keypath]
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'S.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'S.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'E.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'E.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:157:8: warning: capture of non-sendable type 'O.Type' in an isolated closure
155 |   }
156 |
157 |   func binding<T>(keypath: KeyPath<VS, T>, send event: @escaping (T) -> E) -> Binding<T> {
    |        `- warning: capture of non-sendable type 'O.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: capture of non-sendable type 'E.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: capture of non-sendable type 'E.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of non-sendable type 'S.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'S.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of non-sendable type 'O.Type' in an isolated closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of non-sendable type 'O.Type' in an isolated closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'S.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'S.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'E.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'E.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:160:15: warning: capture of non-sendable type 'O.Type' in an isolated closure
158 |     Binding {
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
    |               `- warning: capture of non-sendable type 'O.Type' in an isolated closure
161 |       asyncStateMachine.send(event(value))
162 |     }
Build complete! (11.33s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay.git
[1/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay.git from cache (1.20s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Computed https://github.com/pointfreeco/xctest-dynamic-overlay.git at 0.9.0 (1.70s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay.git
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay.git resolved at 0.9.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "xctest-dynamic-overlay",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/xctest-dynamic-overlay.git"
    }
  ],
  "manifest_display_name" : "AsyncStateMachine",
  "name" : "AsyncStateMachine",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncStateMachine",
      "targets" : [
        "AsyncStateMachine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncStateMachineTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncStateMachineTests",
      "path" : "Tests",
      "sources" : [
        "AsyncStateMachine/AsyncStateMachineTests.swift",
        "AsyncStateMachine/EngineTests.swift",
        "AsyncStateMachine/ViewStateMachineTests.swift",
        "Runtime/ChannelTests.swift",
        "Runtime/ExecutionStrategyTests.swift",
        "Runtime/RuntimeTests.swift",
        "StateMachine/DSLCompatibleTests.swift",
        "StateMachine/ExecuteTests.swift",
        "StateMachine/GuardTests.swift",
        "StateMachine/OnTests.swift",
        "StateMachine/OneOfTests.swift",
        "StateMachine/StateMachineTests.swift",
        "StateMachine/TransitionTests.swift",
        "StateMachine/WhenTests.swift",
        "Supporting/AsyncCompactScanSequenceTests.swift",
        "Supporting/AsyncJustSequenceTests.swift",
        "Supporting/AsyncOnEachSequenceTests.swift",
        "Supporting/AsyncSerialSequenceTests.swift",
        "Supporting/AsyncSubjectTests.swift",
        "Supporting/Binding+DebounceTests.swift",
        "Supporting/Binding+DistinctTests.swift",
        "Supporting/InjectTests.swift",
        "Supporting/OrderedStorageTests.swift",
        "Supporting/ThrowingInjectTests.swift",
        "Tools/AsyncLazySequence.swift",
        "Tools/AsyncSequence+Collect.swift",
        "Tools/AsyncSuspendableChannel.swift",
        "Tools/AsyncThrowingSequence.swift",
        "Tools/Task+ForEver.swift",
        "XCTest/XCTStateMachineTests.swift"
      ],
      "target_dependencies" : [
        "AsyncStateMachine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncStateMachine",
      "module_type" : "SwiftTarget",
      "name" : "AsyncStateMachine",
      "path" : "Sources",
      "product_dependencies" : [
        "XCTestDynamicOverlay"
      ],
      "product_memberships" : [
        "AsyncStateMachine"
      ],
      "sources" : [
        "AsyncStateMachine/AsyncStateMachine.swift",
        "AsyncStateMachine/Engine.swift",
        "AsyncStateMachine/ViewStateMachine.swift",
        "Runtime/Channel.swift",
        "Runtime/ExecutionStrategy.swift",
        "Runtime/Middleware.swift",
        "Runtime/Runtime.swift",
        "Runtime/SideEffect.swift",
        "StateMachine/DSLCompatible.swift",
        "StateMachine/Execute.swift",
        "StateMachine/Guard.swift",
        "StateMachine/Never+DSLCompatible.swift",
        "StateMachine/On.swift",
        "StateMachine/OneOf.swift",
        "StateMachine/StateMachine.swift",
        "StateMachine/Transition.swift",
        "StateMachine/When.swift",
        "Supporting/AnyAsyncSequence.swift",
        "Supporting/AsyncBufferedChannel.swift",
        "Supporting/AsyncCompactScanSequence.swift",
        "Supporting/AsyncJustSequence.swift",
        "Supporting/AsyncOnEachSequence.swift",
        "Supporting/AsyncSerialSequence.swift",
        "Supporting/Binding+Debounce.swift",
        "Supporting/Binding+Distinct.swift",
        "Supporting/Inject.swift",
        "Supporting/ManagedCriticalState.swift",
        "Supporting/OrderedStorage.swift",
        "Supporting/ThrowingInject.swift",
        "XCTest/XCTStateMachine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Done.