Build Information
Successful build of reactiveswift-composable-architecture with Swift 6.0 for Linux.
Swift 6 data race errors: 23
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| `- 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: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:565:13: warning: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import CasePaths
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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:20:17: warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
| |- warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'operation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | }
22 | lifetime += AnyDisposable {
/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:560:41: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
558 | var task: Task<(), Never>?
559 | let producer = SignalProducer<Action, Failure> { observer, lifetime in
560 | task = Task(priority: priority) { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
[366/381] 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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:19:29: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
| `- warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
20 | await operation(send)
21 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/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: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:565:13: warning: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import CasePaths
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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:20:17: warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
| |- warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'operation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | }
22 | lifetime += AnyDisposable {
/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:560:41: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
558 | var task: Task<(), Never>?
559 | let producer = SignalProducer<Action, Failure> { observer, lifetime in
560 | task = Task(priority: priority) { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
[367/381] 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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:19:29: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
| `- warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
20 | await operation(send)
21 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/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: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:565:13: warning: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import CasePaths
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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:20:17: warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
| |- warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'operation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | }
22 | lifetime += AnyDisposable {
/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:560:41: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
558 | var task: Task<(), Never>?
559 | let producer = SignalProducer<Action, Failure> { observer, lifetime in
560 | task = Task(priority: priority) { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
[368/381] 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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:19:29: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
| `- warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
20 | await operation(send)
21 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/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: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:565:13: warning: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import CasePaths
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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:20:17: warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
| |- warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'operation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | }
22 | lifetime += AnyDisposable {
/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:560:41: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
558 | var task: Task<(), Never>?
559 | let producer = SignalProducer<Action, Failure> { observer, lifetime in
560 | task = Task(priority: priority) { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
[369/381] 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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:19:29: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
| `- warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
20 | await operation(send)
21 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/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: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:565:13: warning: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import CasePaths
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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:20:17: warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
| |- warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'operation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | }
22 | lifetime += AnyDisposable {
/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:560:41: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
558 | var task: Task<(), Never>?
559 | let producer = SignalProducer<Action, Failure> { observer, lifetime in
560 | task = Task(priority: priority) { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
[370/381] 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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/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:18:19: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; 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: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated local function; this is an error in the Swift 6 language mode
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:19:29: warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
17 | let task = Task(priority: priority) { @MainActor in
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
| `- warning: capture of 'observer' with non-sendable type 'Signal<Action, Failure>.Observer' in an isolated closure; this is an error in the Swift 6 language mode
20 | await operation(send)
21 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:85:20: warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
83 | /// Any failure from the inner streams is propagated immediately to the flattened
84 | /// stream of values.
85 | public static let latest = FlattenStrategy(kind: .latest)
| |- warning: static property 'latest' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'latest' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
86 |
87 | /// Forward only events from the first inner stream that sends an event. Any other
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Flatten.swift:35:20: warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | /// Describes how a stream of inner streams should be flattened into a stream of values.
10 | public struct FlattenStrategy {
| `- note: consider making struct 'FlattenStrategy' conform to the 'Sendable' protocol
11 | fileprivate enum Kind {
12 | case concurrent(limit: UInt)
:
33 | /// Any failure from the inner streams is propagated immediately to the flattened
34 | /// stream of values.
35 | public static let merge = FlattenStrategy(kind: .concurrent(limit: .max))
| |- warning: static property 'merge' is not concurrency-safe because non-'Sendable' type 'FlattenStrategy' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'merge' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// The stream of streams is concatenated, so that only values from one inner stream
/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: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:565:13: warning: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; 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: capture of 'observer' with non-sendable type 'Signal<Action, any Error>.Observer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
566 | observer.sendCompleted()
567 | } catch is CancellationError {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Signal.Observer.swift:12:21: note: class 'Observer' does not conform to the 'Sendable' protocol
10 | /// An Observer is a simple wrapper around a function which can receive Events
11 | /// (typically from a Signal).
12 | public final class Observer: ReactiveSwift.Observer<Value, Error> {
| `- note: class 'Observer' does not conform to the 'Sendable' protocol
13 | public typealias Action = (Event) -> Void
14 | private let _send: Action
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import CasePaths
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Deprecations.swift:563:36: warning: non-sendable type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'Action' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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:20:17: warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
| |- warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'operation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | }
22 | lifetime += AnyDisposable {
/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:560:41: warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
558 | var task: Task<(), Never>?
559 | let producer = SignalProducer<Action, Failure> { observer, lifetime in
560 | task = Task(priority: priority) { @MainActor in
| `- warning: task or actor isolated value cannot be sent; this is an error in the Swift 6 language mode
561 | do {
562 | try Task.checkCancellation()
[371/381] Compiling ComposableArchitecture WithViewStore.swift
/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: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; 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:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context 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 main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[372/381] Compiling ComposableArchitecture TestStore.swift
/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: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; 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:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context 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 main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[373/381] Compiling ComposableArchitecture ImmediateScheduler.swift
/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: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; 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:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context 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 main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[374/381] Compiling ComposableArchitecture AlertStateUIKit.swift
/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: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; 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:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context 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 main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[375/381] Compiling ComposableArchitecture IfLetUIKit.swift
/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: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; 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:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context 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 main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[376/381] Compiling ComposableArchitecture UIKitAnimationScheduler.swift
/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: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; 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:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context 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 main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[377/381] Compiling ComposableArchitecture ViewStore.swift
/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: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:599:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
561 | /// This type comes with two pre-configured formats that you will probably want to use for most
562 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
563 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
564 | /// A string prepended to lines that only appear in the string representation of the first value,
565 | /// e.g. a "removal."
:
597 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
598 | /// widths in proportional fonts.
599 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
600 | }
601 |
/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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context 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 main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; 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:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context 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 main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[378/382] Wrapping AST for ComposableArchitecture for debugging
[380/389] 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: annotate 'viewStoreSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[381/389] 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: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
[382/389] 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: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
[383/389] Compiling swift_composable_architecture_benchmark main.swift
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
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]
:
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
| |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/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: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'viewStoreSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[384/389] 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: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[385/389] Compiling swift_composable_architecture_benchmark Common.swift
[386/389] Emitting module swift_composable_architecture_benchmark
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
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]
:
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
| |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/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: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'viewStoreSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[387/390] Wrapping AST for swift-composable-architecture-benchmark for debugging
[388/390] Write Objects.LinkFileList
[389/390] Linking swift-composable-architecture-benchmark
Build complete! (64.72s)
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"
}
Done.