Build Information
Successful build of RxComposableArchitecture, reference 0.51.0 (0f3be7
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 12:50:39 UTC.
Swift 6 data race errors: 18
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
| `- note: closure captures 'tasks' which is accessible to code in the current task
484 | while index < tasks.wrappedValue.endIndex {
485 | defer { index += 1 }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Store.swift:445:46: warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
443 | case let .run(priority, operation):
444 | tasks.wrappedValue.append(
445 | Task(priority: priority) { @MainActor [weak self] in
| `- warning: pattern that the region based isolation checker does not understand how to check. Please file a bug; this is an error in the Swift 6 language mode
446 | #if DEBUG
447 | var isCompleted = false
[382/397] Emitting module RxComposableArchitecture
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Debugging/Bootstrapping.swift:182:18: warning: var '_bootstrappedEnvironments' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
180 | }
181 |
182 | internal var _bootstrappedEnvironments: [String: Any] = [:]
| |- warning: var '_bootstrappedEnvironments' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bootstrappedEnvironments' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_bootstrappedEnvironments' 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
183 | internal var _bootstrappedDependencies: [String: Any] = [:]
184 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Debugging/Bootstrapping.swift:183:18: warning: var '_bootstrappedDependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
181 |
182 | internal var _bootstrappedEnvironments: [String: Any] = [:]
183 | internal var _bootstrappedDependencies: [String: Any] = [:]
| |- warning: var '_bootstrappedDependencies' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_bootstrappedDependencies' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_bootstrappedDependencies' 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
184 | #endif
185 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/DiffingInterface/DiffingInterface+Primitives.swift:8:1: warning: extension declares a conformance of imported type 'Int' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
6 | //
7 |
8 | extension Int: Identifiable {
| |- warning: extension declares a conformance of imported type 'Int' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
9 | public var id: Int {
10 | return self
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/DiffingInterface/DiffingInterface+Primitives.swift:14:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
12 | }
13 |
14 | extension String: Identifiable {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
15 | public var id: String {
16 | return self
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/DiffingInterface/DiffingInterface+Primitives.swift:20:1: warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
18 | }
19 |
20 | extension Bool: Identifiable {
| |- warning: extension declares a conformance of imported type 'Bool' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
21 | public var id: Bool {
22 | return self
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/DiffingInterface/DiffingInterface+Primitives.swift:26:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
24 | }
25 |
26 | extension Double: Identifiable {
| |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
27 | public var id: Double {
28 | return self
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/DiffingInterface/DiffingInterface+Primitives.swift:32:1: warning: extension declares a conformance of imported type 'Float' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
30 | }
31 |
32 | extension Float: Identifiable {
| |- warning: extension declares a conformance of imported type 'Float' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
33 | public var id: Float {
34 | return self
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effect.swift:476:34: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
474 | await operation(
475 | Send { action in
476 | send(transform(action))
| |- warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
477 | }
478 | )
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effects/Cancellation.swift:208:17: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
206 | /// - Returns: A value produced by operation.
207 | @_unsafeInheritExecutor
208 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | id: AnyHashable,
210 | cancelInFlight: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effects/Cancellation.swift:283:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
281 | /// - Returns: A value produced by operation.
282 | @_unsafeInheritExecutor
283 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | id: Any.Type,
285 | cancelInFlight: Bool = false,
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effects/Cancellation.swift:337:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
335 | }
336 |
337 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' 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
338 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
339 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effects/Observable/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' 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
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effects/Observable/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' 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
96 | let throttleLock = NSRecursiveLock()
97 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RuntimeWarnings.swift:49:13: warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
47 | // Feedback filed: https://gist.github.com/stephencelis/a8d06383ed6ccde3e5ef5d1b3ad52bbc
48 | @usableFromInline
49 | let dso = { () -> UnsafeMutableRawPointer in
| |- warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dso' 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
50 | let count = _dyld_image_count()
51 | for i in 0..<count {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:75:20: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | fileprivate enum MainQueueKey: DependencyKey {
75 | static let liveValue: SchedulerType = MainScheduler.instance
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/SchedulerType.swift:19:17: note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
17 |
18 | /// Represents an object that schedules units of work.
19 | public protocol SchedulerType: ImmediateSchedulerType {
| `- note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
20 |
21 | /// - returns: Current time.
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
1 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
2 | import Foundation
3 | import Dependencies
:
73 |
74 | fileprivate enum MainQueueKey: DependencyKey {
75 | static let liveValue: SchedulerType = MainScheduler.instance
| |- note: annotate 'liveValue' 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
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:82:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
80 | import XCTestDynamicOverlay
81 | extension DependencyValues.MainQueueKey: TestDependencyKey {
82 | static let testValue: SchedulerType = UnimplementedSchedulerType()
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'testValue' 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
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/SchedulerType.swift:19:17: note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
17 |
18 | /// Represents an object that schedules units of work.
19 | public protocol SchedulerType: ImmediateSchedulerType {
| `- note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
20 |
21 | /// - returns: Current time.
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:81:1: warning: type 'any SchedulerType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
79 | #if DEBUG
80 | import XCTestDynamicOverlay
81 | extension DependencyValues.MainQueueKey: TestDependencyKey {
| `- warning: type 'any SchedulerType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | static let testValue: SchedulerType = UnimplementedSchedulerType()
83 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/SchedulerType.swift:19:17: note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
17 |
18 | /// Represents an object that schedules units of work.
19 | public protocol SchedulerType: ImmediateSchedulerType {
| `- note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
20 |
21 | /// - returns: Current time.
/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/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: {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Store.swift:912:18: warning: generic parameter 'ScopedState' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
853 | }
854 |
855 | private final class ScopedReducer<RootState, RootAction, ScopedState, ScopedAction>: ReducerProtocol {
| `- note: 'ScopedState' previously declared here
856 | let rootStore: Store<RootState, RootAction>
857 | let toScopedState: (RootState) -> ScopedState
:
910 | extension ScopedReducer: AnyScopedReducer {
911 | @inlinable
912 | func rescope<ScopedState, ScopedAction, RescopedState, RescopedAction>(
| `- warning: generic parameter 'ScopedState' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
913 | _ store: Store<ScopedState, ScopedAction>,
914 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Store.swift:912:31: warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
853 | }
854 |
855 | private final class ScopedReducer<RootState, RootAction, ScopedState, ScopedAction>: ReducerProtocol {
| `- note: 'ScopedAction' previously declared here
856 | let rootStore: Store<RootState, RootAction>
857 | let toScopedState: (RootState) -> ScopedState
:
910 | extension ScopedReducer: AnyScopedReducer {
911 | @inlinable
912 | func rescope<ScopedState, ScopedAction, RescopedState, RescopedAction>(
| `- warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
913 | _ store: Store<ScopedState, ScopedAction>,
914 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/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/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 |
[383/397] Compiling RxComposableArchitecture StoreConfig.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)
[384/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)
[385/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)
[386/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)
[387/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)
[388/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)
[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: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/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: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/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: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/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: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/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: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/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: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/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 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()
[396/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]
[397/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 }))
[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] 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] Compiling RxComposableArchitecture_Benchmark Common.swift
[400/403] Write Objects.LinkFileList
[401/403] Linking RxComposableArchitecture-Benchmark
[402/403] Applying RxComposableArchitecture-Benchmark
Build complete! (33.26s)
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.