Build Information
Successful build of RxComposableArchitecture, reference 0.51.0 (0f3be7
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 07:10:41 UTC.
Swift 6 data race errors: 18
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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
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: add '@MainActor' to make var 'throttleTimes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'throttleValues' part of global actor 'MainActor'
| `- 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/Effects/Observable.swift:20:29: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
18 | return Observable.create { observer in
19 | let task = Task(priority: priority) { @MainActor in
20 | defer { observer.onCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | let send = Send { action in
22 | observer.onNext(action)
[377/397] Compiling RxComposableArchitecture Animation.swift
/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: add '@MainActor' to make var '_cancellationCancellables' part of global actor 'MainActor'
| `- 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/Cancellation.swift:94:52: warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | return Self(
93 | operation: .run(priority, { send in
94 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight, operation: {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | await operation(send)
96 | })
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/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: add '@MainActor' to make var 'throttleTimes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'throttleValues' part of global actor 'MainActor'
| `- 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/Effects/Observable.swift:20:29: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
18 | return Observable.create { observer in
19 | let task = Task(priority: priority) { @MainActor in
20 | defer { observer.onCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | let send = Send { action in
22 | observer.onNext(action)
[378/397] Compiling RxComposableArchitecture Cancellation.swift
/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: add '@MainActor' to make var '_cancellationCancellables' part of global actor 'MainActor'
| `- 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/Cancellation.swift:94:52: warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | return Self(
93 | operation: .run(priority, { send in
94 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight, operation: {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | await operation(send)
96 | })
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/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: add '@MainActor' to make var 'throttleTimes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'throttleValues' part of global actor 'MainActor'
| `- 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/Effects/Observable.swift:20:29: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
18 | return Observable.create { observer in
19 | let task = Task(priority: priority) { @MainActor in
20 | defer { observer.onCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | let send = Send { action in
22 | observer.onNext(action)
[379/397] Compiling RxComposableArchitecture Observable.swift
/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: add '@MainActor' to make var '_cancellationCancellables' part of global actor 'MainActor'
| `- 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/Cancellation.swift:94:52: warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | return Self(
93 | operation: .run(priority, { send in
94 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight, operation: {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | await operation(send)
96 | })
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/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: add '@MainActor' to make var 'throttleTimes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'throttleValues' part of global actor 'MainActor'
| `- 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/Effects/Observable.swift:20:29: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
18 | return Observable.create { observer in
19 | let task = Task(priority: priority) { @MainActor in
20 | defer { observer.onCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | let send = Send { action in
22 | observer.onNext(action)
[380/397] Compiling RxComposableArchitecture Debouncing.swift
/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: add '@MainActor' to make var '_cancellationCancellables' part of global actor 'MainActor'
| `- 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/Cancellation.swift:94:52: warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | return Self(
93 | operation: .run(priority, { send in
94 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight, operation: {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | await operation(send)
96 | })
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/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: add '@MainActor' to make var 'throttleTimes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'throttleValues' part of global actor 'MainActor'
| `- 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/Effects/Observable.swift:20:29: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
18 | return Observable.create { observer in
19 | let task = Task(priority: priority) { @MainActor in
20 | defer { observer.onCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | let send = Send { action in
22 | observer.onNext(action)
[381/397] Compiling RxComposableArchitecture Deferring.swift
/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: add '@MainActor' to make var '_cancellationCancellables' part of global actor 'MainActor'
| `- 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/Cancellation.swift:94:52: warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | return Self(
93 | operation: .run(priority, { send in
94 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight, operation: {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | await operation(send)
96 | })
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/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: add '@MainActor' to make var 'throttleTimes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'throttleValues' part of global actor 'MainActor'
| `- 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/Effects/Observable.swift:20:29: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
18 | return Observable.create { observer in
19 | let task = Task(priority: priority) { @MainActor in
20 | defer { observer.onCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | let send = Send { action in
22 | observer.onNext(action)
[382/397] Compiling RxComposableArchitecture Throttling.swift
/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: add '@MainActor' to make var '_cancellationCancellables' part of global actor 'MainActor'
| `- 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/Cancellation.swift:94:52: warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
92 | return Self(
93 | operation: .run(priority, { send in
94 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight, operation: {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
95 | await operation(send)
96 | })
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/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: add '@MainActor' to make var 'throttleTimes' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'throttleValues' part of global actor 'MainActor'
| `- 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/Effects/Observable.swift:20:29: warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
18 | return Observable.create { observer in
19 | let task = Task(priority: priority) { @MainActor in
20 | defer { observer.onCompleted() }
| |- warning: sending 'observer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'observer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | let send = Send { action in
22 | observer.onNext(action)
[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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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 requirement from protocol 'DynamicViewContent'; 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 requirement from protocol 'DynamicViewContent'; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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 requirement from protocol 'DynamicViewContent'; 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 requirement from protocol 'DynamicViewContent'; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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 requirement from protocol 'DynamicViewContent'; 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 requirement from protocol 'DynamicViewContent'; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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 requirement from protocol 'DynamicViewContent'; 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 requirement from protocol 'DynamicViewContent'; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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 requirement from protocol 'DynamicViewContent'; 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 requirement from protocol 'DynamicViewContent'; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- 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 requirement from protocol 'DynamicViewContent'; 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 requirement from protocol 'DynamicViewContent'; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
/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: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending value of non-Sendable type '(Void) async -> Bool' 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 value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
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: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending value of non-Sendable type '(Void) async -> Bool' 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 value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
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: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending value of non-Sendable type '(Void) async -> Bool' 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 value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
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: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending value of non-Sendable type '(Void) async -> Bool' 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 value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
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: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending value of non-Sendable type '(Void) async -> Bool' 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 value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
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: add '@MainActor' to make static property 'off' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/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.Wrapper.subscript:3:35: note: subscript declared here
1 | generic struct ObservedObject {
2 | struct Wrapper {
3 | @MainActor @preconcurrency public subscript<Subject>(dynamicMember keyPath: ReferenceWritableKeyPath<ObjectType, Subject>) -> Binding<Subject> { get } }
| `- note: subscript declared here
4 | }
5 |
/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.projectedValue:2:39: note: property declared here
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }}
| `- note: property declared here
3 |
/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.init:2:35: note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
1 | generic struct ObservedObject {
2 | @MainActor @preconcurrency public init(wrappedValue: ObjectType)}
| `- note: calls to initializer 'init(wrappedValue:)' from outside of its actor context are implicitly asynchronous
3 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending value of non-Sendable type '(Void) async -> Bool' 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 value of non-Sendable type '(Void) async -> Bool' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type '(Void) async -> Bool' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
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 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: add '@MainActor' to make let 'effectSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(Effect<Int>.merge((1...100).map { _ in .none }))
[396/403] Compiling RxComposableArchitecture_Benchmark main.swift
[397/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: add '@MainActor' to make let 'storeScopeSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make let 'newStoreScopeSuite' part of global actor 'MainActor'
| `- 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]
[398/403] Compiling RxComposableArchitecture_Benchmark Common.swift
[399/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: add '@MainActor' to make let 'dependenciesSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[400/403] Emitting module RxComposableArchitecture_Benchmark
/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: add '@MainActor' to make let 'dependenciesSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/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: add '@MainActor' to make let 'effectSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(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: add '@MainActor' to make let 'storeScopeSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make let 'newStoreScopeSuite' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
29 | if action {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
[400/403] Write Objects.LinkFileList
[401/403] Linking RxComposableArchitecture-Benchmark
[402/403] Applying RxComposableArchitecture-Benchmark
Build complete! (21.49s)
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.