Build Information
Successful build of RxComposableArchitecture, reference 0.51.0 (0f3be7
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 05:44:47 UTC.
Swift 6 data race errors: 19
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
257 | /// - action: An action closure that is invoked when the button is tapped.
258 | public init<Action>(_ button: ButtonState<Action>, action: @escaping (Action?) async -> Void) {
259 | let action = { _ = Task { await button.withAction(action) } }
| | `- note: closure captures 'action' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:23: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:41: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
[378/397] Compiling RxComposableArchitecture Alert.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUICore.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:33: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
257 | /// - action: An action closure that is invoked when the button is tapped.
258 | public init<Action>(_ button: ButtonState<Action>, action: @escaping (Action?) async -> Void) {
259 | let action = { _ = Task { await button.withAction(action) } }
| | `- note: closure captures 'action' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:23: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:41: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
[379/397] Compiling RxComposableArchitecture ButtonState.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUICore.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:33: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
257 | /// - action: An action closure that is invoked when the button is tapped.
258 | public init<Action>(_ button: ButtonState<Action>, action: @escaping (Action?) async -> Void) {
259 | let action = { _ = Task { await button.withAction(action) } }
| | `- note: closure captures 'action' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:23: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:41: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
[380/397] Compiling RxComposableArchitecture ButtonStateSlider.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUICore.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:33: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
257 | /// - action: An action closure that is invoked when the button is tapped.
258 | public init<Action>(_ button: ButtonState<Action>, action: @escaping (Action?) async -> Void) {
259 | let action = { _ = Task { await button.withAction(action) } }
| | `- note: closure captures 'action' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:23: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:41: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
[381/397] Compiling RxComposableArchitecture TextState.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUICore.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:33: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
257 | /// - action: An action closure that is invoked when the button is tapped.
258 | public init<Action>(_ button: ButtonState<Action>, action: @escaping (Action?) async -> Void) {
259 | let action = { _ = Task { await button.withAction(action) } }
| | `- note: closure captures 'action' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:23: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:41: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
[382/397] Compiling RxComposableArchitecture WithViewStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUICore.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:33: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
257 | /// - action: An action closure that is invoked when the button is tapped.
258 | public init<Action>(_ button: ButtonState<Action>, action: @escaping (Action?) async -> Void) {
259 | let action = { _ = Task { await button.withAction(action) } }
| | `- note: closure captures 'action' which is accessible to code in the current task
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:23: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:293:41: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
291 | self.init(
292 | role: button.role.map(ButtonRole.init),
293 | action: { button.withAction(action) }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
294 | ) {
295 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'button' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'button' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| |- warning: sending 'action' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'action' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
312 | ) {
313 | Text(button.label)
[383/397] Compiling RxComposableArchitecture DependencyKeyWritingReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Reducer/Reducers/DependencyKeyWritingReducer.swift:151:26: warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
149 | into state: inout Base.State, action: Base.Action
150 | ) -> Effect<Base.Action> {
151 | DependencyValues.withValues {
| `- warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
152 | self.update(&$0)
153 | } operation: {
[384/397] Compiling RxComposableArchitecture EmptyReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Reducer/Reducers/DependencyKeyWritingReducer.swift:151:26: warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
149 | into state: inout Base.State, action: Base.Action
150 | ) -> Effect<Base.Action> {
151 | DependencyValues.withValues {
| `- warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
152 | self.update(&$0)
153 | } operation: {
[385/397] Compiling RxComposableArchitecture ForEachReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Reducer/Reducers/DependencyKeyWritingReducer.swift:151:26: warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
149 | into state: inout Base.State, action: Base.Action
150 | ) -> Effect<Base.Action> {
151 | DependencyValues.withValues {
| `- warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
152 | self.update(&$0)
153 | } operation: {
[386/397] Compiling RxComposableArchitecture IfCaseLetReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Reducer/Reducers/DependencyKeyWritingReducer.swift:151:26: warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
149 | into state: inout Base.State, action: Base.Action
150 | ) -> Effect<Base.Action> {
151 | DependencyValues.withValues {
| `- warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
152 | self.update(&$0)
153 | } operation: {
[387/397] Compiling RxComposableArchitecture IfLetReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Reducer/Reducers/DependencyKeyWritingReducer.swift:151:26: warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
149 | into state: inout Base.State, action: Base.Action
150 | ) -> Effect<Base.Action> {
151 | DependencyValues.withValues {
| `- warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
152 | self.update(&$0)
153 | } operation: {
[388/397] Compiling RxComposableArchitecture OptionalReducer.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Reducer/Reducers/DependencyKeyWritingReducer.swift:151:26: warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
149 | into state: inout Base.State, action: Base.Action
150 | ) -> Effect<Base.Action> {
151 | DependencyValues.withValues {
| `- warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
152 | self.update(&$0)
153 | } operation: {
[389/397] Compiling RxComposableArchitecture Effect+Failing.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: 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
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | 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
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:333:13: warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | }
332 | }, onCancel: {
333 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
334 | })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/TaskBox.swift:1:13: note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
1 | final class TaskBox<Wrapped> {
| `- note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: 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
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | 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
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | 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
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | 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
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | 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
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2274:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2272 | self?.inFlightEffects.insert(effect)
2273 |
2274 | Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- note: closure captures 'self' which is accessible to code in the current task
2277 | }
2278 | },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
[390/397] Compiling RxComposableArchitecture PriorityQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: 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
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | 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
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:333:13: warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | }
332 | }, onCancel: {
333 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
334 | })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/TaskBox.swift:1:13: note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
1 | final class TaskBox<Wrapped> {
| `- note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: 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
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | 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
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | 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
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | 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
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | 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
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2274:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2272 | self?.inFlightEffects.insert(effect)
2273 |
2274 | Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- note: closure captures 'self' which is accessible to code in the current task
2277 | }
2278 | },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
[391/397] Compiling RxComposableArchitecture TestScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: 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
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | 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
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:333:13: warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | }
332 | }, onCancel: {
333 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
334 | })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/TaskBox.swift:1:13: note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
1 | final class TaskBox<Wrapped> {
| `- note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: 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
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | 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
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | 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
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | 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
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | 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
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2274:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2272 | self?.inFlightEffects.insert(effect)
2273 |
2274 | Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- note: closure captures 'self' which is accessible to code in the current task
2277 | }
2278 | },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
[392/397] Compiling RxComposableArchitecture TestStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: 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
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | 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
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:333:13: warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | }
332 | }, onCancel: {
333 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
334 | })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/TaskBox.swift:1:13: note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
1 | final class TaskBox<Wrapped> {
| `- note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: 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
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | 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
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | 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
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | 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
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | 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
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2274:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2272 | self?.inFlightEffects.insert(effect)
2273 |
2274 | Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- note: closure captures 'self' which is accessible to code in the current task
2277 | }
2278 | },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
[393/397] Compiling RxComposableArchitecture VirtualTimeScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: 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
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | 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
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:333:13: warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | }
332 | }, onCancel: {
333 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
334 | })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/TaskBox.swift:1:13: note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
1 | final class TaskBox<Wrapped> {
| `- note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: 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
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | 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
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | 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
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | 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
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | 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
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2274:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2272 | self?.inFlightEffects.insert(effect)
2273 |
2274 | Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- note: closure captures 'self' which is accessible to code in the current task
2277 | }
2278 | },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
[394/397] Compiling RxComposableArchitecture ViewStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: 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
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | 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
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | extension StoreConfig {
18 | public static var `default`: StoreConfig = .init(
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' 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 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:333:13: warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
331 | }
332 | }, onCancel: {
333 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'TaskBox<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
334 | })
335 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/TaskBox.swift:1:13: note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
1 | final class TaskBox<Wrapped> {
| `- note: generic class 'TaskBox' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
362 | /// sent to the store.
363 | /// - Returns: A binding.
364 | public func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:send:)' part of global actor 'MainActor'
365 | get: @escaping (_ state: ViewState) -> Value,
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated subscript 'subscript(dynamicMember:)' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:4:43: note: subscript declared here
2 | @MainActor @propertyWrapper @preconcurrency @frozen public struct ObservedObject<ObjectType> : DynamicProperty where ObjectType : ObservableObject {
3 | @MainActor @dynamicMemberLookup @preconcurrency @frozen public struct Wrapper {
4 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get }
| `- note: subscript declared here
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: main actor-isolated property 'projectedValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUICore.ObservedObject:9:43: note: property declared here
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
371 |
372 | @_disfavoredOverload
373 | func binding<Value>(
| `- note: add '@MainActor' to make instance method 'binding(get:compactSend:)' part of global actor 'MainActor'
374 | get: @escaping (_ state: ViewState) -> Value,
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| `- warning: call to main actor-isolated initializer 'init(wrappedValue:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
SwiftUICore.ObservedObject:7:39: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
5 | }
6 | @MainActor @preconcurrency public init(initialValue: ObjectType)
7 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
8 | @MainActor @preconcurrency public var wrappedValue: ObjectType
9 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: 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
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | 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
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | 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
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | 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
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | 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
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2274:30: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2272 | self?.inFlightEffects.insert(effect)
2273 |
2274 | Task { [weak self] in
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- note: closure captures 'self' which is accessible to code in the current task
2277 | }
2278 | },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:368:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
366 | send valueToAction: @escaping (_ value: Value) -> ViewAction
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
370 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:377:9: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
375 | compactSend valueToAction: @escaping (_ value: Value) -> ViewAction?
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
379 | }
[395/403] Compiling RxComposableArchitecture_Benchmark Common.swift
[396/403] Compiling RxComposableArchitecture_Benchmark Effect.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.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 RxSwift
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(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.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 RxComposableArchitecture
3 | import Foundation
4 | import RxSwift
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(Effect<Int>.merge((1...100).map { _ in .none }))
[397/403] Compiling RxComposableArchitecture_Benchmark main.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.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 RxSwift
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(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.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 RxComposableArchitecture
3 | import Foundation
4 | import RxSwift
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(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:4: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
2 | import RxComposableArchitecture
3 |
4 | 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
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-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 RxComposableArchitecture
3 |
4 | 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
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:27:5: warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | let newStoreScopeSuite = BenchmarkSuite(name: "[NEW] Store scoping, with rescope") { suite in
| |- warning: let 'newStoreScopeSuite' 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 'newStoreScopeSuite' 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
28 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
29 | if action {
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:6: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
4 | import Dependencies
5 |
6 | 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
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-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 RxComposableArchitecture
3 | import Foundation
4 | import Dependencies
5 |
6 | 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
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[398/403] Compiling RxComposableArchitecture_Benchmark Dependencies.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:6: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
4 | import Dependencies
5 |
6 | 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
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-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 RxComposableArchitecture
3 | import Foundation
4 | import Dependencies
5 |
6 | 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
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[399/403] Compiling RxComposableArchitecture_Benchmark StoreScope.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:4: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
2 | import RxComposableArchitecture
3 |
4 | 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
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-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 RxComposableArchitecture
3 |
4 | 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
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:27:5: warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | let newStoreScopeSuite = BenchmarkSuite(name: "[NEW] Store scoping, with rescope") { suite in
| |- warning: let 'newStoreScopeSuite' 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 'newStoreScopeSuite' 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
28 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
29 | if action {
/Users/admin/builder/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]
[400/403] Emitting module RxComposableArchitecture_Benchmark
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.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 RxSwift
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(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.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 RxComposableArchitecture
3 | import Foundation
4 | import RxSwift
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(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:4: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
2 | import RxComposableArchitecture
3 |
4 | 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
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-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 RxComposableArchitecture
3 |
4 | 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
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:27:5: warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | let newStoreScopeSuite = BenchmarkSuite(name: "[NEW] Store scoping, with rescope") { suite in
| |- warning: let 'newStoreScopeSuite' 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 'newStoreScopeSuite' 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
28 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
29 | if action {
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:6: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
4 | import Dependencies
5 |
6 | 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
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/Users/admin/builder/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]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-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 RxComposableArchitecture
3 | import Foundation
4 | import Dependencies
5 |
6 | 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
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[400/403] Write Objects.LinkFileList
[401/403] Linking RxComposableArchitecture-Benchmark
[402/403] Applying RxComposableArchitecture-Benchmark
Build complete! (42.88s)
Build complete.
{
"dependencies" : [
{
"identity" : "rxswift",
"requirement" : {
"range" : [
{
"lower_bound" : "5.1.1",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveX/RxSwift"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths"
},
{
"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" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "0.8.5",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-dependencies",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-dependencies"
}
],
"manifest_display_name" : "RxComposableArchitecture",
"name" : "RxComposableArchitecture",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "RxComposableArchitecture",
"targets" : [
"RxComposableArchitecture"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RxComposableArchitecture-Benchmark",
"targets" : [
"RxComposableArchitecture-Benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "RxComposableArchitectureTests",
"module_type" : "SwiftTarget",
"name" : "RxComposableArchitectureTests",
"path" : "Tests/RxComposableArchitectureTests",
"product_dependencies" : [
"CustomDump"
],
"sources" : [
"BindingLocalTests.swift",
"BootstrapTests.swift",
"DependencyKeyWritingReducerTests.swift",
"EffectCancellationTests.swift",
"EffectDebounceTests.swift",
"EffectDeferredTests.swift",
"EffectOperationTests.swift",
"EffectRunTests.swift",
"EffectTaskTests.swift",
"EffectTests.swift",
"EffectThrottleTests.swift",
"ForEachReducerTests.swift",
"IdentifiedArrayTests.swift",
"IfCaseLetReducerTests.swift",
"IfLetReducerTests.swift",
"LCRNG.swift",
"MemoryManagementTests.swift",
"NeverEqualTests.swift",
"ReducerBuilderTests.swift",
"ReducerTests.swift",
"RuntimeWarningTests.swift",
"RxComposableArchitectureTests.swift",
"ScopeTests.swift",
"SingleSelectionSelectableTypeTests.swift",
"SingleSelectionTests.swift",
"StoreFilterTests.swift",
"StoreOldScopeTest.swift",
"StoreTests.swift",
"TaskCancellationTests.swift",
"TaskResultTests.swift",
"TestStoreFailureTests.swift",
"TestStoreNonExhaustiveTests.swift",
"TestStoreOldScopeTests.swift",
"TestStoreTests.swift",
"TimerTests.swift",
"ViewStoreTests.swift"
],
"target_dependencies" : [
"RxComposableArchitecture"
],
"type" : "test"
},
{
"c99name" : "RxComposableArchitecture_Benchmark",
"module_type" : "SwiftTarget",
"name" : "RxComposableArchitecture-Benchmark",
"path" : "Sources/RxComposableArchitecture-Benchmark",
"product_dependencies" : [
"Benchmark"
],
"product_memberships" : [
"RxComposableArchitecture-Benchmark"
],
"sources" : [
"Common.swift",
"Dependencies.swift",
"Effect.swift",
"StoreScope.swift",
"main.swift"
],
"target_dependencies" : [
"RxComposableArchitecture"
],
"type" : "executable"
},
{
"c99name" : "RxComposableArchitecture",
"module_type" : "SwiftTarget",
"name" : "RxComposableArchitecture",
"path" : "Sources/RxComposableArchitecture",
"product_dependencies" : [
"CasePaths",
"RxSwift",
"RxRelay",
"XCTestDynamicOverlay",
"CustomDump",
"Dependencies"
],
"product_memberships" : [
"RxComposableArchitecture",
"RxComposableArchitecture-Benchmark"
],
"sources" : [
"Binding.swift",
"Debugging/Bootstrapping.swift",
"Debugging/MockPageTemplate.swift",
"DiffingInterface/AnyHashDiffable.swift",
"DiffingInterface/DiffingInterface+Primitives.swift",
"DiffingInterface/HashDiffing.swift",
"DiffingUtility/DiffMode.swift",
"Effect.swift",
"Effects/Animation.swift",
"Effects/Cancellation.swift",
"Effects/Observable.swift",
"Effects/Observable/Debouncing.swift",
"Effects/Observable/Deferring.swift",
"Effects/Observable/Throttling.swift",
"Effects/Observable/Timer.swift",
"Effects/TaskResult.swift",
"Export.swift",
"IdentifiedArray.swift",
"IfLet.swift",
"Internal/AnyDisposable.swift",
"Internal/AnyType.swift",
"Internal/Box.swift",
"Internal/Debug.swift",
"Internal/Deprecated.swift",
"Internal/Locking.swift",
"Internal/OpenExistential.swift",
"Internal/RuntimeWarnings.swift",
"Internal/RxMainQueue.swift",
"Internal/TaskBox.swift",
"Internal/TaskCancellableValue.swift",
"OptionalPaths.swift",
"PropertyWrapper/NeverEqual.swift",
"PropertyWrapper/SingleSelection.swift",
"PropertyWrapper/UniqueElements.swift",
"Reducer/AnyReducer/AnyReducer.swift",
"Reducer/AnyReducer/AnyReducerCompatibility.swift",
"Reducer/AnyReducer/AnyReducerDebug.swift",
"Reducer/AnyReducer/AnyReducerSignpost.swift",
"Reducer/ReducerBuilder.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/OptionalReducer.swift",
"Reducer/Reducers/Reduce.swift",
"Reducer/Reducers/Scope.swift",
"Reducer/Reducers/SignpostReducer.swift",
"ReducerProtocol.swift",
"Stateless.swift",
"Store.swift",
"StoreConfig.swift",
"SwiftUI/Alert.swift",
"SwiftUI/ButtonState.swift",
"SwiftUI/Internal/ButtonStateSlider.swift",
"SwiftUI/TextState.swift",
"SwiftUI/WithViewStore.swift",
"TestSupport/Effect+Failing.swift",
"TestSupport/PriorityQueue.swift",
"TestSupport/TestScheduler.swift",
"TestSupport/TestStore.swift",
"TestSupport/VirtualTimeScheduler.swift",
"ViewStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.