Build Information
Successful build of AsyncExtensions, reference 0.5.3 (3442d3
), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 17:37:02 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Build Log
73 | regulator3.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:79:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | await withTaskGroup(of: Void.self) { group in
78 | group.addTask {
79 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:83:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 |
82 | group.addTask {
83 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:87:17: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
85 |
86 | group.addTask {
87 | await regulator3.iterate()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:107:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | let immutableRegulators = regulators
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | regulator.requestNextRegulatedElement()
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:116:19: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 | for regulators in immutableRegulators {
115 | group.addTask {
116 | await regulators.iterate()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:114:13: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | self.task = Task {
113 | await withTaskGroup(of: Void.self) { group in
114 | for regulators in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | group.addTask {
116 | await regulators.iterate()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
196 |
197 | func next() async -> RegulatedElement<Element> {
198 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 | self.unsuspendAndClearOnCancel()
200 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:140:40: warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | group.addTask {
139 | do {
140 | for try await element in other1 {
| `- warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | othersState.withCriticalRegion { state in
142 | state.other1State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:141:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 | do {
140 | for try await element in other1 {
141 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
142 | state.other1State = .element(.success(element))
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:155:40: warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | group.addTask {
154 | do {
155 | for try await element in other2 {
| `- warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 | othersState.withCriticalRegion { state in
157 | state.other2State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:156:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 | do {
155 | for try await element in other2 {
156 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 | state.other2State = .element(.success(element))
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
173 | guard !shouldReturnNil else { return nil }
174 |
175 | return try await withTaskCancellationHandler { [isTerminated, othersTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 | isTerminated.withCriticalRegion { isTerminated in
177 | isTerminated = true
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[348/384] Compiling AsyncExtensions AsyncMerge3Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:42:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 | regulator2.requestNextRegulatedElement()
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:43:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
43 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:49:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | await withTaskGroup(of: Void.self) { group in
48 | group.addTask {
49 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:53:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 | group.addTask {
53 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:71:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:72:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 | regulator3.requestNextRegulatedElement()
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:73:7: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:79:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | await withTaskGroup(of: Void.self) { group in
78 | group.addTask {
79 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:83:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 |
82 | group.addTask {
83 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:87:17: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
85 |
86 | group.addTask {
87 | await regulator3.iterate()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:107:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | let immutableRegulators = regulators
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | regulator.requestNextRegulatedElement()
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:116:19: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 | for regulators in immutableRegulators {
115 | group.addTask {
116 | await regulators.iterate()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:114:13: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | self.task = Task {
113 | await withTaskGroup(of: Void.self) { group in
114 | for regulators in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | group.addTask {
116 | await regulators.iterate()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
196 |
197 | func next() async -> RegulatedElement<Element> {
198 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 | self.unsuspendAndClearOnCancel()
200 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:140:40: warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | group.addTask {
139 | do {
140 | for try await element in other1 {
| `- warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | othersState.withCriticalRegion { state in
142 | state.other1State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:141:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 | do {
140 | for try await element in other1 {
141 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
142 | state.other1State = .element(.success(element))
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:155:40: warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | group.addTask {
154 | do {
155 | for try await element in other2 {
| `- warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 | othersState.withCriticalRegion { state in
157 | state.other2State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:156:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 | do {
155 | for try await element in other2 {
156 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 | state.other2State = .element(.success(element))
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
173 | guard !shouldReturnNil else { return nil }
174 |
175 | return try await withTaskCancellationHandler { [isTerminated, othersTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 | isTerminated.withCriticalRegion { isTerminated in
177 | isTerminated = true
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[349/384] Compiling AsyncExtensions AsyncMergeSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:42:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 | regulator2.requestNextRegulatedElement()
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:43:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
43 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:49:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | await withTaskGroup(of: Void.self) { group in
48 | group.addTask {
49 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:53:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 | group.addTask {
53 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:71:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:72:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 | regulator3.requestNextRegulatedElement()
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:73:7: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:79:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | await withTaskGroup(of: Void.self) { group in
78 | group.addTask {
79 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:83:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 |
82 | group.addTask {
83 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:87:17: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
85 |
86 | group.addTask {
87 | await regulator3.iterate()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:107:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | let immutableRegulators = regulators
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | regulator.requestNextRegulatedElement()
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:116:19: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 | for regulators in immutableRegulators {
115 | group.addTask {
116 | await regulators.iterate()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:114:13: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | self.task = Task {
113 | await withTaskGroup(of: Void.self) { group in
114 | for regulators in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | group.addTask {
116 | await regulators.iterate()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
196 |
197 | func next() async -> RegulatedElement<Element> {
198 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 | self.unsuspendAndClearOnCancel()
200 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:140:40: warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | group.addTask {
139 | do {
140 | for try await element in other1 {
| `- warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | othersState.withCriticalRegion { state in
142 | state.other1State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:141:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 | do {
140 | for try await element in other1 {
141 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
142 | state.other1State = .element(.success(element))
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:155:40: warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | group.addTask {
154 | do {
155 | for try await element in other2 {
| `- warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 | othersState.withCriticalRegion { state in
157 | state.other2State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:156:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 | do {
155 | for try await element in other2 {
156 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 | state.other2State = .element(.success(element))
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
173 | guard !shouldReturnNil else { return nil }
174 |
175 | return try await withTaskCancellationHandler { [isTerminated, othersTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 | isTerminated.withCriticalRegion { isTerminated in
177 | isTerminated = true
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[350/384] Compiling AsyncExtensions MergeStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:42:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 | regulator2.requestNextRegulatedElement()
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:43:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
43 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:49:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | await withTaskGroup(of: Void.self) { group in
48 | group.addTask {
49 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:53:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 | group.addTask {
53 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:71:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:72:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 | regulator3.requestNextRegulatedElement()
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:73:7: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:79:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | await withTaskGroup(of: Void.self) { group in
78 | group.addTask {
79 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:83:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 |
82 | group.addTask {
83 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:87:17: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
85 |
86 | group.addTask {
87 | await regulator3.iterate()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:107:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | let immutableRegulators = regulators
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | regulator.requestNextRegulatedElement()
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:116:19: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 | for regulators in immutableRegulators {
115 | group.addTask {
116 | await regulators.iterate()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:114:13: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | self.task = Task {
113 | await withTaskGroup(of: Void.self) { group in
114 | for regulators in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | group.addTask {
116 | await regulators.iterate()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
196 |
197 | func next() async -> RegulatedElement<Element> {
198 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 | self.unsuspendAndClearOnCancel()
200 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:140:40: warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | group.addTask {
139 | do {
140 | for try await element in other1 {
| `- warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | othersState.withCriticalRegion { state in
142 | state.other1State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:141:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 | do {
140 | for try await element in other1 {
141 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
142 | state.other1State = .element(.success(element))
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:155:40: warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | group.addTask {
154 | do {
155 | for try await element in other2 {
| `- warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 | othersState.withCriticalRegion { state in
157 | state.other2State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:156:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 | do {
155 | for try await element in other2 {
156 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 | state.other2State = .element(.success(element))
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
173 | guard !shouldReturnNil else { return nil }
174 |
175 | return try await withTaskCancellationHandler { [isTerminated, othersTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 | isTerminated.withCriticalRegion { isTerminated in
177 | isTerminated = true
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[351/384] Compiling AsyncExtensions AsyncWithLatestFrom2Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:42:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
43 | regulator2.requestNextRegulatedElement()
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:43:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
41 | self.requestNextRegulatedElements = {
42 | regulator1.requestNextRegulatedElement()
43 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
44 | }
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:49:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | await withTaskGroup(of: Void.self) { group in
48 | group.addTask {
49 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | }
51 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:38:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
36 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 2))
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:53:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
51 |
52 | group.addTask {
53 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
54 | }
55 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:39:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
37 |
38 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
39 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
40 |
41 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:71:7: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:72:7: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
70 | self.requestNextRegulatedElements = {
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
73 | regulator3.requestNextRegulatedElement()
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:73:7: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
71 | regulator1.requestNextRegulatedElement()
72 | regulator2.requestNextRegulatedElement()
73 | regulator3.requestNextRegulatedElement()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:79:17: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
77 | await withTaskGroup(of: Void.self) { group in
78 | group.addTask {
79 | await regulator1.iterate()
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
80 | }
81 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:66:9: warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
64 | self.state = ManagedCriticalState(State(buffer: .idle, basesToTerminate: 3))
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base1.Type' in an isolated closure; this is an error in the Swift 6 language mode
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:83:17: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
81 |
82 | group.addTask {
83 | await regulator2.iterate()
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:67:9: warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
65 |
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base2.Type' in an isolated closure; this is an error in the Swift 6 language mode
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
69 |
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:87:17: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
85 |
86 | group.addTask {
87 | await regulator3.iterate()
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
88 | }
89 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:68:9: warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
66 | let regulator1 = Regulator(base1, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
67 | let regulator2 = Regulator(base2, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
68 | let regulator3 = Regulator(base3, onNextRegulatedElement: { [state] in Self.onNextRegulatedElement($0, state: state) })
| `- warning: capture of non-sendable type 'Base3.Type' in an isolated closure; this is an error in the Swift 6 language mode
69 |
70 | self.requestNextRegulatedElements = {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:107:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | let immutableRegulators = regulators
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | regulator.requestNextRegulatedElement()
109 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:105:9: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 | }
104 |
105 | let immutableRegulators = regulators
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | self.requestNextRegulatedElements = {
107 | for regulator in immutableRegulators {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:116:19: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
114 | for regulators in immutableRegulators {
115 | group.addTask {
116 | await regulators.iterate()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
117 | }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:114:13: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
112 | self.task = Task {
113 | await withTaskGroup(of: Void.self) { group in
114 | for regulators in immutableRegulators {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
115 | group.addTask {
116 | await regulators.iterate()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Merge/MergeStateMachine.swift:198:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
196 |
197 | func next() async -> RegulatedElement<Element> {
198 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
199 | self.unsuspendAndClearOnCancel()
200 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:140:40: warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | group.addTask {
139 | do {
140 | for try await element in other1 {
| `- warning: capture of non-sendable type 'Other1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | othersState.withCriticalRegion { state in
142 | state.other1State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:141:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
139 | do {
140 | for try await element in other1 {
141 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
142 | state.other1State = .element(.success(element))
143 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:155:40: warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
153 | group.addTask {
154 | do {
155 | for try await element in other2 {
| `- warning: capture of non-sendable type 'Other2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
156 | othersState.withCriticalRegion { state in
157 | state.other2State = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:156:29: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
154 | do {
155 | for try await element in other2 {
156 | othersState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
157 | state.other2State = .element(.success(element))
158 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:136:33: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
134 |
135 | mutating func startOthers() {
136 | self.othersTask = Task { [othersState, other1, other2, onOther1Element, onOther2Element] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
137 | await withTaskGroup(of: Void.self) { group in
138 | group.addTask {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift:175:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
173 | guard !shouldReturnNil else { return nil }
174 |
175 | return try await withTaskCancellationHandler { [isTerminated, othersTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
176 | isTerminated.withCriticalRegion { isTerminated in
177 | isTerminated = true
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[352/384] Compiling AsyncExtensions AsyncSwitchToLatestSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:34: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:11: warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
222 | self.startBase()
223 |
224 | return try await withTaskCancellationHandler { [baseTask, state] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 | baseTask?.cancel()
226 | state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
48 |
49 | func iterate() async {
50 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
51 | self.unsuspendAndExitOnCancel()
52 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:51:7: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | func iterate() async {
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | } operation: {
53 | var mutableBase = base.makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:49:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | }
48 |
49 | func iterate() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[353/384] Compiling AsyncExtensions ManagedCriticalState.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:34: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:11: warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
222 | self.startBase()
223 |
224 | return try await withTaskCancellationHandler { [baseTask, state] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 | baseTask?.cancel()
226 | state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
48 |
49 | func iterate() async {
50 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
51 | self.unsuspendAndExitOnCancel()
52 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:51:7: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | func iterate() async {
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | } operation: {
53 | var mutableBase = base.makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:49:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | }
48 |
49 | func iterate() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[354/384] Compiling AsyncExtensions Regulator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:34: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:11: warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
222 | self.startBase()
223 |
224 | return try await withTaskCancellationHandler { [baseTask, state] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 | baseTask?.cancel()
226 | state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
48 |
49 | func iterate() async {
50 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
51 | self.unsuspendAndExitOnCancel()
52 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:51:7: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | func iterate() async {
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | } operation: {
53 | var mutableBase = base.makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:49:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | }
48 |
49 | func iterate() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[355/384] Compiling AsyncExtensions Result+ErrorMechanism.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:34: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:140:11: warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
138 | self.baseTask = Task { [base, state] in
139 | do {
140 | for try await child in base {
| `- warning: capture of non-sendable type 'Base.Element.Type' in an isolated closure; this is an error in the Swift 6 language mode
141 | let childIterator = child.makeAsyncIterator()
142 | let decision = state.withCriticalRegion { state -> BaseDecision in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncSwitchToLatestSequence.swift:224:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
222 | self.startBase()
223 |
224 | return try await withTaskCancellationHandler { [baseTask, state] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
225 | baseTask?.cancel()
226 | state.withCriticalRegion {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:50:11: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
48 |
49 | func iterate() async {
50 | await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
51 | self.unsuspendAndExitOnCancel()
52 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:51:7: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
49 | func iterate() async {
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
52 | } operation: {
53 | var mutableBase = base.makeAsyncIterator()
/Users/admin/builder/spi-builder-workspace/Sources/Supporting/Regulator.swift:49:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
47 | }
48 |
49 | func iterate() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
50 | await withTaskCancellationHandler {
51 | self.unsuspendAndExitOnCancel()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[356/384] Compiling AsyncExtensions Zip2StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:95:39: warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 |
94 | group.addTask {
95 | var base3Iterator = base3.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 |
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
186 |
187 | func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 | let output = self.stateMachine.withCriticalRegion { stateMachine in
190 | stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:28:39: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |
27 | group.addTask {
28 | var baseIterator = base.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 |
30 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
120 |
121 | func next() async rethrows -> [Base.Element]? {
122 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 | let output = self.stateMachine.withCriticalRegion { stateMachine in
124 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[357/384] Compiling AsyncExtensions Zip3Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:95:39: warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 |
94 | group.addTask {
95 | var base3Iterator = base3.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 |
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
186 |
187 | func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 | let output = self.stateMachine.withCriticalRegion { stateMachine in
190 | stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:28:39: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |
27 | group.addTask {
28 | var baseIterator = base.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 |
30 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
120 |
121 | func next() async rethrows -> [Base.Element]? {
122 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 | let output = self.stateMachine.withCriticalRegion { stateMachine in
124 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[358/384] Compiling AsyncExtensions Zip3StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:95:39: warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 |
94 | group.addTask {
95 | var base3Iterator = base3.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 |
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
186 |
187 | func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 | let output = self.stateMachine.withCriticalRegion { stateMachine in
190 | stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:28:39: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |
27 | group.addTask {
28 | var baseIterator = base.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 |
30 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
120 |
121 | func next() async rethrows -> [Base.Element]? {
122 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 | let output = self.stateMachine.withCriticalRegion { stateMachine in
124 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[359/384] Compiling AsyncExtensions ZipRuntime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:95:39: warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 |
94 | group.addTask {
95 | var base3Iterator = base3.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 |
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
186 |
187 | func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 | let output = self.stateMachine.withCriticalRegion { stateMachine in
190 | stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:28:39: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |
27 | group.addTask {
28 | var baseIterator = base.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 |
30 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
120 |
121 | func next() async rethrows -> [Base.Element]? {
122 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 | let output = self.stateMachine.withCriticalRegion { stateMachine in
124 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[360/384] Compiling AsyncExtensions ZipStateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:95:39: warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
93 |
94 | group.addTask {
95 | var base3Iterator = base3.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base3.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
96 |
97 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip3Runtime.swift:188:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
186 |
187 | func next() async rethrows -> (Base1.Element, Base2.Element, Base3.Element)? {
188 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
189 | let output = self.stateMachine.withCriticalRegion { stateMachine in
190 | stateMachine.rootTaskIsCancelled()
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:28:39: warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 |
27 | group.addTask {
28 | var baseIterator = base.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 |
30 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/ZipRuntime.swift:122:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
120 |
121 | func next() async rethrows -> [Base.Element]? {
122 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
123 | let output = self.stateMachine.withCriticalRegion { stateMachine in
124 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[361/384] Compiling AsyncExtensions AsyncMulticastSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:109:50: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
107 | func next() async {
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | switch state {
111 | case .available(let iterator):
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:107:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | func next() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:28:18: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 | /// - Parameter element: The element to prepend.
27 | /// - Returns: The async sequence prepended with the element.
28 | func prepend(_ element: @Sendable @autoclosure @escaping () -> Element) -> AsyncPrependSequence<Self> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | AsyncPrependSequence(self, prependElement: element())
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:51:28: warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
49 | Iterator(
50 | base: self.base.makeAsyncIterator(),
51 | prependElement: self.prependElement
| |- warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
| `- note: type 'Base.Element' does not conform to 'Sendable' protocol
52 | )
53 | }
[362/384] Compiling AsyncExtensions AsyncPrependSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:109:50: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
107 | func next() async {
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | switch state {
111 | case .available(let iterator):
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:107:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | func next() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:28:18: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 | /// - Parameter element: The element to prepend.
27 | /// - Returns: The async sequence prepended with the element.
28 | func prepend(_ element: @Sendable @autoclosure @escaping () -> Element) -> AsyncPrependSequence<Self> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | AsyncPrependSequence(self, prependElement: element())
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:51:28: warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
49 | Iterator(
50 | base: self.base.makeAsyncIterator(),
51 | prependElement: self.prependElement
| |- warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
| `- note: type 'Base.Element' does not conform to 'Sendable' protocol
52 | )
53 | }
[363/384] Compiling AsyncExtensions AsyncScanSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:109:50: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
107 | func next() async {
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | switch state {
111 | case .available(let iterator):
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:107:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | func next() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:28:18: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 | /// - Parameter element: The element to prepend.
27 | /// - Returns: The async sequence prepended with the element.
28 | func prepend(_ element: @Sendable @autoclosure @escaping () -> Element) -> AsyncPrependSequence<Self> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | AsyncPrependSequence(self, prependElement: element())
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:51:28: warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
49 | Iterator(
50 | base: self.base.makeAsyncIterator(),
51 | prependElement: self.prependElement
| |- warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
| `- note: type 'Base.Element' does not conform to 'Sendable' protocol
52 | )
53 | }
[364/384] Compiling AsyncExtensions AsyncSequence+Assign.swift
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:109:50: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
107 | func next() async {
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
110 | switch state {
111 | case .available(let iterator):
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncMulticastSequence.swift:107:8: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | }
106 |
107 | func next() async {
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | await Task {
109 | let (canAccessBase, iterator) = self.state.withCriticalRegion { state -> (Bool, Base.AsyncIterator?) in
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:28:18: warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
26 | /// - Parameter element: The element to prepend.
27 | /// - Returns: The async sequence prepended with the element.
28 | func prepend(_ element: @Sendable @autoclosure @escaping () -> Element) -> AsyncPrependSequence<Self> {
| `- warning: capture of non-sendable type 'Self.Type' in an isolated closure; this is an error in the Swift 6 language mode
29 | AsyncPrependSequence(self, prependElement: element())
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Operators/AsyncPrependSequence.swift:51:28: warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
49 | Iterator(
50 | base: self.base.makeAsyncIterator(),
51 | prependElement: self.prependElement
| |- warning: cannot convert '@Sendable () -> Base.Element' to '() async throws -> Base.Element' because crossing of an isolation boundary requires parameter and result types to conform to 'Sendable' protocol; this will be an error in a future Swift language mode
| `- note: type 'Base.Element' does not conform to 'Sendable' protocol
52 | )
53 | }
[365/384] Compiling AsyncExtensions AsyncStream+Pipe.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
79 |
80 | public mutating func next() async -> Element? {
81 | await withTaskCancellationHandler { [task] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 | task.cancel()
83 | } operation: {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[366/384] Compiling AsyncExtensions AsyncThrowingJustSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
79 |
80 | public mutating func next() async -> Element? {
81 | await withTaskCancellationHandler { [task] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 | task.cancel()
83 | } operation: {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[367/384] Compiling AsyncExtensions AsyncTimerSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
79 |
80 | public mutating func next() async -> Element? {
81 | await withTaskCancellationHandler { [task] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 | task.cancel()
83 | } operation: {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[368/384] Compiling AsyncExtensions AsyncHandleEventsSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
79 |
80 | public mutating func next() async -> Element? {
81 | await withTaskCancellationHandler { [task] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 | task.cancel()
83 | } operation: {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[369/384] Compiling AsyncExtensions AsyncMapToResultSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Creators/AsyncTimerSequence.swift:81:13: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
79 |
80 | public mutating func next() async -> Element? {
81 | await withTaskCancellationHandler { [task] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
82 | task.cancel()
83 | } operation: {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[370/384] Compiling AsyncExtensions AsyncSubject.swift
[371/384] Compiling AsyncExtensions AsyncThrowingCurrentValueSubject.swift
[372/384] Compiling AsyncExtensions AsyncThrowingPassthroughSubject.swift
[373/384] Compiling AsyncExtensions AsyncThrowingReplaySubject.swift
[374/384] Compiling AsyncExtensions Streamed.swift
[375/384] Compiling AsyncExtensions AsyncWithLatestFromSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:107:36: warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
106 | do {
107 | for try await element in other {
| `- warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | otherState.withCriticalRegion { state in
109 | state = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:108:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
108 | otherState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
109 | state = .element(.success(element))
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:105:39: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |
104 | mutating func startOther() {
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
122 | guard !self.isTerminated else { return nil }
123 |
124 | return try await withTaskCancellationHandler { [otherTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 | otherTask?.cancel()
126 | } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
148 |
149 | func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 | let output = self.stateMachine.withCriticalRegion { stateMachine in
152 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[376/384] Compiling AsyncExtensions AsyncZip2Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:107:36: warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
106 | do {
107 | for try await element in other {
| `- warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | otherState.withCriticalRegion { state in
109 | state = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:108:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
108 | otherState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
109 | state = .element(.success(element))
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:105:39: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |
104 | mutating func startOther() {
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
122 | guard !self.isTerminated else { return nil }
123 |
124 | return try await withTaskCancellationHandler { [otherTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 | otherTask?.cancel()
126 | } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
148 |
149 | func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 | let output = self.stateMachine.withCriticalRegion { stateMachine in
152 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[377/384] Compiling AsyncExtensions AsyncZip3Sequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:107:36: warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
106 | do {
107 | for try await element in other {
| `- warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | otherState.withCriticalRegion { state in
109 | state = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:108:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
108 | otherState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
109 | state = .element(.success(element))
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:105:39: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |
104 | mutating func startOther() {
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
122 | guard !self.isTerminated else { return nil }
123 |
124 | return try await withTaskCancellationHandler { [otherTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 | otherTask?.cancel()
126 | } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
148 |
149 | func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 | let output = self.stateMachine.withCriticalRegion { stateMachine in
152 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[378/384] Compiling AsyncExtensions AsyncZipSequence.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:107:36: warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
106 | do {
107 | for try await element in other {
| `- warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | otherState.withCriticalRegion { state in
109 | state = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:108:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
108 | otherState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
109 | state = .element(.success(element))
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:105:39: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |
104 | mutating func startOther() {
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
122 | guard !self.isTerminated else { return nil }
123 |
124 | return try await withTaskCancellationHandler { [otherTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 | otherTask?.cancel()
126 | } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
148 |
149 | func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 | let output = self.stateMachine.withCriticalRegion { stateMachine in
152 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[379/384] Compiling AsyncExtensions Zip2Runtime.swift
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:107:36: warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
106 | do {
107 | for try await element in other {
| `- warning: capture of non-sendable type 'Other.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
108 | otherState.withCriticalRegion { state in
109 | state = .element(.success(element))
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:108:24: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
108 | otherState.withCriticalRegion { state in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
109 | state = .element(.success(element))
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:105:39: warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
103 |
104 | mutating func startOther() {
105 | self.otherTask = Task { [other, otherState, onOtherElement] in
| `- warning: capture of non-sendable type 'Base.Type' in an isolated closure; this is an error in the Swift 6 language mode
106 | do {
107 | for try await element in other {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift:124:24: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
122 | guard !self.isTerminated else { return nil }
123 |
124 | return try await withTaskCancellationHandler { [otherTask] in
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
125 | otherTask?.cancel()
126 | } operation: { [otherTask, otherState, onBaseElement] in
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:19:39: warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
17 | await withTaskGroup(of: Void.self) { group in
18 | group.addTask {
19 | var base1Iterator = base1.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base1.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
20 |
21 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:57:39: warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
55 |
56 | group.addTask {
57 | var base2Iterator = base2.makeAsyncIterator()
| `- warning: capture of non-sendable type 'Base2.AsyncIterator.Type' in an isolated closure; this is an error in the Swift 6 language mode
58 |
59 | do {
/Users/admin/builder/spi-builder-workspace/Sources/Combiners/Zip/Zip2Runtime.swift:150:15: warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
148 |
149 | func next() async rethrows -> (Base1.Element, Base2.Element)? {
150 | try await withTaskCancellationHandler {
| |- warning: 'withTaskCancellationHandler(handler:operation:)' is deprecated: renamed to 'withTaskCancellationHandler(operation:onCancel:)' [#DeprecatedDeclaration]
| `- note: use 'withTaskCancellationHandler(operation:onCancel:)' instead
151 | let output = self.stateMachine.withCriticalRegion { stateMachine in
152 | stateMachine.rootTaskIsCancelled()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[380/384] Compiling AsyncExtensions Termination.swift
[381/384] Compiling AsyncExtensions AsyncEmptySequence.swift
[382/384] Compiling AsyncExtensions AsyncFailSequence.swift
[383/384] Compiling AsyncExtensions AsyncJustSequence.swift
[384/384] Compiling AsyncExtensions AsyncLazySequence.swift
Build complete! (10.03s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.67s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (2.21s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
}
],
"manifest_display_name" : "AsyncExtensions",
"name" : "AsyncExtensions",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "AsyncExtensions",
"targets" : [
"AsyncExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "AsyncExtensionsTests",
"path" : "Tests",
"sources" : [
"AsyncChannels/AsyncBufferedChannelTests.swift",
"AsyncChannels/AsyncBufferedThrowingChannelTests.swift",
"AsyncSubjets/AsyncCurrentValueSubjectTests.swift",
"AsyncSubjets/AsyncPassthroughSubjectTests.swift",
"AsyncSubjets/AsyncReplaySubjectTests.swift",
"AsyncSubjets/AsyncThrowingCurrentValueSubjectTests.swift",
"AsyncSubjets/AsyncThrowingPassthroughSubjectTests.swift",
"AsyncSubjets/AsyncThrowingReplaySubjectTests.swift",
"AsyncSubjets/StreamedTests.swift",
"Combiners/Merge/AsyncMergeSequenceTests.swift",
"Combiners/WithLatestFrom/AsyncWithLatestFrom2SequenceTests.swift",
"Combiners/WithLatestFrom/AsyncWithLatestFromSequenceTests.swift",
"Combiners/Zip/AsyncZipSequenceTests.swift",
"Creators/AsyncEmptySequenceTests.swift",
"Creators/AsyncFailSequenceTests.swift",
"Creators/AsyncJustSequenceTests.swift",
"Creators/AsyncLazySequenceTests.swift",
"Creators/AsyncStream+PipeTests.swift",
"Creators/AsyncThrowingJustSequenceTests.swift",
"Creators/AsyncTimerSequenceTests.swift",
"Operators/AsyncHandleEventsSequenceTests.swift",
"Operators/AsyncMapToResultSequenceTests.swift",
"Operators/AsyncMulticastSequenceTests.swift",
"Operators/AsyncPrependSequenceTests.swift",
"Operators/AsyncScanSequenceTests.swift",
"Operators/AsyncSequence+AssignTests.swift",
"Operators/AsyncSequence+CollectTests.swift",
"Operators/AsyncSequence+EraseToAnyAsyncSequenceTests.swift",
"Operators/AsyncSequence+FlatMapLatestTests.swift",
"Operators/AsyncSequence+ShareTests.swift",
"Operators/AsyncSwitchToLatestSequenceTests.swift",
"Supporting/Helpers.swift"
],
"target_dependencies" : [
"AsyncExtensions"
],
"type" : "test"
},
{
"c99name" : "AsyncExtensions",
"module_type" : "SwiftTarget",
"name" : "AsyncExtensions",
"path" : "Sources",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"AsyncExtensions"
],
"sources" : [
"AsyncChannels/AsyncBufferedChannel.swift",
"AsyncChannels/AsyncThrowingBufferedChannel.swift",
"AsyncSubjects/AsyncCurrentValueSubject.swift",
"AsyncSubjects/AsyncPassthroughSubject.swift",
"AsyncSubjects/AsyncReplaySubject.swift",
"AsyncSubjects/AsyncSubject.swift",
"AsyncSubjects/AsyncThrowingCurrentValueSubject.swift",
"AsyncSubjects/AsyncThrowingPassthroughSubject.swift",
"AsyncSubjects/AsyncThrowingReplaySubject.swift",
"AsyncSubjects/Streamed.swift",
"Combiners/Merge/AsyncMerge2Sequence.swift",
"Combiners/Merge/AsyncMerge3Sequence.swift",
"Combiners/Merge/AsyncMergeSequence.swift",
"Combiners/Merge/MergeStateMachine.swift",
"Combiners/WithLatestFrom/AsyncWithLatestFrom2Sequence.swift",
"Combiners/WithLatestFrom/AsyncWithLatestFromSequence.swift",
"Combiners/Zip/AsyncZip2Sequence.swift",
"Combiners/Zip/AsyncZip3Sequence.swift",
"Combiners/Zip/AsyncZipSequence.swift",
"Combiners/Zip/Zip2Runtime.swift",
"Combiners/Zip/Zip2StateMachine.swift",
"Combiners/Zip/Zip3Runtime.swift",
"Combiners/Zip/Zip3StateMachine.swift",
"Combiners/Zip/ZipRuntime.swift",
"Combiners/Zip/ZipStateMachine.swift",
"Common/Termination.swift",
"Creators/AsyncEmptySequence.swift",
"Creators/AsyncFailSequence.swift",
"Creators/AsyncJustSequence.swift",
"Creators/AsyncLazySequence.swift",
"Creators/AsyncStream+Pipe.swift",
"Creators/AsyncThrowingJustSequence.swift",
"Creators/AsyncTimerSequence.swift",
"Operators/AsyncHandleEventsSequence.swift",
"Operators/AsyncMapToResultSequence.swift",
"Operators/AsyncMulticastSequence.swift",
"Operators/AsyncPrependSequence.swift",
"Operators/AsyncScanSequence.swift",
"Operators/AsyncSequence+Assign.swift",
"Operators/AsyncSequence+Collect.swift",
"Operators/AsyncSequence+EraseToAnyAsyncSequence.swift",
"Operators/AsyncSequence+FlatMapLatest.swift",
"Operators/AsyncSequence+Share.swift",
"Operators/AsyncSwitchToLatestSequence.swift",
"Supporting/ManagedCriticalState.swift",
"Supporting/Regulator.swift",
"Supporting/Result+ErrorMechanism.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.