Build Information
Successful build of reactiveswift-composable-architecture, reference 0.50.0 (c3f39b
), with Swift 6.1 for Linux on 27 Apr 2025 09:08:28 UTC.
Swift 6 data race errors: 17
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:658:31: warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
599 |
600 | private final class ScopedReducer<
601 | RootState, RootAction, ScopedState, ScopedAction
| `- note: 'ScopedAction' previously declared here
602 | >: ReducerProtocol {
603 | let rootStore: Store<RootState, RootAction>
:
656 | extension ScopedReducer: AnyScopedReducer {
657 | @inlinable
658 | func rescope<ScopedState, ScopedAction, RescopedState, RescopedAction>(
| `- warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
659 | _ store: Store<ScopedState, ScopedAction>,
660 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:441:21: warning: capture of 'tasks' with non-sendable type 'Box<[Task<Void, Never>]>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
439 | }
440 | } onCancel: {
441 | var index = tasks.wrappedValue.startIndex
| `- warning: capture of 'tasks' with non-sendable type 'Box<[Task<Void, Never>]>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
442 | while index < tasks.wrappedValue.endIndex {
443 | defer { index += 1 }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:411:13: warning: sending 'effectDisposable' risks causing data races; this is an error in the Swift 6 language mode
409 | let task = Task<Void, Never> { @MainActor in
410 | for await _ in AsyncStream<Void>.never {}
411 | effectDisposable.dispose()
| |- warning: sending 'effectDisposable' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'effectDisposable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
412 | }
413 | boxedTask.wrappedValue = task
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:419:36: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
417 | case let .run(priority, operation):
418 | tasks.wrappedValue.append(
419 | Task(priority: priority) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 | await operation(
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
| `- note: closure captures 'self' which is accessible to code in the current task
423 | tasks.wrappedValue.append(task)
424 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:433:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
431 |
432 | guard !tasks.wrappedValue.isEmpty else { return nil }
433 | return Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
434 | await withTaskCancellationHandler {
435 | var index = tasks.wrappedValue.startIndex
| `- note: closure captures 'tasks' which is accessible to code in the current task
436 | while index < tasks.wrappedValue.endIndex {
437 | defer { index += 1 }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:422:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
420 | await operation(
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
423 | tasks.wrappedValue.append(task)
424 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:422:62: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
420 | await operation(
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
423 | tasks.wrappedValue.append(task)
424 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:423:19: warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
423 | tasks.wrappedValue.append(task)
| |- warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'tasks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
424 | }
425 | }
[406/425] Compiling ComposableArchitecture ActionWrappingScheduler.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:658:18: warning: generic parameter 'ScopedState' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
599 |
600 | private final class ScopedReducer<
601 | RootState, RootAction, ScopedState, ScopedAction
| `- note: 'ScopedState' previously declared here
602 | >: ReducerProtocol {
603 | let rootStore: Store<RootState, RootAction>
:
656 | extension ScopedReducer: AnyScopedReducer {
657 | @inlinable
658 | func rescope<ScopedState, ScopedAction, RescopedState, RescopedAction>(
| `- warning: generic parameter 'ScopedState' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
659 | _ store: Store<ScopedState, ScopedAction>,
660 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:658:31: warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
599 |
600 | private final class ScopedReducer<
601 | RootState, RootAction, ScopedState, ScopedAction
| `- note: 'ScopedAction' previously declared here
602 | >: ReducerProtocol {
603 | let rootStore: Store<RootState, RootAction>
:
656 | extension ScopedReducer: AnyScopedReducer {
657 | @inlinable
658 | func rescope<ScopedState, ScopedAction, RescopedState, RescopedAction>(
| `- warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
659 | _ store: Store<ScopedState, ScopedAction>,
660 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:441:21: warning: capture of 'tasks' with non-sendable type 'Box<[Task<Void, Never>]>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
439 | }
440 | } onCancel: {
441 | var index = tasks.wrappedValue.startIndex
| `- warning: capture of 'tasks' with non-sendable type 'Box<[Task<Void, Never>]>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
442 | while index < tasks.wrappedValue.endIndex {
443 | defer { index += 1 }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:411:13: warning: sending 'effectDisposable' risks causing data races; this is an error in the Swift 6 language mode
409 | let task = Task<Void, Never> { @MainActor in
410 | for await _ in AsyncStream<Void>.never {}
411 | effectDisposable.dispose()
| |- warning: sending 'effectDisposable' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'effectDisposable' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
412 | }
413 | boxedTask.wrappedValue = task
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:419:36: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
417 | case let .run(priority, operation):
418 | tasks.wrappedValue.append(
419 | Task(priority: priority) {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
420 | await operation(
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
| `- note: closure captures 'self' which is accessible to code in the current task
423 | tasks.wrappedValue.append(task)
424 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:433:17: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
431 |
432 | guard !tasks.wrappedValue.isEmpty else { return nil }
433 | return Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
434 | await withTaskCancellationHandler {
435 | var index = tasks.wrappedValue.startIndex
| `- note: closure captures 'tasks' which is accessible to code in the current task
436 | while index < tasks.wrappedValue.endIndex {
437 | defer { index += 1 }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:422:31: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
420 | await operation(
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
423 | tasks.wrappedValue.append(task)
424 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:422:62: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
420 | await operation(
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
423 | tasks.wrappedValue.append(task)
424 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:423:19: warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
421 | Send {
422 | if let task = self.send($0, originatingFrom: action) {
423 | tasks.wrappedValue.append(task)
| |- warning: sending 'tasks' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'tasks' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
424 | }
425 | }
[407/425] Compiling ComposableArchitecture SignalProducer.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[408/425] Compiling ComposableArchitecture TaskResult.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[409/425] Compiling ComposableArchitecture Binding+IsPresent.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[410/425] Compiling ComposableArchitecture Box.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[411/425] Compiling ComposableArchitecture Breakpoint.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[412/425] Compiling ComposableArchitecture CurrentValueRelay.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[413/425] Compiling ComposableArchitecture Debug.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[414/425] Compiling ComposableArchitecture Deprecations.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:675:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
673 | }
674 | continuation.onTermination = { @Sendable _ in
675 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
676 | }
677 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
2 |
3 | @available(iOS, deprecated: 9999.0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:697:11: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
695 | }
696 | continuation.onTermination = { @Sendable _ in
697 | disposable.dispose()
| `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
698 | }
699 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Disposable.swift:11:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
9 | /// Represents something that can be “disposed”, usually associated with freeing
10 | /// resources or canceling work.
11 | public protocol Disposable: AnyObject {
| `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
12 | /// Whether this disposable has been disposed already.
13 | var isDisposed: Bool { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
563 | let output = try await operation()
| `- warning: non-sendable result type 'Action' cannot be sent from nonisolated context in call to parameter 'operation'; this is an error in the Swift 6 language mode
564 | try Task.checkCancellation()
565 | observer.send(value: output)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:58:30: note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
56 | """
57 | )
58 | public struct EffectProducer<Action, Failure: Error> {
| `- note: consider making generic parameter 'Action' conform to the 'Sendable' protocol
59 | @usableFromInline
60 | enum Operation {
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:18:19: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
16 | return SignalProducer { observer, lifetime in
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:666:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
664 | switch event {
665 | case .value(let value):
666 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
667 | case .completed,
668 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:688:26: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
686 | switch event {
687 | case .value(let value):
688 | continuation.yield(value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
689 | case .completed,
690 | .interrupted:
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:41:22: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
39 | var value = self.value
40 | defer { self.value = value }
41 | return try await operation(&value)
| |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending 'self'-isolated 'value' to nonisolated callee risks causing data races between nonisolated and 'self'-isolated uses
42 | }
43 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:565:13: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
563 | let output = try await operation()
564 | try Task.checkCancellation()
565 | observer.send(value: output)
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
[415/425] Compiling ComposableArchitecture WithViewStore.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| |- warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(ViewState) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'AsyncStream<ViewState>' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[416/425] Compiling ComposableArchitecture TestStore.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| |- warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(ViewState) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'AsyncStream<ViewState>' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[417/425] Compiling ComposableArchitecture ImmediateScheduler.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| |- warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(ViewState) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'AsyncStream<ViewState>' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[418/425] Compiling ComposableArchitecture AlertStateUIKit.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| |- warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(ViewState) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'AsyncStream<ViewState>' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[419/425] Compiling ComposableArchitecture IfLetUIKit.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| |- warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(ViewState) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'AsyncStream<ViewState>' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[420/425] Compiling ComposableArchitecture UIKitAnimationScheduler.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| |- warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(ViewState) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'AsyncStream<ViewState>' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[421/425] Compiling ComposableArchitecture ViewStore.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable result type 'ViewState?' cannot be sent from nonisolated context in call to instance method 'first(where:)'; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| |- warning: sending value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type '(ViewState) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(ViewState) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| |- warning: sending value of non-Sendable type 'AsyncStream<ViewState>' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'AsyncStream<ViewState>' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[422/426] Wrapping AST for ComposableArchitecture for debugging
[424/433] Compiling swift_composable_architecture_benchmark main.swift
[425/433] Compiling swift_composable_architecture_benchmark ViewStore.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:9:5: warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| `- warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let store = Store(
11 | initialState: 0,
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
:
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| |- note: add '@MainActor' to make let 'viewStoreSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[426/433] Compiling swift_composable_architecture_benchmark Effects.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: add '@MainActor' to make let 'effectSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
[427/433] Emitting module swift_composable_architecture_benchmark
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:7:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Dependencies
:
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: add '@MainActor' to make let 'dependenciesSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: add '@MainActor' to make let 'effectSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:18:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 |
:
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: add '@MainActor' to make let 'storeScopeSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:9:5: warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| `- warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let store = Store(
11 | initialState: 0,
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
:
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| |- note: add '@MainActor' to make let 'viewStoreSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[428/433] Compiling swift_composable_architecture_benchmark StoreScope.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:18:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 |
:
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: add '@MainActor' to make let 'storeScopeSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
[429/433] Compiling swift_composable_architecture_benchmark Common.swift
[430/433] Compiling swift_composable_architecture_benchmark Dependencies.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:7:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Dependencies
:
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: add '@MainActor' to make let 'dependenciesSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[431/434] Wrapping AST for swift-composable-architecture-benchmark for debugging
[432/434] Write Objects.LinkFileList
[433/434] Linking swift-composable-architecture-benchmark
Build complete! (65.28s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/swift-benchmark"
},
{
"identity" : "reactiveswift",
"requirement" : {
"range" : [
{
"lower_bound" : "7.1.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveCocoa/ReactiveSwift"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-dependencies",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-dependencies"
},
{
"identity" : "swift-identified-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-identified-collections"
},
{
"identity" : "swiftui-navigation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swiftui-navigation"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
}
],
"manifest_display_name" : "reactiveswift-composable-architecture",
"name" : "reactiveswift-composable-architecture",
"path" : "/host/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" : "ComposableArchitecture",
"targets" : [
"ComposableArchitecture"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-composable-architecture-benchmark",
"targets" : [
"swift-composable-architecture-benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_composable_architecture_benchmark",
"module_type" : "SwiftTarget",
"name" : "swift-composable-architecture-benchmark",
"path" : "Sources/swift-composable-architecture-benchmark",
"product_dependencies" : [
"Benchmark"
],
"product_memberships" : [
"swift-composable-architecture-benchmark"
],
"sources" : [
"Common.swift",
"Dependencies.swift",
"Effects.swift",
"StoreScope.swift",
"ViewStore.swift",
"main.swift"
],
"target_dependencies" : [
"ComposableArchitecture"
],
"type" : "executable"
},
{
"c99name" : "_CAsyncSupport",
"module_type" : "SystemLibraryTarget",
"name" : "_CAsyncSupport",
"path" : "Sources/_CAsyncSupport",
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "ComposableArchitectureTests",
"module_type" : "SwiftTarget",
"name" : "ComposableArchitectureTests",
"path" : "Tests/ComposableArchitectureTests",
"sources" : [
"BindingTests.swift",
"CompatibilityTests.swift",
"ComposableArchitectureTests.swift",
"DebugTests.swift",
"DependencyKeyWritingReducerTests.swift",
"DeprecatedTests.swift",
"EffectCancellationTests.swift",
"EffectDebounceTests.swift",
"EffectDeferredTests.swift",
"EffectFailureTests.swift",
"EffectOperationTests.swift",
"EffectRunTests.swift",
"EffectTaskTests.swift",
"EffectTests.swift",
"EffectThrottleTests.swift",
"ForEachReducerTests.swift",
"IfCaseLetReducerTests.swift",
"IfLetReducerTests.swift",
"MemoryManagementTests.swift",
"ReducerBuilderTests.swift",
"ReducerTests.swift",
"RuntimeWarningTests.swift",
"SchedulerTests.swift",
"ScopeTests.swift",
"SerialExecutor.swift",
"StoreTests.swift",
"TaskCancellationTests.swift",
"TaskResultTests.swift",
"TestStoreFailureTests.swift",
"TestStoreNonExhaustiveTests.swift",
"TestStoreTests.swift",
"TimerTests.swift",
"ViewStoreTests.swift",
"WithViewStoreAppTest.swift"
],
"target_dependencies" : [
"_CAsyncSupport",
"ComposableArchitecture"
],
"type" : "test"
},
{
"c99name" : "ComposableArchitecture",
"module_type" : "SwiftTarget",
"name" : "ComposableArchitecture",
"path" : "Sources/ComposableArchitecture",
"product_dependencies" : [
"CasePaths",
"CustomDump",
"Dependencies",
"IdentifiedCollections",
"OrderedCollections",
"ReactiveSwift",
"XCTestDynamicOverlay"
],
"product_memberships" : [
"ComposableArchitecture",
"swift-composable-architecture-benchmark"
],
"sources" : [
"Dependencies/MainQueue.swift",
"Effect.swift",
"Effects/Animation.swift",
"Effects/Cancellation.swift",
"Effects/Publisher/Debouncing.swift",
"Effects/Publisher/Deferring.swift",
"Effects/Publisher/Throttling.swift",
"Effects/Publisher/Timer.swift",
"Effects/SignalProducer.swift",
"Effects/TaskResult.swift",
"Internal/Binding+IsPresent.swift",
"Internal/Box.swift",
"Internal/Breakpoint.swift",
"Internal/CurrentValueRelay.swift",
"Internal/Debug.swift",
"Internal/Deprecations.swift",
"Internal/Exports.swift",
"Internal/Locking.swift",
"Internal/OpenExistential.swift",
"Internal/RuntimeWarnings.swift",
"Internal/TaskCancellableValue.swift",
"Internal/TypeName.swift",
"Reducer/AnyReducer/AnyReducer.swift",
"Reducer/AnyReducer/AnyReducerBinding.swift",
"Reducer/AnyReducer/AnyReducerCompatibility.swift",
"Reducer/AnyReducer/AnyReducerDebug.swift",
"Reducer/AnyReducer/AnyReducerSignpost.swift",
"Reducer/ReducerBuilder.swift",
"Reducer/Reducers/BindingReducer.swift",
"Reducer/Reducers/CombineReducers.swift",
"Reducer/Reducers/DebugReducer.swift",
"Reducer/Reducers/DependencyKeyWritingReducer.swift",
"Reducer/Reducers/EmptyReducer.swift",
"Reducer/Reducers/ForEachReducer.swift",
"Reducer/Reducers/IfCaseLetReducer.swift",
"Reducer/Reducers/IfLetReducer.swift",
"Reducer/Reducers/Optional.swift",
"Reducer/Reducers/Reduce.swift",
"Reducer/Reducers/Scope.swift",
"Reducer/Reducers/SignpostReducer.swift",
"ReducerProtocol.swift",
"SchedulerExtensions/SchedulerExtensions.swift",
"Store.swift",
"SwiftUI/ActionWrappingScheduler.swift",
"SwiftUI/Alert.swift",
"SwiftUI/Binding.swift",
"SwiftUI/ConfirmationDialog.swift",
"SwiftUI/ForEachStore.swift",
"SwiftUI/Identified.swift",
"SwiftUI/IfLetStore.swift",
"SwiftUI/SwitchStore.swift",
"SwiftUI/WithViewStore.swift",
"TestStore.swift",
"TestSupport/ImmediateScheduler.swift",
"UIKit/AlertStateUIKit.swift",
"UIKit/IfLetUIKit.swift",
"UIKit/UIKitAnimationScheduler.swift",
"ViewStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.