Build Information
Successful build of RxComposableArchitecture with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 19
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- note: add '@retroactive' to silence this warning
33 | public var id: Float {
34 | return self
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effect.swift:476:34: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
474 | await operation(
475 | Send { action in
476 | send(transform(action))
| |- warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
477 | }
478 | )
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effect.swift:476:34: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated 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 an isolated 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:337:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
338 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
339 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effects/Observable/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Effects/Observable/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RuntimeWarnings.swift:49:13: warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
47 | // Feedback filed: https://gist.github.com/stephencelis/a8d06383ed6ccde3e5ef5d1b3ad52bbc
48 | @usableFromInline
49 | let dso = { () -> UnsafeMutableRawPointer in
| |- warning: let 'dso' is not concurrency-safe because non-'Sendable' type 'UnsafeMutableRawPointer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dso' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | let count = _dyld_image_count()
51 | for i in 0..<count {
Swift.UnsafeMutableRawPointer:1:23: note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutableRawPointer : _Pointer {
| `- note: struct 'UnsafeMutableRawPointer' does not conform to the 'Sendable' protocol
2 | public typealias Pointee = UInt8
3 | public let _rawValue: Builtin.RawPointer
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:75:20: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
73 |
74 | fileprivate enum MainQueueKey: DependencyKey {
75 | static let liveValue: SchedulerType = MainScheduler.instance
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/SchedulerType.swift:19:17: note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
17 |
18 | /// Represents an object that schedules units of work.
19 | public protocol SchedulerType: ImmediateSchedulerType {
| `- note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
20 |
21 | /// - returns: Current time.
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
1 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
2 | import Foundation
3 | import Dependencies
:
73 |
74 | fileprivate enum MainQueueKey: DependencyKey {
75 | static let liveValue: SchedulerType = MainScheduler.instance
| |- note: annotate 'liveValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/MainScheduler.swift:37:23: warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 | operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 | */
24 | public final class MainScheduler : SerialDispatchQueueScheduler {
| `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |
26 | private let _mainQueue: DispatchQueue
:
35 |
36 | /// Singleton instance of `MainScheduler`
37 | public static let instance = MainScheduler()
| |- warning: class property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'instance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |
39 | /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:82:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
80 | import XCTestDynamicOverlay
81 | extension DependencyValues.MainQueueKey: TestDependencyKey {
82 | static let testValue: SchedulerType = UnimplementedSchedulerType()
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any SchedulerType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'testValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 | }
84 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/SchedulerType.swift:19:17: note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
17 |
18 | /// Represents an object that schedules units of work.
19 | public protocol SchedulerType: ImmediateSchedulerType {
| `- note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
20 |
21 | /// - returns: Current time.
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Internal/RxMainQueue.swift:81:1: warning: type 'any SchedulerType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
79 | #if DEBUG
80 | import XCTestDynamicOverlay
81 | extension DependencyValues.MainQueueKey: TestDependencyKey {
| `- warning: type 'any SchedulerType' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
82 | static let testValue: SchedulerType = UnimplementedSchedulerType()
83 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxSwift/SchedulerType.swift:19:17: note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
17 |
18 | /// Represents an object that schedules units of work.
19 | public protocol SchedulerType: ImmediateSchedulerType {
| `- note: protocol 'SchedulerType' does not conform to the 'Sendable' protocol
20 |
21 | /// - returns: Current time.
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Reducer/Reducers/DependencyKeyWritingReducer.swift:151:26: warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
149 | into state: inout Base.State, action: Base.Action
150 | ) -> Effect<Base.Action> {
151 | DependencyValues.withValues {
| `- warning: 'withValues(_:operation:)' is deprecated: Use 'withDependencies' instead.
152 | self.update(&$0)
153 | } operation: {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Store.swift:912:18: warning: generic parameter 'ScopedState' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
853 | }
854 |
855 | private final class ScopedReducer<RootState, RootAction, ScopedState, ScopedAction>: ReducerProtocol {
| `- note: 'ScopedState' previously declared here
856 | let rootStore: Store<RootState, RootAction>
857 | let toScopedState: (RootState) -> ScopedState
:
910 | extension ScopedReducer: AnyScopedReducer {
911 | @inlinable
912 | func rescope<ScopedState, ScopedAction, RescopedState, RescopedAction>(
| `- warning: generic parameter 'ScopedState' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
913 | _ store: Store<ScopedState, ScopedAction>,
914 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/Store.swift:912:31: warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
853 | }
854 |
855 | private final class ScopedReducer<RootState, RootAction, ScopedState, ScopedAction>: ReducerProtocol {
| `- note: 'ScopedAction' previously declared here
856 | let rootStore: Store<RootState, RootAction>
857 | let toScopedState: (RootState) -> ScopedState
:
910 | extension ScopedReducer: AnyScopedReducer {
911 | @inlinable
912 | func rescope<ScopedState, ScopedAction, RescopedState, RescopedAction>(
| `- warning: generic parameter 'ScopedAction' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
913 | _ store: Store<ScopedState, ScopedAction>,
914 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUI.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
[376/397] Compiling RxComposableArchitecture Timer.swift
[377/397] Compiling RxComposableArchitecture TaskResult.swift
[378/397] Compiling RxComposableArchitecture Export.swift
[379/397] Compiling RxComposableArchitecture IdentifiedArray.swift
[380/397] Compiling RxComposableArchitecture IfLet.swift
[381/397] Compiling RxComposableArchitecture AnyDisposable.swift
[382/397] Compiling RxComposableArchitecture AnyType.swift
[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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | private struct OldAlertModifier<Action>: ViewModifier {
| `- note: calls to initializer 'init(viewStore:dismiss:)' from outside of its actor context are implicitly asynchronous
5 | @ObservedObject var viewStore: ViewStore<AlertState<Action>?, Action>
6 | let dismiss: Action
:
26 | /// as when an alert is automatically dismissed by the system. Use this action to `nil` out
27 | /// the associated alert state.
28 | public func alert<Action>(
| `- note: add '@MainActor' to make instance method 'alert(_:dismiss:)' part of global actor 'MainActor'
29 | _ store: Store<AlertState<Action>?, Action>,
30 | dismiss: Action
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:41: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
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) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` 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:259:59: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` 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) } }
| |- warning: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` closure; 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: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUI.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| |- warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'dismiss' to main actor-isolated initializer 'init(viewStore:dismiss:)' risks causing data races between main actor-isolated and task-isolated uses
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
[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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | private struct OldAlertModifier<Action>: ViewModifier {
| `- note: calls to initializer 'init(viewStore:dismiss:)' from outside of its actor context are implicitly asynchronous
5 | @ObservedObject var viewStore: ViewStore<AlertState<Action>?, Action>
6 | let dismiss: Action
:
26 | /// as when an alert is automatically dismissed by the system. Use this action to `nil` out
27 | /// the associated alert state.
28 | public func alert<Action>(
| `- note: add '@MainActor' to make instance method 'alert(_:dismiss:)' part of global actor 'MainActor'
29 | _ store: Store<AlertState<Action>?, Action>,
30 | dismiss: Action
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:41: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
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) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` 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:259:59: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` 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) } }
| |- warning: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` closure; 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: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUI.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| |- warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'dismiss' to main actor-isolated initializer 'init(viewStore:dismiss:)' risks causing data races between main actor-isolated and task-isolated uses
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
[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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | private struct OldAlertModifier<Action>: ViewModifier {
| `- note: calls to initializer 'init(viewStore:dismiss:)' from outside of its actor context are implicitly asynchronous
5 | @ObservedObject var viewStore: ViewStore<AlertState<Action>?, Action>
6 | let dismiss: Action
:
26 | /// as when an alert is automatically dismissed by the system. Use this action to `nil` out
27 | /// the associated alert state.
28 | public func alert<Action>(
| `- note: add '@MainActor' to make instance method 'alert(_:dismiss:)' part of global actor 'MainActor'
29 | _ store: Store<AlertState<Action>?, Action>,
30 | dismiss: Action
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:41: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
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) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` 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:259:59: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` 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) } }
| |- warning: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` closure; 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: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUI.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| |- warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'dismiss' to main actor-isolated initializer 'init(viewStore:dismiss:)' risks causing data races between main actor-isolated and task-isolated uses
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
[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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | private struct OldAlertModifier<Action>: ViewModifier {
| `- note: calls to initializer 'init(viewStore:dismiss:)' from outside of its actor context are implicitly asynchronous
5 | @ObservedObject var viewStore: ViewStore<AlertState<Action>?, Action>
6 | let dismiss: Action
:
26 | /// as when an alert is automatically dismissed by the system. Use this action to `nil` out
27 | /// the associated alert state.
28 | public func alert<Action>(
| `- note: add '@MainActor' to make instance method 'alert(_:dismiss:)' part of global actor 'MainActor'
29 | _ store: Store<AlertState<Action>?, Action>,
30 | dismiss: Action
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:41: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
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) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` 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:259:59: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` 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) } }
| |- warning: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` closure; 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: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUI.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| |- warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'dismiss' to main actor-isolated initializer 'init(viewStore:dismiss:)' risks causing data races between main actor-isolated and task-isolated uses
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
[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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | private struct OldAlertModifier<Action>: ViewModifier {
| `- note: calls to initializer 'init(viewStore:dismiss:)' from outside of its actor context are implicitly asynchronous
5 | @ObservedObject var viewStore: ViewStore<AlertState<Action>?, Action>
6 | let dismiss: Action
:
26 | /// as when an alert is automatically dismissed by the system. Use this action to `nil` out
27 | /// the associated alert state.
28 | public func alert<Action>(
| `- note: add '@MainActor' to make instance method 'alert(_:dismiss:)' part of global actor 'MainActor'
29 | _ store: Store<AlertState<Action>?, Action>,
30 | dismiss: Action
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:41: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
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) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` 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:259:59: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` 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) } }
| |- warning: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` closure; 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: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUI.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| |- warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'dismiss' to main actor-isolated initializer 'init(viewStore:dismiss:)' risks causing data races between main actor-isolated and task-isolated uses
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
[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 non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | private struct OldAlertModifier<Action>: ViewModifier {
| `- note: calls to initializer 'init(viewStore:dismiss:)' from outside of its actor context are implicitly asynchronous
5 | @ObservedObject var viewStore: ViewStore<AlertState<Action>?, Action>
6 | let dismiss: Action
:
26 | /// as when an alert is automatically dismissed by the system. Use this action to `nil` out
27 | /// the associated alert state.
28 | public func alert<Action>(
| `- note: add '@MainActor' to make instance method 'alert(_:dismiss:)' part of global actor 'MainActor'
29 | _ store: Store<AlertState<Action>?, Action>,
30 | dismiss: Action
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: call to main actor-isolated initializer 'init(viewStore:dismiss:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:259:41: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
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) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` 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:259:59: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` 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) } }
| |- warning: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
260 | switch button.role {
261 | case .cancel:
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:36: warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2 | import SwiftUI
3 |
4 | public struct ButtonState<Action>: Identifiable {
| `- note: consider making generic struct 'ButtonState' conform to the 'Sendable' protocol
5 | public let id: UUID
6 | public let action: ButtonStateAction<Action>
:
309 | self.init(
310 | role: button.role.map(ButtonRole.init),
311 | action: { Task { await button.withAction(action) } }
| `- warning: capture of 'button' with non-sendable type 'ButtonState<Action>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/ButtonState.swift:311:54: warning: capture of 'action' with non-sendable type '(Action?) async -> Void' in a `@Sendable` closure; 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: capture of 'action' with non-sendable type '(Action?) async -> Void' 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'
312 | ) {
313 | Text(button.label)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/WithViewStore.swift:567:16: warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
558 | }
559 |
560 | extension WithViewStore: DynamicViewContent
| `- note: add '@preconcurrency' to the 'DynamicViewContent' conformance to defer isolation checking to run time
561 | where
562 | ViewState: Collection,
:
565 | public typealias Data = ViewState
566 |
567 | public var data: ViewState {
| `- warning: main actor-isolated property 'data' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
568 | self.viewStore.state
569 | }
SwiftUI.DynamicViewContent:4:9: note: 'data' declared here
2 | public protocol DynamicViewContent : View {
3 | associatedtype Data : Collection
4 | var data: Self.Data { get }
| `- note: 'data' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| `- warning: sending task-isolated value of type 'ViewStore<AlertState<Action>?, Action>' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/SwiftUI/Alert.swift:33:13: warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
31 | ) -> some View {
32 | self.modifier(
33 | OldAlertModifier(
| |- warning: sending 'dismiss' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'dismiss' to main actor-isolated initializer 'init(viewStore:dismiss:)' risks causing data races between main actor-isolated and task-isolated uses
34 | viewStore: ViewStore(store, removeDuplicates: { $0?.id == $1?.id }),
35 | dismiss: dismiss
[389/397] Compiling RxComposableArchitecture Effect+Failing.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:619:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
581 | /// This type comes with two pre-configured formats that you will probably want to use for most
582 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
583 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
584 | /// A string prepended to lines that only appear in the string representation of the first value,
585 | /// e.g. a "removal."
:
617 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
618 | /// widths in proportional fonts.
619 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
620 | }
621 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2276:29: warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2227 | }
2228 |
2229 | internal class TestReducer<State, Action>: ReducerProtocol {
| `- note: generic class 'TestReducer' does not conform to the 'Sendable' protocol
2230 | internal let base: Reduce<State, Action>
2231 | internal var dependencies = DependencyValues()
:
2274 | Task { [weak self] in
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2277 | }
2278 | },
/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:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
[390/397] Compiling RxComposableArchitecture PriorityQueue.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:619:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
581 | /// This type comes with two pre-configured formats that you will probably want to use for most
582 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
583 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
584 | /// A string prepended to lines that only appear in the string representation of the first value,
585 | /// e.g. a "removal."
:
617 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
618 | /// widths in proportional fonts.
619 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
620 | }
621 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2276:29: warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2227 | }
2228 |
2229 | internal class TestReducer<State, Action>: ReducerProtocol {
| `- note: generic class 'TestReducer' does not conform to the 'Sendable' protocol
2230 | internal let base: Reduce<State, Action>
2231 | internal var dependencies = DependencyValues()
:
2274 | Task { [weak self] in
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2277 | }
2278 | },
/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:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
[391/397] Compiling RxComposableArchitecture TestScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:619:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
581 | /// This type comes with two pre-configured formats that you will probably want to use for most
582 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
583 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
584 | /// A string prepended to lines that only appear in the string representation of the first value,
585 | /// e.g. a "removal."
:
617 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
618 | /// widths in proportional fonts.
619 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
620 | }
621 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2276:29: warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2227 | }
2228 |
2229 | internal class TestReducer<State, Action>: ReducerProtocol {
| `- note: generic class 'TestReducer' does not conform to the 'Sendable' protocol
2230 | internal let base: Reduce<State, Action>
2231 | internal var dependencies = DependencyValues()
:
2274 | Task { [weak self] in
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2277 | }
2278 | },
/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:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
[392/397] Compiling RxComposableArchitecture TestStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:619:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
581 | /// This type comes with two pre-configured formats that you will probably want to use for most
582 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
583 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
584 | /// A string prepended to lines that only appear in the string representation of the first value,
585 | /// e.g. a "removal."
:
617 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
618 | /// widths in proportional fonts.
619 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
620 | }
621 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2276:29: warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2227 | }
2228 |
2229 | internal class TestReducer<State, Action>: ReducerProtocol {
| `- note: generic class 'TestReducer' does not conform to the 'Sendable' protocol
2230 | internal let base: Reduce<State, Action>
2231 | internal var dependencies = DependencyValues()
:
2274 | Task { [weak self] in
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2277 | }
2278 | },
/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:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
[393/397] Compiling RxComposableArchitecture VirtualTimeScheduler.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:619:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
581 | /// This type comes with two pre-configured formats that you will probably want to use for most
582 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
583 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
584 | /// A string prepended to lines that only appear in the string representation of the first value,
585 | /// e.g. a "removal."
:
617 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
618 | /// widths in proportional fonts.
619 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
620 | }
621 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2276:29: warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2227 | }
2228 |
2229 | internal class TestReducer<State, Action>: ReducerProtocol {
| `- note: generic class 'TestReducer' does not conform to the 'Sendable' protocol
2230 | internal let base: Reduce<State, Action>
2231 | internal var dependencies = DependencyValues()
:
2274 | Task { [weak self] in
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2277 | }
2278 | },
/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:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
[394/397] Compiling RxComposableArchitecture ViewStore.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2370:23: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2338 |
2339 | /// The exhaustivity of assertions made by the test store.
2340 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2341 | /// Exhaustive assertions.
2342 | ///
:
2368 |
2369 | /// Non-exhaustive assertions.
2370 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2371 | }
2372 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/StoreConfig.swift:18:23: warning: static property 'default' is not concurrency-safe because it is non-isolated 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 non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | useNewScope: { true },
20 | mainThreadChecksEnabled: { true },
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-custom-dump/Sources/CustomDump/Diff.swift:619:21: warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
581 | /// This type comes with two pre-configured formats that you will probably want to use for most
582 | /// situations: ``DiffFormat/default`` and ``DiffFormat/proportional``.
583 | public struct DiffFormat {
| `- note: consider making struct 'DiffFormat' conform to the 'Sendable' protocol
584 | /// A string prepended to lines that only appear in the string representation of the first value,
585 | /// e.g. a "removal."
:
617 | /// figure space (" ") for unchanged. These three characters are more likely to render with equal
618 | /// widths in proportional fonts.
619 | public static let proportional = Self(first: "\u{2212}", second: "+", both: "\u{2007}")
| |- warning: static property 'proportional' is not concurrency-safe because non-'Sendable' type 'DiffFormat' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'proportional' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
620 | }
621 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:2276:29: warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2227 | }
2228 |
2229 | internal class TestReducer<State, Action>: ReducerProtocol {
| `- note: generic class 'TestReducer' does not conform to the 'Sendable' protocol
2230 | internal let base: Reduce<State, Action>
2231 | internal var dependencies = DependencyValues()
:
2274 | Task { [weak self] in
2275 | await Task.megaYield()
2276 | self?.effectDidSubscribe.continuation.yield()
| `- warning: capture of 'self' with non-sendable type 'TestReducer<State, Action>?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
2277 | }
2278 | },
/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:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
370 | }
371 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:369:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
367 | ) -> Binding<Value> {
368 | ObservedObject(wrappedValue: self)
369 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
370 | }
371 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:14: warning: main actor-isolated property 'projectedValue' can not be referenced from a non-isolated 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 non-isolated context; this is an error in the Swift 6 language mode
379 | }
380 |
SwiftUI.ObservedObject:9:27: note: property declared here
7 | public init(wrappedValue: ObjectType)
8 | @MainActor public var wrappedValue: ObjectType
9 | @MainActor public var projectedValue: ObservedObject<ObjectType>.Wrapper { get }
| `- note: property declared here
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(ViewState) -> Value>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/ViewStore.swift:378:28: warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
376 | ) -> Binding<Value> {
377 | ObservedObject(wrappedValue: self)
378 | .projectedValue[get: .init(rawValue: get), send: .init(rawValue: valueToAction)]
| `- warning: cannot form key path that captures non-sendable type 'HashableWrapper<(Value) -> ViewAction?>'; this is an error in the Swift 6 language mode
379 | }
380 |
:
541 | }
542 |
543 | private struct HashableWrapper<Value>: Hashable {
| `- note: consider making generic struct 'HashableWrapper' conform to the 'Sendable' protocol
544 | let rawValue: Value
545 | static func == (lhs: Self, rhs: Self) -> Bool { false }
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1027:54: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1025 | let task = self.store
1026 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1027 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1028 | do {
1029 | let currentState = self.state
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1533:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1531 | return
1532 | }
1533 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1534 | _ = {
1535 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1588:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1586 | return
1587 | }
1588 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1589 | _ = {
1590 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture/TestSupport/TestStore.swift:1640:20: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1638 | return
1639 | }
1640 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1641 | _ = {
1642 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
[395/403] Compiling RxComposableArchitecture_Benchmark StoreScope.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:4:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import RxComposableArchitecture
3 |
4 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 |
4 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:27:5: warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | let newStoreScopeSuite = BenchmarkSuite(name: "[NEW] Store scoping, with rescope") { suite in
| |- warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newStoreScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
29 | if action {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
[396/403] Compiling RxComposableArchitecture_Benchmark main.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
:
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
| |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import RxSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 | import Foundation
4 | import RxSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:4:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import RxComposableArchitecture
3 |
4 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 |
4 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:27:5: warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | let newStoreScopeSuite = BenchmarkSuite(name: "[NEW] Store scoping, with rescope") { suite in
| |- warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newStoreScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
29 | if action {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:6:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Dependencies
5 |
6 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 | import Foundation
4 | import Dependencies
5 |
6 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[397/403] Compiling RxComposableArchitecture_Benchmark Effect.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import RxSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 | import Foundation
4 | import RxSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(Effect<Int>.merge((1...100).map { _ in .none }))
[398/403] Compiling RxComposableArchitecture_Benchmark Dependencies.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:6:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Dependencies
5 |
6 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 | import Foundation
4 | import Dependencies
5 |
6 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[399/403] Emitting module RxComposableArchitecture_Benchmark
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:90:12: warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
:
88 | }
89 |
90 | public let defaultBenchmarkSuite = BenchmarkSuite(name: "")
| |- warning: let 'defaultBenchmarkSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultBenchmarkSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 |
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import RxSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Effect.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 | import Foundation
4 | import RxSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(Effect<Int>.merge((1...100).map { _ in .none }))
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:4:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import RxComposableArchitecture
3 |
4 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 |
4 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
6 | if action {
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/StoreScope.swift:27:5: warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
25 | }
26 |
27 | let newStoreScopeSuite = BenchmarkSuite(name: "[NEW] Store scoping, with rescope") { suite in
| |- warning: let 'newStoreScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newStoreScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | let counterReducer = AnyReducer<Int, Bool, Void> { state, action, _ in
29 | if action {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:6:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import Dependencies
5 |
6 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/Users/admin/builder/spi-builder-workspace/Sources/RxComposableArchitecture-Benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import RxComposableArchitecture
3 | import Foundation
4 | import Dependencies
5 |
6 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #if swift(>=5.7)
8 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[400/403] Compiling RxComposableArchitecture_Benchmark Common.swift
[400/403] Write Objects.LinkFileList
[401/403] Linking RxComposableArchitecture-Benchmark
[402/403] Applying RxComposableArchitecture-Benchmark
Build complete! (64.24s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/ReactiveX/RxSwift
Fetching https://github.com/pointfreeco/swift-custom-dump
Fetching https://github.com/google/swift-benchmark
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-clocks
[1/4239] Fetching swift-custom-dump
[171/5725] Fetching swift-custom-dump, swift-benchmark
[201/7969] Fetching swift-custom-dump, swift-benchmark, combine-schedulers
[291/9244] Fetching swift-custom-dump, swift-benchmark, combine-schedulers, swift-clocks
[1487/11600] Fetching swift-custom-dump, swift-benchmark, combine-schedulers, swift-clocks, xctest-dynamic-overlay
[6478/23314] Fetching swift-custom-dump, swift-benchmark, combine-schedulers, swift-clocks, xctest-dynamic-overlay, swift-argument-parser
Fetched https://github.com/pointfreeco/combine-schedulers from cache (1.19s)
Fetching https://github.com/pointfreeco/swift-dependencies
[10060/72486] Fetching swift-custom-dump, swift-benchmark, swift-clocks, xctest-dynamic-overlay, swift-argument-parser, rxswift
Fetched https://github.com/google/swift-benchmark from cache (1.64s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.64s)
Fetching https://github.com/pointfreeco/swift-case-paths
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.64s)
[12199/56930] Fetching swift-custom-dump, swift-clocks, rxswift
[44077/60949] Fetching swift-custom-dump, swift-clocks, rxswift, swift-dependencies
[60108/64716] Fetching swift-custom-dump, swift-clocks, rxswift, swift-dependencies, swift-case-paths
Fetched https://github.com/pointfreeco/swift-dependencies from cache (1.25s)
[57253/60697] Fetching swift-custom-dump, swift-clocks, rxswift, swift-case-paths
Fetched https://github.com/pointfreeco/swift-case-paths from cache (1.11s)
[56650/56930] Fetching swift-custom-dump, swift-clocks, rxswift
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (4.56s)
Fetched https://github.com/pointfreeco/swift-clocks from cache (4.56s)
Fetched https://github.com/ReactiveX/RxSwift from cache (4.56s)
Computing version for https://github.com/pointfreeco/swift-dependencies
Computed https://github.com/pointfreeco/swift-dependencies at 0.4.2 (0.72s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 0.11.1 (0.68s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 0.8.5 (0.70s)
Computing version for https://github.com/google/swift-benchmark
Computed https://github.com/google/swift-benchmark at 0.1.2 (0.66s)
Computing version for https://github.com/pointfreeco/swift-case-paths
Computed https://github.com/pointfreeco/swift-case-paths at 0.8.1 (0.70s)
Computing version for https://github.com/ReactiveX/RxSwift
Computed https://github.com/ReactiveX/RxSwift at 5.1.3 (0.75s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 0.3.0 (0.68s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 0.10.0 (0.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.1.4 (0.71s)
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 0.3.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 0.11.1
Creating working copy for https://github.com/pointfreeco/swift-dependencies
Working copy of https://github.com/pointfreeco/swift-dependencies resolved at 0.4.2
Creating working copy for https://github.com/ReactiveX/RxSwift
Working copy of https://github.com/ReactiveX/RxSwift resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.1.4
Creating working copy for https://github.com/google/swift-benchmark
Working copy of https://github.com/google/swift-benchmark resolved at 0.1.2
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 0.8.5
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 0.10.0
Creating working copy for https://github.com/pointfreeco/swift-case-paths
Working copy of https://github.com/pointfreeco/swift-case-paths resolved at 0.8.1
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.