The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of AsyncStateMachine, reference main (e7cb90), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 08:29:00 UTC.

Swift 6 data race errors: 3

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

 32 |         fail(
/Users/admin/builder/spi-builder-workspace/Sources/XCTest/XCTStateMachine.swift:52:54: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | import XCTestDynamicOverlay
 10 |
 11 | public class XCTStateMachine<S, E, O>
    |                              `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where
 13 | S: DSLCompatible & Equatable,
    :
 50 |   ) async -> Self {
 51 |     for state in states {
 52 |       if let receivedState = await self.stateMachine.reduce(when: state, on: event) {
    |                                                      `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 53 |         fail(
 54 |         """
/Users/admin/builder/spi-builder-workspace/Sources/XCTest/XCTStateMachine.swift:73:46: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | import XCTestDynamicOverlay
 10 |
 11 | public class XCTStateMachine<S, E, O>
    |                              `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where
 13 | S: DSLCompatible & Equatable,
    :
 71 |   ) -> Self {
 72 |     for state in states {
 73 |       let receivedOutput = self.stateMachine.output(for: state)
    |                                              `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 74 |       guard receivedOutput == expectedOutput else {
 75 |         onFail(
/Users/admin/builder/spi-builder-workspace/Sources/XCTest/XCTStateMachine.swift:94:49: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | import XCTestDynamicOverlay
 10 |
 11 | public class XCTStateMachine<S, E, O>
    |                              `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where
 13 | S: DSLCompatible & Equatable,
    :
 92 |   ) -> Self {
 93 |     for state in states {
 94 |       if let receivedOutput = self.stateMachine.output(for: state) {
    |                                                 `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 95 |         onFail(
 96 |         """
[17/40] Compiling AsyncStateMachine Execute.swift
[18/40] Compiling AsyncStateMachine Guard.swift
[19/40] Compiling AsyncStateMachine Never+DSLCompatible.swift
[20/40] Compiling AsyncStateMachine Binding+Distinct.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:14:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
12 |   func distinct() -> Self {
13 |     return Binding {
14 |       self.wrappedValue
   |       `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:16:22: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
14 |       self.wrappedValue
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
   |                      `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
17 |       self.wrappedValue = value
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:14:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  7 |
  8 | // swiftlint:disable identifier_name function_parameter_count
  9 | public func inject<A, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 10 |     dep a: A,
 11 |     in block: @Sendable @escaping (A) async -> R
 12 | ) -> @Sendable () async -> R {
 13 |     {
 14 |         await block(a)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |     }
 16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:24:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | public func inject<A, B, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 19 |     deps a: A,
 20 |     _ b: B,
    :
 22 | ) -> @Sendable () async -> R {
 23 |     {
 24 |         await block(a, b)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 25 |     }
 26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:24:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | public func inject<A, B, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 19 |     deps a: A,
 20 |     _ b: B,
    :
 22 | ) -> @Sendable () async -> R {
 23 |     {
 24 |         await block(a, b)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 25 |     }
 26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:36: warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                                   `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                                    `- warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:83:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 76 | }
 77 |
 78 | public func inject<A, B, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 79 |     dep b: B,
 80 |     in block: @Sendable @escaping (A, B) async -> R
 81 | ) -> @Sendable (A) async -> R {
 82 |     { a in
 83 |         await block(a, b)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 |     }
 85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:93:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public func inject<A, B, C, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 88 |     deps b: B,
 89 |     _ c: C,
    :
 91 | ) -> @Sendable (A) async -> R {
 92 |     { a in
 93 |         await block(a, b, c)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     }
 95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:93:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public func inject<A, B, C, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 88 |     deps b: B,
 89 |     _ c: C,
    :
 91 | ) -> @Sendable (A) async -> R {
 92 |     { a in
 93 |         await block(a, b, c)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     }
 95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:36: warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                                   `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                                    `- warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
[21/40] Compiling AsyncStateMachine Inject.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:14:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
12 |   func distinct() -> Self {
13 |     return Binding {
14 |       self.wrappedValue
   |       `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:16:22: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
14 |       self.wrappedValue
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
   |                      `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
17 |       self.wrappedValue = value
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:14:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  7 |
  8 | // swiftlint:disable identifier_name function_parameter_count
  9 | public func inject<A, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 10 |     dep a: A,
 11 |     in block: @Sendable @escaping (A) async -> R
 12 | ) -> @Sendable () async -> R {
 13 |     {
 14 |         await block(a)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |     }
 16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:24:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | public func inject<A, B, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 19 |     deps a: A,
 20 |     _ b: B,
    :
 22 | ) -> @Sendable () async -> R {
 23 |     {
 24 |         await block(a, b)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 25 |     }
 26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:24:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | public func inject<A, B, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 19 |     deps a: A,
 20 |     _ b: B,
    :
 22 | ) -> @Sendable () async -> R {
 23 |     {
 24 |         await block(a, b)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 25 |     }
 26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:36: warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                                   `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                                    `- warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:83:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 76 | }
 77 |
 78 | public func inject<A, B, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 79 |     dep b: B,
 80 |     in block: @Sendable @escaping (A, B) async -> R
 81 | ) -> @Sendable (A) async -> R {
 82 |     { a in
 83 |         await block(a, b)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 |     }
 85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:93:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public func inject<A, B, C, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 88 |     deps b: B,
 89 |     _ c: C,
    :
 91 | ) -> @Sendable (A) async -> R {
 92 |     { a in
 93 |         await block(a, b, c)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     }
 95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:93:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public func inject<A, B, C, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 88 |     deps b: B,
 89 |     _ c: C,
    :
 91 | ) -> @Sendable (A) async -> R {
 92 |     { a in
 93 |         await block(a, b, c)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     }
 95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:36: warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                                   `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                                    `- warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
[22/40] Compiling AsyncStateMachine ManagedCriticalState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:14:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
12 |   func distinct() -> Self {
13 |     return Binding {
14 |       self.wrappedValue
   |       `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Distinct.swift:16:22: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
14 |       self.wrappedValue
15 |     } set: { value in
16 |       guard value != self.wrappedValue else { return }
   |                      `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
17 |       self.wrappedValue = value
18 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:14:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
  7 |
  8 | // swiftlint:disable identifier_name function_parameter_count
  9 | public func inject<A, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 10 |     dep a: A,
 11 |     in block: @Sendable @escaping (A) async -> R
 12 | ) -> @Sendable () async -> R {
 13 |     {
 14 |         await block(a)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 15 |     }
 16 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:24:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | public func inject<A, B, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 19 |     deps a: A,
 20 |     _ b: B,
    :
 22 | ) -> @Sendable () async -> R {
 23 |     {
 24 |         await block(a, b)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 25 |     }
 26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:24:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 16 | }
 17 |
 18 | public func inject<A, B, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 19 |     deps a: A,
 20 |     _ b: B,
    :
 22 | ) -> @Sendable () async -> R {
 23 |     {
 24 |         await block(a, b)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 25 |     }
 26 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:35:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 26 | }
 27 |
 28 | public func inject<A, B, C, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 29 |     deps a: A,
 30 |     _ b: B,
    :
 33 | ) -> @Sendable () async -> R {
 34 |     {
 35 |         await block(a, b, c)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 36 |     }
 37 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:47:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 37 | }
 38 |
 39 | public func inject<A, B, C, D, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 40 |     deps a: A,
 41 |     _ b: B,
    :
 45 | ) -> @Sendable () async -> R {
 46 |     {
 47 |         await block(a, b, c, d)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 48 |     }
 49 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:60:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 49 | }
 50 |
 51 | public func inject<A, B, C, D, E, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 52 |     deps a: A,
 53 |     _ b: B,
    :
 58 | ) -> @Sendable () async -> R {
 59 |     {
 60 |         await block(a, b, c, d, e)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 61 |     }
 62 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:21: warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                    `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                     `- warning: capture of 'a' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:74:36: warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 62 | }
 63 |
 64 | public func inject<A, B, C, D, E, F, R>(
    |                                   `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
 65 |     deps a: A,
 66 |     _ b: B,
    :
 72 | ) -> @Sendable () async -> R {
 73 |     {
 74 |         await block(a, b, c, d, e, f)
    |                                    `- warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 75 |     }
 76 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:83:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 76 | }
 77 |
 78 | public func inject<A, B, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 79 |     dep b: B,
 80 |     in block: @Sendable @escaping (A, B) async -> R
 81 | ) -> @Sendable (A) async -> R {
 82 |     { a in
 83 |         await block(a, b)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 84 |     }
 85 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:93:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public func inject<A, B, C, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 88 |     deps b: B,
 89 |     _ c: C,
    :
 91 | ) -> @Sendable (A) async -> R {
 92 |     { a in
 93 |         await block(a, b, c)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     }
 95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:93:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 | }
 86 |
 87 | public func inject<A, B, C, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 88 |     deps b: B,
 89 |     _ c: C,
    :
 91 | ) -> @Sendable (A) async -> R {
 92 |     { a in
 93 |         await block(a, b, c)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 94 |     }
 95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:104:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 95 | }
 96 |
 97 | public func inject<A, B, C, D, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
 98 |     deps b: B,
 99 |     _ c: C,
    :
102 | ) -> @Sendable (A) async -> R {
103 |     { a in
104 |         await block(a, b, c, d)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
105 |     }
106 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:116:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
106 | }
107 |
108 | public func inject<A, B, C, D, E, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
109 |     deps b: B,
110 |     _ c: C,
    :
114 | ) -> @Sendable (A) async -> R {
115 |     { a in
116 |         await block(a, b, c, d, e)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
117 |     }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:24: warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                       `- note: consider making generic parameter 'B' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                        `- warning: capture of 'b' with non-sendable type 'B' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:27: warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                          `- note: consider making generic parameter 'C' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                           `- warning: capture of 'c' with non-sendable type 'C' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:30: warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                             `- note: consider making generic parameter 'D' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                              `- warning: capture of 'd' with non-sendable type 'D' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:33: warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                                `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                                 `- warning: capture of 'e' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Inject.swift:129:36: warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
118 | }
119 |
120 | public func inject<A, B, C, D, E, F, R>(
    |                                   `- note: consider making generic parameter 'F' conform to the 'Sendable' protocol
121 |     deps b: B,
122 |     _ c: C,
    :
127 | ) -> @Sendable (A) async -> R {
128 |     { a in
129 |         await block(a, b, c, d, e, f)
    |                                    `- warning: capture of 'f' with non-sendable type 'F' in a '@Sendable' closure; this is an error in the Swift 6 language mode
130 |     }
131 | }
[23/40] 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:)'
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[24/40] 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:)'
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[25/40] 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:)'
121 |     let cancellation = ManagedCriticalState<Bool>(false)
122 |
123 |     return await withTaskCancellationHandler { [state] in
    |                  |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
    |                  `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
124 |       let awaiting = state.withCriticalRegion { state -> Awaiting? in
125 |         cancellation.apply(criticalState: true)
[26/40] Compiling AsyncStateMachine Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:41:29: warning: capture of 'output' with non-sendable type 'O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public struct Runtime<S, E, O>: Sendable
    |                             `- note: consider making generic parameter 'O' conform to the 'Sendable' protocol
 23 | where S: DSLCompatible, E: DSLCompatible & Sendable, O: DSLCompatible {
 24 |   var sideEffects = [SideEffect<S, E, O>]()
    :
 39 |
 40 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 41 |       currentOutput.matches(output)
    |                             `- warning: capture of 'output' with non-sendable type 'O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:90:29: warning: capture of 'output' with non-sendable type '(OutputAssociatedValue) -> O' in a '@Sendable' 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 'output' with non-sendable type '(OutputAssociatedValue) -> O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:191:32: warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public struct Runtime<S, E, O>: Sendable
    |                       `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 23 | where S: DSLCompatible, E: DSLCompatible & Sendable, O: DSLCompatible {
 24 |   var sideEffects = [SideEffect<S, E, O>]()
    :
189 |   ) -> Self {
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
    |                                `- warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' 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:192:20: warning: capture of 'event' with non-sendable type 'OtherE' in a '@Sendable' closure; this is an error in the Swift 6 language mode
183 |
184 |   @discardableResult
185 |   public func connectAsSender<OtherE>(
    |                               `- note: consider making generic parameter 'OtherE' conform to the 'Sendable' protocol
186 |     to channel: Channel<OtherE>,
187 |     when state: S,
    :
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
192 |       channel.push(event)
    |                    `- warning: capture of 'event' with non-sendable type 'OtherE' in a '@Sendable' closure; this is an error in the Swift 6 language mode
193 |     })
194 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:203:62: warning: capture of 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' 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 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
204 |       else { return }
205 |       channel.push(event(value))
/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 |
[27/40] Compiling AsyncStateMachine SideEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:41:29: warning: capture of 'output' with non-sendable type 'O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public struct Runtime<S, E, O>: Sendable
    |                             `- note: consider making generic parameter 'O' conform to the 'Sendable' protocol
 23 | where S: DSLCompatible, E: DSLCompatible & Sendable, O: DSLCompatible {
 24 |   var sideEffects = [SideEffect<S, E, O>]()
    :
 39 |
 40 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 41 |       currentOutput.matches(output)
    |                             `- warning: capture of 'output' with non-sendable type 'O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:90:29: warning: capture of 'output' with non-sendable type '(OutputAssociatedValue) -> O' in a '@Sendable' 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 'output' with non-sendable type '(OutputAssociatedValue) -> O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:191:32: warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public struct Runtime<S, E, O>: Sendable
    |                       `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 23 | where S: DSLCompatible, E: DSLCompatible & Sendable, O: DSLCompatible {
 24 |   var sideEffects = [SideEffect<S, E, O>]()
    :
189 |   ) -> Self {
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
    |                                `- warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' 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:192:20: warning: capture of 'event' with non-sendable type 'OtherE' in a '@Sendable' closure; this is an error in the Swift 6 language mode
183 |
184 |   @discardableResult
185 |   public func connectAsSender<OtherE>(
    |                               `- note: consider making generic parameter 'OtherE' conform to the 'Sendable' protocol
186 |     to channel: Channel<OtherE>,
187 |     when state: S,
    :
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
192 |       channel.push(event)
    |                    `- warning: capture of 'event' with non-sendable type 'OtherE' in a '@Sendable' closure; this is an error in the Swift 6 language mode
193 |     })
194 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:203:62: warning: capture of 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' 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 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
204 |       else { return }
205 |       channel.push(event(value))
/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 |
[28/40] Compiling AsyncStateMachine DSLCompatible.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:41:29: warning: capture of 'output' with non-sendable type 'O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public struct Runtime<S, E, O>: Sendable
    |                             `- note: consider making generic parameter 'O' conform to the 'Sendable' protocol
 23 | where S: DSLCompatible, E: DSLCompatible & Sendable, O: DSLCompatible {
 24 |   var sideEffects = [SideEffect<S, E, O>]()
    :
 39 |
 40 |     let predicate: @Sendable (O) -> Bool = { currentOutput in
 41 |       currentOutput.matches(output)
    |                             `- warning: capture of 'output' with non-sendable type 'O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 42 |     }
 43 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:90:29: warning: capture of 'output' with non-sendable type '(OutputAssociatedValue) -> O' in a '@Sendable' 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 'output' with non-sendable type '(OutputAssociatedValue) -> O' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 91 |     }
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:191:32: warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 20 | }
 21 |
 22 | public struct Runtime<S, E, O>: Sendable
    |                       `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 23 | where S: DSLCompatible, E: DSLCompatible & Sendable, O: DSLCompatible {
 24 |   var sideEffects = [SideEffect<S, E, O>]()
    :
189 |   ) -> Self {
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
    |                                `- warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' 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:192:20: warning: capture of 'event' with non-sendable type 'OtherE' in a '@Sendable' closure; this is an error in the Swift 6 language mode
183 |
184 |   @discardableResult
185 |   public func connectAsSender<OtherE>(
    |                               `- note: consider making generic parameter 'OtherE' conform to the 'Sendable' protocol
186 |     to channel: Channel<OtherE>,
187 |     when state: S,
    :
190 |     return self.register(middleware: { (inputState: S) in
191 |       guard inputState.matches(state) else { return }
192 |       channel.push(event)
    |                    `- warning: capture of 'event' with non-sendable type 'OtherE' in a '@Sendable' closure; this is an error in the Swift 6 language mode
193 |     })
194 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/Runtime.swift:203:62: warning: capture of 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' 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 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
204 |       else { return }
205 |       channel.push(event(value))
/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 |
[29/40] Compiling AsyncStateMachine On.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:23:26: warning: capture of 'event' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct On<S, E>: Sendable
   |                     `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 9 | where S: DSLCompatible, E: DSLCompatible {
10 |   // predicate and transition are 2 separate things because we want
   :
21 |   ) {
22 |     self.predicate = { inputEvent in
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
   |                          `- warning: capture of 'event' with non-sendable type 'E' in a '@Sendable' 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:46:35: warning: capture of 'event' with non-sendable type '(EventAssociatedValue) -> E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 |     self.predicate = { inputEvent in
45 |       if let inputPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
46 |         return inputEvent.matches(event) &&
   |                                   |- warning: capture of 'event' with non-sendable type '(EventAssociatedValue) -> E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |         `guard`(inputPayload).predicate
48 |       }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:41:37: warning: capture of 'components' with non-sendable type '(T) -> Bool...' in a '@Sendable' 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 'components' with non-sendable type '(T) -> Bool...' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 |     }
43 | }
[30/40] Compiling AsyncStateMachine OneOf.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:23:26: warning: capture of 'event' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct On<S, E>: Sendable
   |                     `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 9 | where S: DSLCompatible, E: DSLCompatible {
10 |   // predicate and transition are 2 separate things because we want
   :
21 |   ) {
22 |     self.predicate = { inputEvent in
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
   |                          `- warning: capture of 'event' with non-sendable type 'E' in a '@Sendable' 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:46:35: warning: capture of 'event' with non-sendable type '(EventAssociatedValue) -> E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 |     self.predicate = { inputEvent in
45 |       if let inputPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
46 |         return inputEvent.matches(event) &&
   |                                   |- warning: capture of 'event' with non-sendable type '(EventAssociatedValue) -> E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |         `guard`(inputPayload).predicate
48 |       }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:41:37: warning: capture of 'components' with non-sendable type '(T) -> Bool...' in a '@Sendable' 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 'components' with non-sendable type '(T) -> Bool...' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 |     }
43 | }
[31/40] Compiling AsyncStateMachine StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/On.swift:23:26: warning: capture of 'event' with non-sendable type 'E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct On<S, E>: Sendable
   |                     `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 9 | where S: DSLCompatible, E: DSLCompatible {
10 |   // predicate and transition are 2 separate things because we want
   :
21 |   ) {
22 |     self.predicate = { inputEvent in
23 |       inputEvent.matches(event) && `guard`(inputEvent).predicate
   |                          `- warning: capture of 'event' with non-sendable type 'E' in a '@Sendable' 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:46:35: warning: capture of 'event' with non-sendable type '(EventAssociatedValue) -> E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
44 |     self.predicate = { inputEvent in
45 |       if let inputPayload = inputEvent.associatedValue(expecting: EventAssociatedValue.self) {
46 |         return inputEvent.matches(event) &&
   |                                   |- warning: capture of 'event' with non-sendable type '(EventAssociatedValue) -> E' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                   `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
47 |         `guard`(inputPayload).predicate
48 |       }
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine/OneOf.swift:41:37: warning: capture of 'components' with non-sendable type '(T) -> Bool...' in a '@Sendable' 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 'components' with non-sendable type '(T) -> Bool...' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
42 |     }
43 | }
[32/40] Compiling AsyncStateMachine AsyncOnEachSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncOnEachSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 | extension AsyncSequence {
 9 |   func onEach(_ block: @Sendable @escaping (Element) async -> Void) -> AsyncOnEachSequence<Self> {
10 |     AsyncOnEachSequence(self, onEach: block)
   |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |   }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncOnEachSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 | extension AsyncSequence {
 9 |   func onEach(_ block: @Sendable @escaping (Element) async -> Void) -> AsyncOnEachSequence<Self> {
10 |     AsyncOnEachSequence(self, onEach: block)
   |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |   }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | extension AsyncSequence {
  9 |   func serial() -> AsyncSerialSequence<Self> {
 10 |     AsyncSerialSequence(base: self)
    |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |   }
 12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | extension AsyncSequence {
  9 |   func serial() -> AsyncSerialSequence<Self> {
 10 |     AsyncSerialSequence(base: self)
    |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |   }
 12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
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:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:35:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
33 |
34 |     return Binding {
35 |       self.wrappedValue
   |       `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 |     } set: { value in
37 |       if debounceInProgress.criticalState {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:39:9: warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in a '@Sendable' closure
23 |
24 | extension Binding {
25 |   struct DueValue {
   |          `- note: consider making struct 'DueValue' conform to the 'Sendable' protocol
26 |     let value: Value
27 |     let dueTime: DispatchTime
   :
37 |       if debounceInProgress.criticalState {
38 |         let newValue = DueValue(value: value, dueTime: DispatchTime.now().advanced(by: dueTime))
39 |         lastKnownValue.apply(criticalState: newValue)
   |         `- warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in a '@Sendable' closure
40 |       } else {
41 |         debounceInProgress.apply(criticalState: true)
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
58 |         }
59 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:47:13: warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in an isolated closure; this is an error in the Swift 6 language mode
23 |
24 | extension Binding {
25 |   struct DueValue {
   |          `- note: consider making struct 'DueValue' conform to the 'Sendable' protocol
26 |     let value: Value
27 |     let dueTime: DispatchTime
   :
45 |
46 |           repeat {
47 |             lastKnownValue.apply(criticalState: nil)
   |             `- warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in an isolated closure; this is an error in the Swift 6 language mode
48 |
49 |             try? await Task.sleep(nanoseconds: timeToSleep)
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
58 |         }
59 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:42:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
40 |       } else {
41 |         debounceInProgress.apply(criticalState: true)
42 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
43 |           var timeToSleep = dueTime.nanoseconds
44 |           var currentValue = value
   |                              `- note: closure captures non-Sendable 'value'
45 |
46 |           repeat {
47 |             lastKnownValue.apply(criticalState: nil)
   |             `- note: closure captures non-Sendable 'lastKnownValue'
48 |
49 |             try? await Task.sleep(nanoseconds: timeToSleep)
   :
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- note: closure captures non-Sendable 'self'
58 |         }
59 |       }
[33/40] Compiling AsyncStateMachine AsyncSerialSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncOnEachSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 | extension AsyncSequence {
 9 |   func onEach(_ block: @Sendable @escaping (Element) async -> Void) -> AsyncOnEachSequence<Self> {
10 |     AsyncOnEachSequence(self, onEach: block)
   |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |   }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncOnEachSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 | extension AsyncSequence {
 9 |   func onEach(_ block: @Sendable @escaping (Element) async -> Void) -> AsyncOnEachSequence<Self> {
10 |     AsyncOnEachSequence(self, onEach: block)
   |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |   }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | extension AsyncSequence {
  9 |   func serial() -> AsyncSerialSequence<Self> {
 10 |     AsyncSerialSequence(base: self)
    |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |   }
 12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | extension AsyncSequence {
  9 |   func serial() -> AsyncSerialSequence<Self> {
 10 |     AsyncSerialSequence(base: self)
    |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |   }
 12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
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:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:35:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
33 |
34 |     return Binding {
35 |       self.wrappedValue
   |       `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 |     } set: { value in
37 |       if debounceInProgress.criticalState {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:39:9: warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in a '@Sendable' closure
23 |
24 | extension Binding {
25 |   struct DueValue {
   |          `- note: consider making struct 'DueValue' conform to the 'Sendable' protocol
26 |     let value: Value
27 |     let dueTime: DispatchTime
   :
37 |       if debounceInProgress.criticalState {
38 |         let newValue = DueValue(value: value, dueTime: DispatchTime.now().advanced(by: dueTime))
39 |         lastKnownValue.apply(criticalState: newValue)
   |         `- warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in a '@Sendable' closure
40 |       } else {
41 |         debounceInProgress.apply(criticalState: true)
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
58 |         }
59 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:47:13: warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in an isolated closure; this is an error in the Swift 6 language mode
23 |
24 | extension Binding {
25 |   struct DueValue {
   |          `- note: consider making struct 'DueValue' conform to the 'Sendable' protocol
26 |     let value: Value
27 |     let dueTime: DispatchTime
   :
45 |
46 |           repeat {
47 |             lastKnownValue.apply(criticalState: nil)
   |             `- warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in an isolated closure; this is an error in the Swift 6 language mode
48 |
49 |             try? await Task.sleep(nanoseconds: timeToSleep)
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
58 |         }
59 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:42:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
40 |       } else {
41 |         debounceInProgress.apply(criticalState: true)
42 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
43 |           var timeToSleep = dueTime.nanoseconds
44 |           var currentValue = value
   |                              `- note: closure captures non-Sendable 'value'
45 |
46 |           repeat {
47 |             lastKnownValue.apply(criticalState: nil)
   |             `- note: closure captures non-Sendable 'lastKnownValue'
48 |
49 |             try? await Task.sleep(nanoseconds: timeToSleep)
   :
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- note: closure captures non-Sendable 'self'
58 |         }
59 |       }
[34/40] Compiling AsyncStateMachine Binding+Debounce.swift
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncOnEachSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 | extension AsyncSequence {
 9 |   func onEach(_ block: @Sendable @escaping (Element) async -> Void) -> AsyncOnEachSequence<Self> {
10 |     AsyncOnEachSequence(self, onEach: block)
   |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |   }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncOnEachSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 8 | extension AsyncSequence {
 9 |   func onEach(_ block: @Sendable @escaping (Element) async -> Void) -> AsyncOnEachSequence<Self> {
10 |     AsyncOnEachSequence(self, onEach: block)
   |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
11 |   }
12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | extension AsyncSequence {
  9 |   func serial() -> AsyncSerialSequence<Self> {
 10 |     AsyncSerialSequence(base: self)
    |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |   }
 12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:10:5: warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  8 | extension AsyncSequence {
  9 |   func serial() -> AsyncSerialSequence<Self> {
 10 |     AsyncSerialSequence(base: self)
    |     `- warning: type 'Self' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 11 |   }
 12 | }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/AsyncSerialSequence.swift:148:22: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)'
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:)'
    |                      `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
149 |       self?.handleNextCancellation(
150 |         tokenId: tokenId,
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:35:7: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
33 |
34 |     return Binding {
35 |       self.wrappedValue
   |       `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
36 |     } set: { value in
37 |       if debounceInProgress.criticalState {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:39:9: warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in a '@Sendable' closure
23 |
24 | extension Binding {
25 |   struct DueValue {
   |          `- note: consider making struct 'DueValue' conform to the 'Sendable' protocol
26 |     let value: Value
27 |     let dueTime: DispatchTime
   :
37 |       if debounceInProgress.criticalState {
38 |         let newValue = DueValue(value: value, dueTime: DispatchTime.now().advanced(by: dueTime))
39 |         lastKnownValue.apply(criticalState: newValue)
   |         `- warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in a '@Sendable' closure
40 |       } else {
41 |         debounceInProgress.apply(criticalState: true)
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in a '@Sendable' closure
58 |         }
59 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:47:13: warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in an isolated closure; this is an error in the Swift 6 language mode
23 |
24 | extension Binding {
25 |   struct DueValue {
   |          `- note: consider making struct 'DueValue' conform to the 'Sendable' protocol
26 |     let value: Value
27 |     let dueTime: DispatchTime
   :
45 |
46 |           repeat {
47 |             lastKnownValue.apply(criticalState: nil)
   |             `- warning: capture of 'lastKnownValue' with non-sendable type 'ManagedCriticalState<Binding<Value>.DueValue?>' in an isolated closure; this is an error in the Swift 6 language mode
48 |
49 |             try? await Task.sleep(nanoseconds: timeToSleep)
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:57:11: warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- warning: capture of 'self' with non-sendable type 'Binding<Value>' in an isolated closure; this is an error in the Swift 6 language mode
58 |         }
59 |       }
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Binding+Debounce.swift:42:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
40 |       } else {
41 |         debounceInProgress.apply(criticalState: true)
42 |         Task {
   |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
43 |           var timeToSleep = dueTime.nanoseconds
44 |           var currentValue = value
   |                              `- note: closure captures non-Sendable 'value'
45 |
46 |           repeat {
47 |             lastKnownValue.apply(criticalState: nil)
   |             `- note: closure captures non-Sendable 'lastKnownValue'
48 |
49 |             try? await Task.sleep(nanoseconds: timeToSleep)
   :
55 |           } while lastKnownValue.criticalState != nil
56 |           debounceInProgress.apply(criticalState: false)
57 |           self.wrappedValue = currentValue
   |           `- note: closure captures non-Sendable 'self'
58 |         }
59 |       }
[35/40] Compiling AsyncStateMachine AsyncStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:43:7: warning: capture of 'onDeinit' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         channelReceiver.update(receiver: nil)
42 |       }
43 |       onDeinit?()
   |       |- warning: capture of 'onDeinit' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 |     }
45 |
/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:19:7: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 17 |
 18 |   @Published public internal(set) var state: VS
 19 |   let asyncStateMachine: AsyncStateMachine<S, E, O>
    |       `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 20 |   let stateToViewState: @Sendable (S) -> VS
 21 |   let suspensions: ManagedCriticalState<[SendSuspension]>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:19:7: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 17 |
 18 |   @Published public internal(set) var state: VS
 19 |   let asyncStateMachine: AsyncStateMachine<S, E, O>
    |       `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 20 |   let stateToViewState: @Sendable (S) -> VS
 21 |   let suspensions: ManagedCriticalState<[SendSuspension]>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:45:58: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 43 |     self.asyncStateMachine = asyncStateMachine
 44 |     self.stateToViewState = stateToViewState
 45 |     self.state = stateToViewState(self.asyncStateMachine.initialState)
    |                                                          `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |     self.suspensions = ManagedCriticalState([])
 47 |     self.running = ManagedCriticalState(false)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:45:58: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 43 |     self.asyncStateMachine = asyncStateMachine
 44 |     self.stateToViewState = stateToViewState
 45 |     self.state = stateToViewState(self.asyncStateMachine.initialState)
    |                                                          `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |     self.suspensions = ManagedCriticalState([])
 47 |     self.running = ManagedCriticalState(false)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:52:28: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 50 |
 51 |   public func send(_ event: E) {
 52 |     self.asyncStateMachine.send(event)
    |                            `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 53 |   }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:52:28: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 50 |
 51 |   public func send(_ event: E) {
 52 |     self.asyncStateMachine.send(event)
    |                            `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 53 |   }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:64:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 62 |       }
 63 |
 64 |       asyncStateMachine.send(event)
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:64:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 62 |       }
 63 |
 64 |       asyncStateMachine.send(event)
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:30: warning: capture of 'event' with non-sendable type '(VS) -> E' in a '@Sendable' closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                              |- warning: capture of 'event' with non-sendable type '(VS) -> E' in a '@Sendable' closure
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:27: warning: capture of 'keypath' with non-sendable type 'KeyPath<VS, T>' in a '@Sendable' 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 'keypath' with non-sendable type 'KeyPath<VS, T>' in a '@Sendable' closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:30: warning: capture of 'event' with non-sendable type '(T) -> E' in a '@Sendable' closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                              |- warning: capture of 'event' with non-sendable type '(T) -> E' in a '@Sendable' closure
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
162 |     }
163 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:182:10: warning: cannot access property 'onDeinit' with a non-sendable type '(() -> Void)?' from nonisolated deinit; this is an error in the Swift 6 language mode
180 |   deinit {
181 |     self.cancelTasksInProgress()
182 |     self.onDeinit?()
    |          `- warning: cannot access property 'onDeinit' with a non-sendable type '(() -> Void)?' from nonisolated deinit; this is an error in the Swift 6 language mode
183 |   }
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:140:73: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
138 |
139 |     for middleware in middlewares {
140 |       let task: Task<Void, Never> = Task(priority: middleware.priority) {
    |                                                                         `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |         await middleware.execute(value)
    |                                  `- note: closure captures 'value' which is accessible to 'self'-isolated code
142 |       }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:163:71: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
161 |       let events = sideEffect.execute(output) else { return nil }
162 |
163 |     let task: Task<Void, Never> = Task(priority: sideEffect.priority) {
    |                                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
164 |       do {
165 |         for try await event in events {
    |                                `- note: closure captures 'events' which is accessible to 'self'-isolated code
166 |           sendBackEvent?(event)
167 |         }
[36/40] Compiling AsyncStateMachine Engine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:43:7: warning: capture of 'onDeinit' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         channelReceiver.update(receiver: nil)
42 |       }
43 |       onDeinit?()
   |       |- warning: capture of 'onDeinit' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 |     }
45 |
/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:19:7: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 17 |
 18 |   @Published public internal(set) var state: VS
 19 |   let asyncStateMachine: AsyncStateMachine<S, E, O>
    |       `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 20 |   let stateToViewState: @Sendable (S) -> VS
 21 |   let suspensions: ManagedCriticalState<[SendSuspension]>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:19:7: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 17 |
 18 |   @Published public internal(set) var state: VS
 19 |   let asyncStateMachine: AsyncStateMachine<S, E, O>
    |       `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 20 |   let stateToViewState: @Sendable (S) -> VS
 21 |   let suspensions: ManagedCriticalState<[SendSuspension]>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:45:58: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 43 |     self.asyncStateMachine = asyncStateMachine
 44 |     self.stateToViewState = stateToViewState
 45 |     self.state = stateToViewState(self.asyncStateMachine.initialState)
    |                                                          `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |     self.suspensions = ManagedCriticalState([])
 47 |     self.running = ManagedCriticalState(false)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:45:58: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 43 |     self.asyncStateMachine = asyncStateMachine
 44 |     self.stateToViewState = stateToViewState
 45 |     self.state = stateToViewState(self.asyncStateMachine.initialState)
    |                                                          `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |     self.suspensions = ManagedCriticalState([])
 47 |     self.running = ManagedCriticalState(false)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:52:28: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 50 |
 51 |   public func send(_ event: E) {
 52 |     self.asyncStateMachine.send(event)
    |                            `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 53 |   }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:52:28: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 50 |
 51 |   public func send(_ event: E) {
 52 |     self.asyncStateMachine.send(event)
    |                            `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 53 |   }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:64:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 62 |       }
 63 |
 64 |       asyncStateMachine.send(event)
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:64:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 62 |       }
 63 |
 64 |       asyncStateMachine.send(event)
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:30: warning: capture of 'event' with non-sendable type '(VS) -> E' in a '@Sendable' closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                              |- warning: capture of 'event' with non-sendable type '(VS) -> E' in a '@Sendable' closure
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:27: warning: capture of 'keypath' with non-sendable type 'KeyPath<VS, T>' in a '@Sendable' 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 'keypath' with non-sendable type 'KeyPath<VS, T>' in a '@Sendable' closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:30: warning: capture of 'event' with non-sendable type '(T) -> E' in a '@Sendable' closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                              |- warning: capture of 'event' with non-sendable type '(T) -> E' in a '@Sendable' closure
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
162 |     }
163 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:182:10: warning: cannot access property 'onDeinit' with a non-sendable type '(() -> Void)?' from nonisolated deinit; this is an error in the Swift 6 language mode
180 |   deinit {
181 |     self.cancelTasksInProgress()
182 |     self.onDeinit?()
    |          `- warning: cannot access property 'onDeinit' with a non-sendable type '(() -> Void)?' from nonisolated deinit; this is an error in the Swift 6 language mode
183 |   }
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:140:73: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
138 |
139 |     for middleware in middlewares {
140 |       let task: Task<Void, Never> = Task(priority: middleware.priority) {
    |                                                                         `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |         await middleware.execute(value)
    |                                  `- note: closure captures 'value' which is accessible to 'self'-isolated code
142 |       }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:163:71: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
161 |       let events = sideEffect.execute(output) else { return nil }
162 |
163 |     let task: Task<Void, Never> = Task(priority: sideEffect.priority) {
    |                                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
164 |       do {
165 |         for try await event in events {
    |                                `- note: closure captures 'events' which is accessible to 'self'-isolated code
166 |           sendBackEvent?(event)
167 |         }
[37/40] Compiling AsyncStateMachine ViewStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/AsyncStateMachine.swift:43:7: warning: capture of 'onDeinit' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
41 |         channelReceiver.update(receiver: nil)
42 |       }
43 |       onDeinit?()
   |       |- warning: capture of 'onDeinit' with non-sendable type '(() -> Void)?' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
44 |     }
45 |
/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:19:7: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 17 |
 18 |   @Published public internal(set) var state: VS
 19 |   let asyncStateMachine: AsyncStateMachine<S, E, O>
    |       `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 20 |   let stateToViewState: @Sendable (S) -> VS
 21 |   let suspensions: ManagedCriticalState<[SendSuspension]>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:19:7: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 17 |
 18 |   @Published public internal(set) var state: VS
 19 |   let asyncStateMachine: AsyncStateMachine<S, E, O>
    |       `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 20 |   let stateToViewState: @Sendable (S) -> VS
 21 |   let suspensions: ManagedCriticalState<[SendSuspension]>
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:45:58: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 43 |     self.asyncStateMachine = asyncStateMachine
 44 |     self.stateToViewState = stateToViewState
 45 |     self.state = stateToViewState(self.asyncStateMachine.initialState)
    |                                                          `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |     self.suspensions = ManagedCriticalState([])
 47 |     self.running = ManagedCriticalState(false)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:45:58: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 43 |     self.asyncStateMachine = asyncStateMachine
 44 |     self.stateToViewState = stateToViewState
 45 |     self.state = stateToViewState(self.asyncStateMachine.initialState)
    |                                                          `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 46 |     self.suspensions = ManagedCriticalState([])
 47 |     self.running = ManagedCriticalState(false)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:52:28: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 50 |
 51 |   public func send(_ event: E) {
 52 |     self.asyncStateMachine.send(event)
    |                            `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 53 |   }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:52:28: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 50 |
 51 |   public func send(_ event: E) {
 52 |     self.asyncStateMachine.send(event)
    |                            `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 53 |   }
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:64:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 62 |       }
 63 |
 64 |       asyncStateMachine.send(event)
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:64:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
 62 |       }
 63 |
 64 |       asyncStateMachine.send(event)
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
 65 |     }
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:149:30: warning: capture of 'event' with non-sendable type '(VS) -> E' in a '@Sendable' closure
147 |       self.state
148 |     } set: { [asyncStateMachine] value in
149 |       asyncStateMachine.send(event(value))
    |                              |- warning: capture of 'event' with non-sendable type '(VS) -> E' in a '@Sendable' closure
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
150 |     }
151 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'S' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:25: warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                         `- warning: type 'E' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:159:27: warning: capture of 'keypath' with non-sendable type 'KeyPath<VS, T>' in a '@Sendable' 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 'keypath' with non-sendable type 'KeyPath<VS, T>' in a '@Sendable' closure
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
  |              `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 |     @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                         `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:7: warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
  9 | where S: Equatable & DSLCompatible, E: DSLCompatible, O: DSLCompatible
 10 |
 11 | public final class ViewStateMachine<VS, S, E, O>: ObservableObject, @unchecked Sendable
    |                                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 12 | where VS: Equatable & Sendable, S: DSLCompatible, E: DSLCompatible, O: DSLCompatible {
 13 |   struct SendSuspension {
    :
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |       `- warning: capture of 'asyncStateMachine' with non-sendable type 'AsyncStateMachine<S, E, O>' in a '@Sendable' closure
162 |     }
163 |   }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/ViewStateMachine.swift:161:30: warning: capture of 'event' with non-sendable type '(T) -> E' in a '@Sendable' closure
159 |       self.state[keyPath: keypath]
160 |     } set: { [asyncStateMachine] value in
161 |       asyncStateMachine.send(event(value))
    |                              |- warning: capture of 'event' with non-sendable type '(T) -> E' in a '@Sendable' closure
    |                              `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
162 |     }
163 |   }
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:182:10: warning: cannot access property 'onDeinit' with a non-sendable type '(() -> Void)?' from nonisolated deinit; this is an error in the Swift 6 language mode
180 |   deinit {
181 |     self.cancelTasksInProgress()
182 |     self.onDeinit?()
    |          `- warning: cannot access property 'onDeinit' with a non-sendable type '(() -> Void)?' from nonisolated deinit; this is an error in the Swift 6 language mode
183 |   }
184 | }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:140:73: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
138 |
139 |     for middleware in middlewares {
140 |       let task: Task<Void, Never> = Task(priority: middleware.priority) {
    |                                                                         `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
141 |         await middleware.execute(value)
    |                                  `- note: closure captures 'value' which is accessible to 'self'-isolated code
142 |       }
143 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncStateMachine/Engine.swift:163:71: warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
161 |       let events = sideEffect.execute(output) else { return nil }
162 |
163 |     let task: Task<Void, Never> = Task(priority: sideEffect.priority) {
    |                                                                       `- warning: passing closure as a 'sending' parameter risks causing data races between 'self'-isolated code and concurrent execution of the closure; this is an error in the Swift 6 language mode
164 |       do {
165 |         for try await event in events {
    |                                `- note: closure captures 'events' which is accessible to 'self'-isolated code
166 |           sendBackEvent?(event)
167 |         }
[38/40] Compiling AsyncStateMachine Channel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:22:21: warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct ExecutionStrategy<S>: Sendable, Equatable
   |                                 `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 9 | where S: DSLCompatible {
10 |   enum Identifier {
   :
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
   |                     `- warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 |     }
24 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:30:21: warning: capture of 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' 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 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 |     }
32 |   }
[39/40] Compiling AsyncStateMachine ExecutionStrategy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:22:21: warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct ExecutionStrategy<S>: Sendable, Equatable
   |                                 `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 9 | where S: DSLCompatible {
10 |   enum Identifier {
   :
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
   |                     `- warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 |     }
24 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:30:21: warning: capture of 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' 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 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 |     }
32 |   }
[40/40] Compiling AsyncStateMachine Middleware.swift
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:22:21: warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 6 | //
 7 |
 8 | public struct ExecutionStrategy<S>: Sendable, Equatable
   |                                 `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
 9 | where S: DSLCompatible {
10 |   enum Identifier {
   :
20 |   public static func cancel(when state: S) -> ExecutionStrategy {
21 |     ExecutionStrategy(id: .cancelWhenState) { input in
22 |       input.matches(state)
   |                     `- warning: capture of 'state' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
23 |     }
24 |   }
/Users/admin/builder/spi-builder-workspace/Sources/Runtime/ExecutionStrategy.swift:30:21: warning: capture of 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' 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 'state' with non-sendable type '(StateAssociatedValue) -> S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
   |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
31 |     }
32 |   }
Build complete! (10.22s)
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/AsyncBufferedChannelTests.swift",
        "Supporting/AsyncCompactScanSequenceTests.swift",
        "Supporting/AsyncJustSequenceTests.swift",
        "Supporting/AsyncOnEachSequenceTests.swift",
        "Supporting/AsyncSerialSequenceTests.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.