The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RxSwift, reference 6.10.2 (132aea), with Swift 6.1 for Android on 3 Mar 2026 06:07:41 UTC.

Swift 6 data race errors: 16

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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

 7 | //
 8 |
 9 | private let disposeScheduledDisposable: (ScheduledDisposable) -> Disposable = { sd in
   |             |- warning: let 'disposeScheduledDisposable' is not concurrency-safe because non-'Sendable' type '(ScheduledDisposable) -> any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |             |- note: add '@MainActor' to make let 'disposeScheduledDisposable' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 |     sd.disposeInner()
11 |     return Disposables.create()
[132/183] Compiling RxSwift Infallible+CombineLatest+Collection.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[133/183] Compiling RxSwift Infallible+CombineLatest+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[134/183] Compiling RxSwift Infallible+Concurrency.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[135/183] Compiling RxSwift Infallible+Create.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[136/183] Compiling RxSwift Infallible+Debug.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[137/183] Compiling RxSwift Infallible+Operators.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[138/183] Compiling RxSwift Infallible+Zip+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[139/183] Compiling RxSwift Infallible.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[140/183] Compiling RxSwift InfiniteSequence.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[141/183] Compiling RxSwift InvocableScheduledItem.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[142/183] Compiling RxSwift InvocableType.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[143/183] Compiling RxSwift Just.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[144/183] Compiling RxSwift Lock.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[145/183] Compiling RxSwift LockOwnerType.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[146/183] Compiling RxSwift MainScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[147/183] Compiling RxSwift Map.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[148/183] Compiling RxSwift Materialize.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[149/183] Compiling RxSwift Maybe.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[150/183] Compiling RxSwift Merge.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[151/183] Compiling RxSwift Multicast.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:33:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
31 |             continuation.onTermination = { @Sendable termination in
32 |                 if termination == .cancelled {
33 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
34 |                 }
35 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:36:23: warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
34 |
35 |     /// Singleton instance of `MainScheduler`
36 |     public static let instance = MainScheduler()
   |                       |- warning: static property 'instance' is not concurrency-safe because non-'Sendable' type 'MainScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'instance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:40:23: warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
38 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
39 |     /// and doesn't perform optimizations for calls scheduled from main queue.
40 |     public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
   |                       |- warning: static property 'asyncInstance' is not concurrency-safe because non-'Sendable' type 'SerialDispatchQueueScheduler' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'asyncInstance' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 |
42 |     /// In case this method is called on a background thread it will throw an exception.
/host/spi-builder-workspace/Sources/RxSwift/SerialDispatchQueueScheduler.swift:29:14: note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 27 |  callback.
 28 |  */
 29 | public class SerialDispatchQueueScheduler: SchedulerType {
    |              `- note: class 'SerialDispatchQueueScheduler' does not conform to the 'Sendable' protocol
 30 |     public typealias TimeInterval = Foundation.TimeInterval
 31 |     public typealias Time = Date
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:70:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
68 |
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
   |                 `- warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 |                 cancel.setDisposable(action(state))
72 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 |  If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 |  */
14 | public final class SingleAssignmentDisposable: DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |     private struct DisposeState: OptionSet {
16 |         let rawValue: Int32
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:38: warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                      |- warning: capture of 'action' with non-sendable type '(StateType) -> any Disposable' 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'
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:71:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
56 |     }
57 |
58 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
59 |         let previousNumberEnqueued = increment(numberEnqueued)
60 |
   :
69 |         mainQueue.async {
70 |             if !cancel.isDisposed {
71 |                 cancel.setDisposable(action(state))
   |                                             `- warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
72 |             }
73 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:74:23: warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 |  operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
23 |  */
24 | public final class MainScheduler: SerialDispatchQueueScheduler {
   |                    `- note: class 'MainScheduler' does not conform to the 'Sendable' protocol
25 |     private let mainQueue: DispatchQueue
26 |
   :
72 |             }
73 |
74 |             decrement(self.numberEnqueued)
   |                       `- warning: capture of 'self' with non-sendable type 'MainScheduler' in a '@Sendable' closure; this is an error in the Swift 6 language mode
75 |         }
76 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:28:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
26 |         AsyncStream<Element> { continuation in
27 |             let disposable = subscribe(
28 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
29 |                 onCompleted: { continuation.finish() }
30 |             )
[152/183] Compiling RxSwift SynchronizedOnType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[153/183] Compiling RxSwift SynchronizedUnsubscribeType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[154/183] Compiling RxSwift TailRecursiveSink.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[155/183] Compiling RxSwift Take.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[156/183] Compiling RxSwift TakeLast.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[157/183] Compiling RxSwift TakeWithPredicate.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[158/183] Compiling RxSwift Throttle.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[159/183] Compiling RxSwift Timeout.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[160/183] Compiling RxSwift Timer.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[161/183] Compiling RxSwift ToArray.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[162/183] Compiling RxSwift Using.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[163/183] Compiling RxSwift VirtualTimeConverterType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[164/183] Compiling RxSwift VirtualTimeScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[165/183] Compiling RxSwift Window.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[166/183] Compiling RxSwift WithLatestFrom.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[167/183] Compiling RxSwift WithUnretained.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[168/183] Compiling RxSwift Zip+Collection.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[169/183] Compiling RxSwift Zip+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[170/183] Compiling RxSwift Zip.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[171/183] Compiling RxSwift resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[172/196] Wrapping AST for RxSwift for debugging
[173/196] Write Objects.LinkFileList
[175/214] Compiling RxRelay ReplayRelay.swift
[176/214] Emitting module RxRelay
[177/214] Compiling RxRelay BehaviorRelay.swift
[178/214] Compiling RxRelay Observable+Bind.swift
[179/214] Compiling RxRelay Utils.swift
[180/214] Compiling RxRelay PublishRelay.swift
[181/214] Compiling RxRelay resource_bundle_accessor.swift
[182/215] Compiling RxTest TestableObserver.swift
[183/216] Compiling RxBlocking BlockingObservable.swift
[184/216] Compiling RxBlocking RecursiveLock.swift
[185/216] Compiling RxBlocking Resources.swift
[186/216] Compiling RxBlocking ObservableConvertibleType+Blocking.swift
[187/217] Compiling RxBlocking Platform.Linux.swift
[188/217] Compiling RxBlocking Platform.Darwin.swift
[189/217] Compiling RxTest Recorded.swift
[190/217] Compiling RxTest RxTest.swift
[191/217] Compiling RxTest HotObservable.swift
[192/217] Compiling RxTest Recorded+Event.swift
[194/217] Emitting module RxBlocking
/host/spi-builder-workspace/Sources/RxBlocking/RunLoopLock.swift:17:5: warning: let 'runLoopModeRaw' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | let runLoopMode: RunLoop.Mode = .default
17 | let runLoopModeRaw: CFString = unsafeBitCast(runLoopMode.rawValue._bridgeToObjectiveC(), to: CFString.self)
   |     `- warning: let 'runLoopModeRaw' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #else
19 | let runLoopMode: CFRunLoopMode = .defaultMode
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/RxBlocking/RunLoopLock.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
 7 | //
 8 |
 9 | import CoreFoundation
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | import Foundation
11 | import RxSwift
   :
15 |
16 | let runLoopMode: RunLoop.Mode = .default
17 | let runLoopModeRaw: CFString = unsafeBitCast(runLoopMode.rawValue._bridgeToObjectiveC(), to: CFString.self)
   |     |- note: add '@MainActor' to make let 'runLoopModeRaw' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #else
19 | let runLoopMode: CFRunLoopMode = .defaultMode
[195/217] Compiling RxTest ColdObservable.swift
[196/217] Compiling RxTest Event+Equatable.swift
[197/217] Compiling RxTest Subscription.swift
[198/217] Compiling RxTest TestScheduler.swift
[199/217] Compiling RxTest TestSchedulerVirtualTimeConverter.swift
[200/217] Compiling RxTest TestableObservable.swift
[202/217] Linking libRxSwift-Dynamic.so
[204/217] Emitting module RxTest
[205/217] Compiling RxTest Any+Equatable.swift
[206/217] Compiling RxTest Bag.swift
[206/217] Wrapping AST for RxRelay for debugging
[207/217] Write Objects.LinkFileList
[209/217] Compiling RxBlocking RunLoopLock.swift
/host/spi-builder-workspace/Sources/RxBlocking/RunLoopLock.swift:17:5: warning: let 'runLoopModeRaw' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
15 |
16 | let runLoopMode: RunLoop.Mode = .default
17 | let runLoopModeRaw: CFString = unsafeBitCast(runLoopMode.rawValue._bridgeToObjectiveC(), to: CFString.self)
   |     `- warning: let 'runLoopModeRaw' is not concurrency-safe because non-'Sendable' type 'CFString' may have shared mutable state; this is an error in the Swift 6 language mode
18 | #else
19 | let runLoopMode: CFRunLoopMode = .defaultMode
CoreFoundation.CFString:1:14: note: class 'CFString' does not conform to the 'Sendable' protocol
1 | public class CFString {
  |              `- note: class 'CFString' does not conform to the 'Sendable' protocol
2 | }
/host/spi-builder-workspace/Sources/RxBlocking/RunLoopLock.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
 7 | //
 8 |
 9 | import CoreFoundation
   | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'CoreFoundation'
10 | import Foundation
11 | import RxSwift
   :
15 |
16 | let runLoopMode: RunLoop.Mode = .default
17 | let runLoopModeRaw: CFString = unsafeBitCast(runLoopMode.rawValue._bridgeToObjectiveC(), to: CFString.self)
   |     |- note: add '@MainActor' to make let 'runLoopModeRaw' part of global actor 'MainActor'
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | #else
19 | let runLoopMode: CFRunLoopMode = .defaultMode
[210/218] Wrapping AST for RxBlocking for debugging
[211/218] Write Objects.LinkFileList
[213/218] Compiling RxTest XCTest+Rx.swift
[213/219] Linking libRxRelay-Dynamic.so
[215/219] Wrapping AST for RxTest for debugging
[216/219] Write Objects.LinkFileList
[217/219] Linking libRxBlocking-Dynamic.so
[218/219] Linking libRxTest-Dynamic.so
Build complete! (17.63s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RxSwift",
  "name" : "RxSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "RxSwift",
      "targets" : [
        "RxSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxRelay",
      "targets" : [
        "RxRelay"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxBlocking",
      "targets" : [
        "RxBlocking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxTest",
      "targets" : [
        "RxTest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxSwift-Dynamic",
      "targets" : [
        "RxSwift"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RxRelay-Dynamic",
      "targets" : [
        "RxRelay"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RxBlocking-Dynamic",
      "targets" : [
        "RxBlocking"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RxTest-Dynamic",
      "targets" : [
        "RxTest"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "RxTest",
      "module_type" : "SwiftTarget",
      "name" : "RxTest",
      "path" : "Sources/RxTest",
      "product_memberships" : [
        "RxTest",
        "RxTest-Dynamic"
      ],
      "sources" : [
        "Any+Equatable.swift",
        "Bag.swift",
        "ColdObservable.swift",
        "Event+Equatable.swift",
        "HotObservable.swift",
        "Recorded+Event.swift",
        "Recorded.swift",
        "RxTest.swift",
        "Subscription.swift",
        "TestScheduler.swift",
        "TestSchedulerVirtualTimeConverter.swift",
        "TestableObservable.swift",
        "TestableObserver.swift",
        "XCTest+Rx.swift"
      ],
      "target_dependencies" : [
        "RxSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RxSwift",
      "module_type" : "SwiftTarget",
      "name" : "RxSwift",
      "path" : "Sources/RxSwift",
      "product_memberships" : [
        "RxSwift",
        "RxRelay",
        "RxBlocking",
        "RxTest",
        "RxSwift-Dynamic",
        "RxRelay-Dynamic",
        "RxBlocking-Dynamic",
        "RxTest-Dynamic"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/RxSwift/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AddRef.swift",
        "Amb.swift",
        "AnonymousDisposable.swift",
        "AnonymousObserver.swift",
        "AnyObserver.swift",
        "AsMaybe.swift",
        "AsSingle.swift",
        "AsyncLock.swift",
        "AsyncSubject.swift",
        "AtomicInt.swift",
        "Bag+Rx.swift",
        "Bag.swift",
        "BehaviorSubject.swift",
        "BinaryDisposable.swift",
        "Binder.swift",
        "BooleanDisposable.swift",
        "Buffer.swift",
        "Cancelable.swift",
        "Catch.swift",
        "CombineLatest+Collection.swift",
        "CombineLatest+arity.swift",
        "CombineLatest.swift",
        "CompactMap.swift",
        "Completable+AndThen.swift",
        "Completable.swift",
        "CompositeDisposable.swift",
        "Concat.swift",
        "ConcurrentDispatchQueueScheduler.swift",
        "ConcurrentMainScheduler.swift",
        "ConnectableObservableType.swift",
        "Create.swift",
        "CurrentThreadScheduler.swift",
        "Date+Dispatch.swift",
        "Debounce.swift",
        "Debug.swift",
        "Decode.swift",
        "DefaultIfEmpty.swift",
        "Deferred.swift",
        "Delay.swift",
        "DelaySubscription.swift",
        "Dematerialize.swift",
        "DispatchQueue+Extensions.swift",
        "DispatchQueueConfiguration.swift",
        "Disposable.swift",
        "Disposables.swift",
        "DisposeBag.swift",
        "DisposeBase.swift",
        "DistinctUntilChanged.swift",
        "Do.swift",
        "ElementAt.swift",
        "Empty.swift",
        "Enumerated.swift",
        "Error.swift",
        "Errors.swift",
        "Event.swift",
        "Filter.swift",
        "First.swift",
        "Generate.swift",
        "GroupBy.swift",
        "GroupedObservable.swift",
        "HistoricalScheduler.swift",
        "HistoricalSchedulerTimeConverter.swift",
        "ImmediateSchedulerType.swift",
        "Infallible+CombineLatest+Collection.swift",
        "Infallible+CombineLatest+arity.swift",
        "Infallible+Concurrency.swift",
        "Infallible+Create.swift",
        "Infallible+Debug.swift",
        "Infallible+Operators.swift",
        "Infallible+Zip+arity.swift",
        "Infallible.swift",
        "InfiniteSequence.swift",
        "InvocableScheduledItem.swift",
        "InvocableType.swift",
        "Just.swift",
        "Lock.swift",
        "LockOwnerType.swift",
        "MainScheduler.swift",
        "Map.swift",
        "Materialize.swift",
        "Maybe.swift",
        "Merge.swift",
        "Multicast.swift",
        "Never.swift",
        "NopDisposable.swift",
        "Observable+Concurrency.swift",
        "Observable.swift",
        "ObservableConvertibleType+Infallible.swift",
        "ObservableConvertibleType.swift",
        "ObservableType+Extensions.swift",
        "ObservableType+PrimitiveSequence.swift",
        "ObservableType.swift",
        "ObserveOn.swift",
        "ObserverBase.swift",
        "ObserverType.swift",
        "OperationQueueScheduler.swift",
        "Optional.swift",
        "Platform.Darwin.swift",
        "Platform.Linux.swift",
        "PrimitiveSequence+Concurrency.swift",
        "PrimitiveSequence+Zip+arity.swift",
        "PrimitiveSequence.swift",
        "PriorityQueue.swift",
        "Producer.swift",
        "PublishSubject.swift",
        "Queue.swift",
        "Range.swift",
        "Reactive.swift",
        "RecursiveLock.swift",
        "RecursiveScheduler.swift",
        "Reduce.swift",
        "RefCountDisposable.swift",
        "Repeat.swift",
        "ReplaySubject.swift",
        "RetryWhen.swift",
        "Rx.swift",
        "RxMutableBox.swift",
        "Sample.swift",
        "Scan.swift",
        "ScheduledDisposable.swift",
        "ScheduledItem.swift",
        "ScheduledItemType.swift",
        "SchedulerServices+Emulation.swift",
        "SchedulerType.swift",
        "Sequence.swift",
        "SerialDispatchQueueScheduler.swift",
        "SerialDisposable.swift",
        "ShareReplayScope.swift",
        "Single.swift",
        "SingleAssignmentDisposable.swift",
        "SingleAsync.swift",
        "Sink.swift",
        "Skip.swift",
        "SkipUntil.swift",
        "SkipWhile.swift",
        "StartWith.swift",
        "SubjectType.swift",
        "SubscribeOn.swift",
        "SubscriptionDisposable.swift",
        "SwiftSupport.swift",
        "Switch.swift",
        "SwitchIfEmpty.swift",
        "SynchronizedDisposeType.swift",
        "SynchronizedOnType.swift",
        "SynchronizedUnsubscribeType.swift",
        "TailRecursiveSink.swift",
        "Take.swift",
        "TakeLast.swift",
        "TakeWithPredicate.swift",
        "Throttle.swift",
        "Timeout.swift",
        "Timer.swift",
        "ToArray.swift",
        "Using.swift",
        "VirtualTimeConverterType.swift",
        "VirtualTimeScheduler.swift",
        "Window.swift",
        "WithLatestFrom.swift",
        "WithUnretained.swift",
        "Zip+Collection.swift",
        "Zip+arity.swift",
        "Zip.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RxRelay",
      "module_type" : "SwiftTarget",
      "name" : "RxRelay",
      "path" : "Sources/RxRelay",
      "product_memberships" : [
        "RxRelay",
        "RxRelay-Dynamic"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/RxRelay/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BehaviorRelay.swift",
        "Observable+Bind.swift",
        "PublishRelay.swift",
        "ReplayRelay.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "RxSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RxBlocking",
      "module_type" : "SwiftTarget",
      "name" : "RxBlocking",
      "path" : "Sources/RxBlocking",
      "product_memberships" : [
        "RxBlocking",
        "RxBlocking-Dynamic"
      ],
      "sources" : [
        "AtomicInt.swift",
        "BlockingObservable+Operators.swift",
        "BlockingObservable.swift",
        "ObservableConvertibleType+Blocking.swift",
        "Platform.Darwin.swift",
        "Platform.Linux.swift",
        "RecursiveLock.swift",
        "Resources.swift",
        "RunLoopLock.swift"
      ],
      "target_dependencies" : [
        "RxSwift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.