Build Information
Successful build of reactiveswift-composable-architecture, reference 0.50.0 (c3f39b
), with Swift 6.0 for Linux on 29 Nov 2024 05:46:27 UTC.
Swift 6 data race errors: 17
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
572 | }
573 | )
[408/425] Compiling ComposableArchitecture Animation.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:97:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
:
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| |- 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
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:98:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' 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
99 | }
100 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:96:16: warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 |
96 | private enum MainQueueKey: DependencyKey {
| `- warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:4:1: warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
2 | import ReactiveSwift
3 |
4 | extension AnyDisposable: Hashable {
| |- warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static func == (lhs: AnyDisposable, rhs: AnyDisposable) -> Bool {
6 | return ObjectIdentifier(lhs) == ObjectIdentifier(rhs)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:211:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | /// - Returns: A value produced by operation.
210 | @_unsafeInheritExecutor
211 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
212 | id: AnyHashable,
213 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:286:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | /// - Returns: A value produced by operation.
285 | @_unsafeInheritExecutor
286 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
287 | id: Any.Type,
288 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:340:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | }
339 |
340 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
342 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:98:42: warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | return Self(
97 | operation: .run(priority) { send in
98 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight) {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | await operation(send)
100 | }
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | send(transform(action))
| |- warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transform' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
572 | }
573 | )
[409/425] Compiling ComposableArchitecture Cancellation.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:97:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
:
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| |- 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
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:98:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' 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
99 | }
100 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:96:16: warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 |
96 | private enum MainQueueKey: DependencyKey {
| `- warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:4:1: warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
2 | import ReactiveSwift
3 |
4 | extension AnyDisposable: Hashable {
| |- warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static func == (lhs: AnyDisposable, rhs: AnyDisposable) -> Bool {
6 | return ObjectIdentifier(lhs) == ObjectIdentifier(rhs)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:211:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | /// - Returns: A value produced by operation.
210 | @_unsafeInheritExecutor
211 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
212 | id: AnyHashable,
213 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:286:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | /// - Returns: A value produced by operation.
285 | @_unsafeInheritExecutor
286 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
287 | id: Any.Type,
288 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:340:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | }
339 |
340 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
342 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:98:42: warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | return Self(
97 | operation: .run(priority) { send in
98 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight) {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | await operation(send)
100 | }
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | send(transform(action))
| |- warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transform' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
572 | }
573 | )
[410/425] Compiling ComposableArchitecture Debouncing.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:97:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
:
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| |- 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
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:98:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' 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
99 | }
100 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:96:16: warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 |
96 | private enum MainQueueKey: DependencyKey {
| `- warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:4:1: warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
2 | import ReactiveSwift
3 |
4 | extension AnyDisposable: Hashable {
| |- warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static func == (lhs: AnyDisposable, rhs: AnyDisposable) -> Bool {
6 | return ObjectIdentifier(lhs) == ObjectIdentifier(rhs)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:211:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | /// - Returns: A value produced by operation.
210 | @_unsafeInheritExecutor
211 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
212 | id: AnyHashable,
213 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:286:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | /// - Returns: A value produced by operation.
285 | @_unsafeInheritExecutor
286 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
287 | id: Any.Type,
288 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:340:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | }
339 |
340 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
342 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:98:42: warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | return Self(
97 | operation: .run(priority) { send in
98 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight) {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | await operation(send)
100 | }
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | send(transform(action))
| |- warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transform' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
572 | }
573 | )
[411/425] Compiling ComposableArchitecture Deferring.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:97:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
:
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| |- 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
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:98:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' 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
99 | }
100 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:96:16: warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 |
96 | private enum MainQueueKey: DependencyKey {
| `- warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:4:1: warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
2 | import ReactiveSwift
3 |
4 | extension AnyDisposable: Hashable {
| |- warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static func == (lhs: AnyDisposable, rhs: AnyDisposable) -> Bool {
6 | return ObjectIdentifier(lhs) == ObjectIdentifier(rhs)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:211:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | /// - Returns: A value produced by operation.
210 | @_unsafeInheritExecutor
211 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
212 | id: AnyHashable,
213 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:286:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | /// - Returns: A value produced by operation.
285 | @_unsafeInheritExecutor
286 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
287 | id: Any.Type,
288 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:340:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | }
339 |
340 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
342 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:98:42: warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | return Self(
97 | operation: .run(priority) { send in
98 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight) {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | await operation(send)
100 | }
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | send(transform(action))
| |- warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transform' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
572 | }
573 | )
[412/425] Compiling ComposableArchitecture Throttling.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:97:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
:
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| |- 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
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:98:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' 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
99 | }
100 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:96:16: warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 |
96 | private enum MainQueueKey: DependencyKey {
| `- warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:4:1: warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
2 | import ReactiveSwift
3 |
4 | extension AnyDisposable: Hashable {
| |- warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static func == (lhs: AnyDisposable, rhs: AnyDisposable) -> Bool {
6 | return ObjectIdentifier(lhs) == ObjectIdentifier(rhs)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:211:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | /// - Returns: A value produced by operation.
210 | @_unsafeInheritExecutor
211 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
212 | id: AnyHashable,
213 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:286:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | /// - Returns: A value produced by operation.
285 | @_unsafeInheritExecutor
286 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
287 | id: Any.Type,
288 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:340:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | }
339 |
340 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
342 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:98:42: warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | return Self(
97 | operation: .run(priority) { send in
98 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight) {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | await operation(send)
100 | }
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | send(transform(action))
| |- warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transform' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
572 | }
573 | )
[413/425] Compiling ComposableArchitecture Timer.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:97:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
:
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| |- 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
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:98:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' 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
99 | }
100 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:96:16: warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 |
96 | private enum MainQueueKey: DependencyKey {
| `- warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:4:1: warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
2 | import ReactiveSwift
3 |
4 | extension AnyDisposable: Hashable {
| |- warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static func == (lhs: AnyDisposable, rhs: AnyDisposable) -> Bool {
6 | return ObjectIdentifier(lhs) == ObjectIdentifier(rhs)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:211:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | /// - Returns: A value produced by operation.
210 | @_unsafeInheritExecutor
211 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
212 | id: AnyHashable,
213 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:286:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | /// - Returns: A value produced by operation.
285 | @_unsafeInheritExecutor
286 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
287 | id: Any.Type,
288 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:340:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | }
339 |
340 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
342 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:98:42: warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
96 | return Self(
97 | operation: .run(priority) { send in
98 | await withTaskCancellation(id: id, cancelInFlight: cancelInFlight) {
| `- warning: capture of 'id' with non-sendable type 'AnyHashable' in a `@Sendable` closure; this is an error in the Swift 6 language mode
99 | await operation(send)
100 | }
Swift.AnyHashable:1:23: note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
1 | @frozen public struct AnyHashable {
| `- note: struct 'AnyHashable' does not conform to the 'Sendable' protocol
2 | public init<H>(_ base: H) where H : Hashable
3 | public var base: Any { get }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | send(transform(action))
| |- warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transform' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
572 | }
573 | )
[414/425] Emitting module ComposableArchitecture
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:97:16: warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| `- warning: static property 'liveValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
1 | import Foundation
2 | import ReactiveSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ReactiveSwift'
3 | import XCTestDynamicOverlay
4 |
:
95 |
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
| |- 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
98 | static let testValue = UnimplementedScheduler() as DateScheduler
99 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:98:16: warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
96 | private enum MainQueueKey: DependencyKey {
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
| |- warning: static property 'testValue' is not concurrency-safe because non-'Sendable' type 'any DateScheduler' 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
99 | }
100 | }
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Dependencies/MainQueue.swift:96:16: warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
94 | }
95 |
96 | private enum MainQueueKey: DependencyKey {
| `- warning: type 'any DateScheduler' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
97 | static let liveValue = QueueScheduler.main as DateScheduler
98 | static let testValue = UnimplementedScheduler() as DateScheduler
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/Scheduler.swift:33:17: note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
31 | /// A particular kind of scheduler that supports enqueuing actions at future
32 | /// dates.
33 | public protocol DateScheduler: Scheduler {
| `- note: protocol 'DateScheduler' does not conform to the 'Sendable' protocol
34 | /// The current date, as determined by this scheduler.
35 | ///
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in a `@Sendable` closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: capture of 'transform' with non-sendable type '(Action) -> T' in an isolated closure; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | 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'
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:4:1: warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
2 | import ReactiveSwift
3 |
4 | extension AnyDisposable: Hashable {
| |- warning: extension declares a conformance of imported type 'AnyDisposable' to imported protocols 'Hashable', 'Equatable'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
5 | public static func == (lhs: AnyDisposable, rhs: AnyDisposable) -> Bool {
6 | return ObjectIdentifier(lhs) == ObjectIdentifier(rhs)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:211:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
209 | /// - Returns: A value produced by operation.
210 | @_unsafeInheritExecutor
211 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
212 | id: AnyHashable,
213 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:286:15: warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
284 | /// - Returns: A value produced by operation.
285 | @_unsafeInheritExecutor
286 | public func withTaskCancellation<T: Sendable>(
| `- warning: @_unsafeInheritExecutor attribute is deprecated; consider an 'isolated' parameter defaulted to '#isolation' instead; this is an error in the Swift 6 language mode
287 | id: Any.Type,
288 | cancelInFlight: Bool = false,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Cancellation.swift:340:29: warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
338 | }
339 |
340 | @_spi(Internals) public var _cancellationCancellables: [_CancelToken: Set<AnyDisposable>] = [:]
| |- warning: var '_cancellationCancellables' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_cancellationCancellables' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_cancellationCancellables' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 | @_spi(Internals) public let _cancellablesLock = NSRecursiveLock()
342 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:94:5: warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
| |- warning: var 'throttleTimes' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleTimes' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleTimes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | var throttleValues: [AnyHashable: Any] = [:]
96 | let throttleLock = NSRecursiveLock()
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/Publisher/Throttling.swift:95:5: warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
93 |
94 | var throttleTimes: [AnyHashable: Any] = [:]
95 | var throttleValues: [AnyHashable: Any] = [:]
| |- warning: var 'throttleValues' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'throttleValues' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'throttleValues' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 | let throttleLock = NSRecursiveLock()
97 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:351:8: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
349 | outputType: NewValue.Type = NewValue.self,
350 | failureType: NewError.Type = NewError.self
351 | ) -> Effect<NewValue, NewError> {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
352 | self
353 | .producer
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:326:11: warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
324 | }
325 |
326 | extension Effect {
| `- warning: 'Effect' is deprecated: 'Effect' has been deprecated in favor of 'EffectTask' when 'Failure == Never', or 'EffectProducer<Output, Failure>' in general.
You are encouraged to use 'EffectTask<Action>' to model the output of your reducers, and to use Swift concurrency to model failable streams of values.
To find and replace instances of 'Effect<Action, Never>' to 'EffectTask<Action, Never>' in your codebase, use the following regular expression:
Find:
Effect<([^,]+), Never>
Replace:
EffectTask<$1>
See the migration roadmap for more information: https://github.com/pointfreeco/swift-composable-architecture/discussions/1477
327 |
328 | /// Turns any effect into an ``Effect`` for any output and failure type by ignoring all output
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/RuntimeWarnings.swift:29:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | )
28 | #else
29 | fputs("\(formatter.string(from: Date())) [\(category)] \(message)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | #endif
31 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:658: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
599 |
600 | private final class ScopedReducer<
601 | RootState, RootAction, ScopedState, ScopedAction
| `- note: 'ScopedState' previously declared here
602 | >: ReducerProtocol {
603 | let rootStore: Store<RootState, RootAction>
:
656 | extension ScopedReducer: AnyScopedReducer {
657 | @inlinable
658 | 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
659 | _ store: Store<ScopedState, ScopedAction>,
660 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/host/spi-builder-workspace/Sources/ComposableArchitecture/Store.swift:658: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
599 |
600 | private final class ScopedReducer<
601 | RootState, RootAction, ScopedState, ScopedAction
| `- note: 'ScopedAction' previously declared here
602 | >: ReducerProtocol {
603 | let rootStore: Store<RootState, RootAction>
:
656 | extension ScopedReducer: AnyScopedReducer {
657 | @inlinable
658 | 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
659 | _ store: Store<ScopedState, ScopedAction>,
660 | state toRescopedState: @escaping (ScopedState) -> RescopedState,
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effect.swift:571:24: warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
569 | await operation(
570 | Send { action in
571 | send(transform(action))
| |- warning: sending 'transform' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'transform' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
572 | }
573 | )
/host/spi-builder-workspace/Sources/ComposableArchitecture/Effects/SignalProducer.swift:20:17: warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
18 | defer { observer.sendCompleted() }
19 | let send = Send { observer.send(value: $0) }
20 | await operation(send)
| |- warning: sending 'operation' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'operation' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
21 | }
22 | lifetime += AnyDisposable {
[415/425] Compiling ComposableArchitecture WithViewStore.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[416/425] Compiling ComposableArchitecture TestStore.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[417/425] Compiling ComposableArchitecture ImmediateScheduler.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[418/425] Compiling ComposableArchitecture AlertStateUIKit.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[419/425] Compiling ComposableArchitecture IfLetUIKit.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[420/425] Compiling ComposableArchitecture UIKitAnimationScheduler.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[421/425] Compiling ComposableArchitecture ViewStore.swift
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2268:46: warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
2266 | let base: Reduce<State, Action>
2267 | var dependencies = DependencyValues()
2268 | let effectDidSubscribe = AsyncStream<Void>.streamWithContinuation()
| |- warning: 'streamWithContinuation(_:bufferingPolicy:)' is deprecated: renamed to 'makeStream(of:bufferingPolicy:)'
| `- note: use 'makeStream(of:bufferingPolicy:)' instead
2269 | var inFlightEffects: Set<LongLivingEffect> = []
2270 | var receivedActions: [(action: Action, state: State)] = []
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:2406:21: warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
2374 |
2375 | /// The exhaustivity of assertions made by the test store.
2376 | public enum Exhaustivity: Equatable {
| `- note: consider making enum 'Exhaustivity' conform to the 'Sendable' protocol
2377 | /// Exhaustive assertions.
2378 | ///
:
2404 |
2405 | /// Non-exhaustive assertions.
2406 | public static let off = Self.off(showSkippedAssertions: false)
| |- warning: static property 'off' is not concurrency-safe because non-'Sendable' type 'Exhaustivity' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'off' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
2407 | }
2408 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestSupport/ImmediateScheduler.swift:7:1: warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
5 | /// so that it can be used for testing whenever a `DateScheduler`
6 | /// is expected.
7 | extension ReactiveSwift.ImmediateScheduler: DateScheduler {
| |- warning: extension declares a conformance of imported type 'ImmediateScheduler' to imported protocol 'DateScheduler'; this will not behave correctly if the owners of 'ReactiveSwift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
8 | public var currentDate: Date {
9 | Date(timeIntervalSince1970: 0)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
67 | /// > class for more information as to why this decision was made.
68 | @dynamicMemberLookup
69 | public final class ViewStore<ViewState, ViewAction> {
| `- note: consider making generic parameter 'ViewState' conform to the 'Sendable' protocol
70 | #if !canImport(Combine)
71 | // dummy implementation in order to allow capturing below
:
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: non-sendable type 'ViewState?' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:466:11: warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
464 | }
465 | } onCancel: {
466 | cancellable.wrappedValue?.dispose()
| `- warning: capture of 'cancellable' with non-sendable type 'Box<(any Disposable)?>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
467 | }
468 | }
/host/spi-builder-workspace/Sources/ComposableArchitecture/Internal/Box.swift:1:13: note: generic class 'Box' does not conform to the 'Sendable' protocol
1 | final class Box<Wrapped> {
| `- note: generic class 'Box' does not conform to the 'Sendable' protocol
2 | var wrappedValue: Wrapped
3 |
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1049:50: warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1047 | let task = self.store
1048 | .send(.init(origin: .send(self.fromScopedAction(action)), file: file, line: line))
1049 | await self.reducer.effectDidSubscribe.stream.first(where: { _ in true })
| `- warning: sending main actor-isolated value of type '(Void) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
1050 | do {
1051 | let currentState = self.state
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1436:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1434 | return
1435 | }
1436 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1437 | _ = {
1438 | self.receive(expectedAction, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1620:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1618 | return
1619 | }
1620 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1621 | _ = {
1622 | self.receive(isMatching, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1674:16: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1672 | return
1673 | }
1674 | await self.receiveAction(timeout: nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1675 | _ = {
1676 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/TestStore.swift:1730:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
1728 | return
1729 | }
1730 | await self.receiveAction(timeout: duration.nanoseconds, file: file, line: line)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self' to nonisolated instance method 'receiveAction(timeout:file:line:)' risks causing data races between nonisolated and main actor-isolated uses
1731 | _ = {
1732 | self.receive(actionCase, assert: updateStateToExpectedResult, file: file, line: line)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type '(ViewState) async -> Bool' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
/host/spi-builder-workspace/Sources/ComposableArchitecture/ViewStore.swift:446:12: warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
444 | _ = await self.produced.producer
445 | .values
446 | .first(where: { !predicate($0) })
| `- warning: sending main actor-isolated value of type 'AsyncStream<ViewState>' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
447 | } else {
448 | let cancellable = Box<Disposable?>(wrappedValue: nil)
[422/426] Wrapping AST for ComposableArchitecture for debugging
[424/433] Compiling swift_composable_architecture_benchmark ViewStore.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:9:5: warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| `- warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let store = Store(
11 | initialState: 0,
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
:
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| |- note: annotate 'viewStoreSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[425/433] Compiling swift_composable_architecture_benchmark main.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:7:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Dependencies
:
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:18:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 |
:
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:9:5: warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| `- warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let store = Store(
11 | initialState: 0,
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
:
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| |- note: annotate 'viewStoreSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[426/433] Compiling swift_composable_architecture_benchmark Dependencies.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:7:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Dependencies
:
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
[427/433] Emitting module swift_composable_architecture_benchmark
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:7:5: warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| `- warning: let 'dependenciesSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Dependencies.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Dependencies
:
5 | import ReactiveSwift
6 |
7 | let dependenciesSuite = BenchmarkSuite(name: "Dependencies") { suite in
| |- note: annotate 'dependenciesSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | #if swift(>=5.7)
9 | let reducer: some ReducerProtocol<Int, Void> = BenchmarkReducer()
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:18:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 |
:
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:9:5: warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| `- warning: let 'viewStoreSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
10 | let store = Store(
11 | initialState: 0,
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/ViewStore.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
:
7 | #endif
8 |
9 | let viewStoreSuite = BenchmarkSuite(name: "ViewStore") {
| |- note: annotate 'viewStoreSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | let store = Store(
11 | initialState: 0,
[428/433] Compiling swift_composable_architecture_benchmark StoreScope.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:18:5: warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| `- warning: let 'storeScopeSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/StoreScope.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 |
:
16 | }
17 |
18 | let storeScopeSuite = BenchmarkSuite(name: "Store scoping") { suite in
| |- note: annotate 'storeScopeSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | var store = Store(initialState: 0, reducer: Counter())
20 | var viewStores: [ViewStore<Int, Bool>] = [ViewStore(store)]
[429/433] Compiling swift_composable_architecture_benchmark Common.swift
[430/433] Compiling swift_composable_architecture_benchmark Effects.swift
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:6:5: warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| `- warning: let 'effectSuite' is not concurrency-safe because non-'Sendable' type 'BenchmarkSuite' may have shared mutable state; this is an error in the Swift 6 language mode
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
/host/spi-builder-workspace/.build/checkouts/swift-benchmark/Sources/Benchmark/BenchmarkSuite.swift:15:14: note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
13 | // limitations under the License.
14 |
15 | public class BenchmarkSuite {
| `- note: class 'BenchmarkSuite' does not conform to the 'Sendable' protocol
16 | public let name: String
17 | public let settings: [BenchmarkSetting]
/host/spi-builder-workspace/Sources/swift-composable-architecture-benchmark/Effects.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
1 | import Benchmark
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Benchmark'
2 | import ComposableArchitecture
3 | import Foundation
4 | import ReactiveSwift
5 |
6 | let effectSuite = BenchmarkSuite(name: "Effects") {
| |- note: annotate 'effectSuite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | $0.benchmark("Merged Effect.none (create, flat)") {
8 | doNotOptimizeAway(EffectTask<Int>.merge((1...100).map { _ in .none }))
[431/434] Wrapping AST for swift-composable-architecture-benchmark for debugging
[432/434] Write Objects.LinkFileList
[433/434] Linking swift-composable-architecture-benchmark
Build complete! (57.86s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
},
{
"identity" : "swift-benchmark",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/google/swift-benchmark"
},
{
"identity" : "reactiveswift",
"requirement" : {
"range" : [
{
"lower_bound" : "7.1.0",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ReactiveCocoa/ReactiveSwift"
},
{
"identity" : "swift-case-paths",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-case-paths"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections"
},
{
"identity" : "swift-custom-dump",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-custom-dump"
},
{
"identity" : "swift-dependencies",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-dependencies"
},
{
"identity" : "swift-identified-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-identified-collections"
},
{
"identity" : "swiftui-navigation",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swiftui-navigation"
},
{
"identity" : "xctest-dynamic-overlay",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/xctest-dynamic-overlay"
}
],
"manifest_display_name" : "reactiveswift-composable-architecture",
"name" : "reactiveswift-composable-architecture",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ComposableArchitecture",
"targets" : [
"ComposableArchitecture"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swift-composable-architecture-benchmark",
"targets" : [
"swift-composable-architecture-benchmark"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "swift_composable_architecture_benchmark",
"module_type" : "SwiftTarget",
"name" : "swift-composable-architecture-benchmark",
"path" : "Sources/swift-composable-architecture-benchmark",
"product_dependencies" : [
"Benchmark"
],
"product_memberships" : [
"swift-composable-architecture-benchmark"
],
"sources" : [
"Common.swift",
"Dependencies.swift",
"Effects.swift",
"StoreScope.swift",
"ViewStore.swift",
"main.swift"
],
"target_dependencies" : [
"ComposableArchitecture"
],
"type" : "executable"
},
{
"c99name" : "_CAsyncSupport",
"module_type" : "SystemLibraryTarget",
"name" : "_CAsyncSupport",
"path" : "Sources/_CAsyncSupport",
"sources" : [
],
"type" : "system-target"
},
{
"c99name" : "ComposableArchitectureTests",
"module_type" : "SwiftTarget",
"name" : "ComposableArchitectureTests",
"path" : "Tests/ComposableArchitectureTests",
"sources" : [
"BindingTests.swift",
"CompatibilityTests.swift",
"ComposableArchitectureTests.swift",
"DebugTests.swift",
"DependencyKeyWritingReducerTests.swift",
"DeprecatedTests.swift",
"EffectCancellationTests.swift",
"EffectDebounceTests.swift",
"EffectDeferredTests.swift",
"EffectFailureTests.swift",
"EffectOperationTests.swift",
"EffectRunTests.swift",
"EffectTaskTests.swift",
"EffectTests.swift",
"EffectThrottleTests.swift",
"ForEachReducerTests.swift",
"IfCaseLetReducerTests.swift",
"IfLetReducerTests.swift",
"MemoryManagementTests.swift",
"ReducerBuilderTests.swift",
"ReducerTests.swift",
"RuntimeWarningTests.swift",
"SchedulerTests.swift",
"ScopeTests.swift",
"SerialExecutor.swift",
"StoreTests.swift",
"TaskCancellationTests.swift",
"TaskResultTests.swift",
"TestStoreFailureTests.swift",
"TestStoreNonExhaustiveTests.swift",
"TestStoreTests.swift",
"TimerTests.swift",
"ViewStoreTests.swift",
"WithViewStoreAppTest.swift"
],
"target_dependencies" : [
"_CAsyncSupport",
"ComposableArchitecture"
],
"type" : "test"
},
{
"c99name" : "ComposableArchitecture",
"module_type" : "SwiftTarget",
"name" : "ComposableArchitecture",
"path" : "Sources/ComposableArchitecture",
"product_dependencies" : [
"CasePaths",
"CustomDump",
"Dependencies",
"IdentifiedCollections",
"OrderedCollections",
"ReactiveSwift",
"XCTestDynamicOverlay"
],
"product_memberships" : [
"ComposableArchitecture",
"swift-composable-architecture-benchmark"
],
"sources" : [
"Dependencies/MainQueue.swift",
"Effect.swift",
"Effects/Animation.swift",
"Effects/Cancellation.swift",
"Effects/Publisher/Debouncing.swift",
"Effects/Publisher/Deferring.swift",
"Effects/Publisher/Throttling.swift",
"Effects/Publisher/Timer.swift",
"Effects/SignalProducer.swift",
"Effects/TaskResult.swift",
"Internal/Binding+IsPresent.swift",
"Internal/Box.swift",
"Internal/Breakpoint.swift",
"Internal/CurrentValueRelay.swift",
"Internal/Debug.swift",
"Internal/Deprecations.swift",
"Internal/Exports.swift",
"Internal/Locking.swift",
"Internal/OpenExistential.swift",
"Internal/RuntimeWarnings.swift",
"Internal/TaskCancellableValue.swift",
"Internal/TypeName.swift",
"Reducer/AnyReducer/AnyReducer.swift",
"Reducer/AnyReducer/AnyReducerBinding.swift",
"Reducer/AnyReducer/AnyReducerCompatibility.swift",
"Reducer/AnyReducer/AnyReducerDebug.swift",
"Reducer/AnyReducer/AnyReducerSignpost.swift",
"Reducer/ReducerBuilder.swift",
"Reducer/Reducers/BindingReducer.swift",
"Reducer/Reducers/CombineReducers.swift",
"Reducer/Reducers/DebugReducer.swift",
"Reducer/Reducers/DependencyKeyWritingReducer.swift",
"Reducer/Reducers/EmptyReducer.swift",
"Reducer/Reducers/ForEachReducer.swift",
"Reducer/Reducers/IfCaseLetReducer.swift",
"Reducer/Reducers/IfLetReducer.swift",
"Reducer/Reducers/Optional.swift",
"Reducer/Reducers/Reduce.swift",
"Reducer/Reducers/Scope.swift",
"Reducer/Reducers/SignpostReducer.swift",
"ReducerProtocol.swift",
"SchedulerExtensions/SchedulerExtensions.swift",
"Store.swift",
"SwiftUI/ActionWrappingScheduler.swift",
"SwiftUI/Alert.swift",
"SwiftUI/Binding.swift",
"SwiftUI/ConfirmationDialog.swift",
"SwiftUI/ForEachStore.swift",
"SwiftUI/Identified.swift",
"SwiftUI/IfLetStore.swift",
"SwiftUI/SwitchStore.swift",
"SwiftUI/WithViewStore.swift",
"TestStore.swift",
"TestSupport/ImmediateScheduler.swift",
"UIKit/AlertStateUIKit.swift",
"UIKit/IfLetUIKit.swift",
"UIKit/UIKitAnimationScheduler.swift",
"ViewStore.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.