The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RxSwift, reference 6.9.0 (5dd190), with Swift 6.1 for Android on 30 May 2025 09:34:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[136/188] Compiling RxSwift Infallible+Concurrency.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[137/188] Compiling RxSwift Infallible+Create.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[138/188] Compiling RxSwift Infallible+Debug.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[139/188] Compiling RxSwift Infallible+Operators.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[140/188] Compiling RxSwift Infallible+Zip+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[141/188] Compiling RxSwift Infallible.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[142/188] Compiling RxSwift InfiniteSequence.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[143/188] Compiling RxSwift InvocableScheduledItem.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[144/188] Compiling RxSwift InvocableType.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[145/188] Compiling RxSwift Just.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[146/188] Compiling RxSwift Lock.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[147/188] Compiling RxSwift LockOwnerType.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[148/188] Compiling RxSwift MainScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[149/188] Compiling RxSwift Map.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[150/188] Compiling RxSwift Materialize.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[151/188] Compiling RxSwift Maybe.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[152/188] Compiling RxSwift Merge.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[153/188] Compiling RxSwift Multicast.swift
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:31: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
29 |             continuation.onTermination = { @Sendable termination in
30 |                 if termination == .cancelled {
31 |                     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
32 |                 }
33 |             }
/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:37: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 |
26 |     private let mainQueue: DispatchQueue
   :
35 |
36 |     /// Singleton instance of `MainScheduler`
37 |     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
38 |
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:41: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
39 |     /// Singleton instance of `MainScheduler` that always schedules work asynchronously
40 |     /// and doesn't perform optimizations for calls scheduled from main queue.
41 |     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
42 |
43 |     /// 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:71:17: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
69 |
70 |         self.mainQueue.async {
71 |             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
72 |                 cancel.setDisposable(action(state))
73 |             }
/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 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72: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
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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'
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:72:45: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
57 |     }
58 |
59 |     override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                                    `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
60 |         let previousNumberEnqueued = increment(self.numberEnqueued)
61 |
   :
70 |         self.mainQueue.async {
71 |             if !cancel.isDisposed {
72 |                 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
73 |             }
74 |
/host/spi-builder-workspace/Sources/RxSwift/MainScheduler.swift:75: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 |
26 |     private let mainQueue: DispatchQueue
   :
73 |             }
74 |
75 |             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
76 |         }
77 |
/host/spi-builder-workspace/Sources/RxSwift/Infallible+Concurrency.swift:26:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
24 |         AsyncStream<Element> { continuation in
25 |             let disposable = subscribe(
26 |                 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
27 |                 onCompleted: { continuation.finish() }
28 |             )
[154/188] Compiling RxSwift SynchronizedOnType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift SynchronizedUnsubscribeType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift TailRecursiveSink.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Take.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift TakeLast.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift TakeWithPredicate.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Throttle.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Timeout.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Timer.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift ToArray.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Using.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift VirtualTimeConverterType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift VirtualTimeScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Window.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift WithLatestFrom.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift WithUnretained.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Zip+Collection.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Zip+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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/188] Compiling RxSwift Zip.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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 |
[173/188] Compiling RxSwift resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: 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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/16] Write swift-version-24593BA9C3E375BF.txt
[2/160] Compiling RxSwift DispatchQueueConfiguration.swift
[3/160] Compiling RxSwift Disposable.swift
[4/160] Compiling RxSwift Disposables.swift
[5/160] Compiling RxSwift DisposeBag.swift
[6/160] Compiling RxSwift DisposeBase.swift
[7/160] Compiling RxSwift DistinctUntilChanged.swift
[8/160] Compiling RxSwift Do.swift
[9/160] Compiling RxSwift ElementAt.swift
[10/160] Compiling RxSwift Empty.swift
[11/160] Compiling RxSwift Enumerated.swift
[12/160] Compiling RxSwift Error.swift
[13/160] Compiling RxSwift Errors.swift
[14/160] Compiling RxSwift Event.swift
[15/160] Compiling RxSwift Filter.swift
[16/160] Compiling RxSwift First.swift
[17/160] Compiling RxSwift Generate.swift
[18/160] Compiling RxSwift GroupBy.swift
[19/160] Compiling RxSwift GroupedObservable.swift
[20/160] Compiling RxSwift HistoricalScheduler.swift
[21/160] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[22/160] Compiling RxSwift ImmediateSchedulerType.swift
[23/180] Emitting module RxSwift
[24/180] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[25/180] Compiling RxSwift Infallible+CombineLatest+arity.swift
[26/180] Compiling RxSwift Infallible+Concurrency.swift
[27/180] Compiling RxSwift Infallible+Create.swift
[28/180] Compiling RxSwift Infallible+Debug.swift
[29/180] Compiling RxSwift Infallible+Operators.swift
[30/180] Compiling RxSwift Infallible+Zip+arity.swift
[31/180] Compiling RxSwift Infallible.swift
[32/180] Compiling RxSwift InfiniteSequence.swift
[33/180] Compiling RxSwift InvocableScheduledItem.swift
[34/180] Compiling RxSwift InvocableType.swift
[35/180] Compiling RxSwift Just.swift
[36/180] Compiling RxSwift Lock.swift
[37/180] Compiling RxSwift LockOwnerType.swift
[38/180] Compiling RxSwift MainScheduler.swift
[39/180] Compiling RxSwift Map.swift
[40/180] Compiling RxSwift Materialize.swift
[41/180] Compiling RxSwift Maybe.swift
[42/180] Compiling RxSwift Merge.swift
[43/180] Compiling RxSwift Multicast.swift
[44/180] Compiling RxSwift Producer.swift
[45/180] Compiling RxSwift PublishSubject.swift
[46/180] Compiling RxSwift Queue.swift
[47/180] Compiling RxSwift Range.swift
[48/180] Compiling RxSwift Reactive.swift
[49/180] Compiling RxSwift RecursiveLock.swift
[50/180] Compiling RxSwift RecursiveScheduler.swift
[51/180] Compiling RxSwift Reduce.swift
[52/180] Compiling RxSwift RefCountDisposable.swift
[53/180] Compiling RxSwift Repeat.swift
[54/180] Compiling RxSwift ReplaySubject.swift
[55/180] Compiling RxSwift RetryWhen.swift
[56/180] Compiling RxSwift Rx.swift
[57/180] Compiling RxSwift RxMutableBox.swift
[58/180] Compiling RxSwift Sample.swift
[59/180] Compiling RxSwift Scan.swift
[60/180] Compiling RxSwift ScheduledDisposable.swift
[61/180] Compiling RxSwift ScheduledItem.swift
[62/180] Compiling RxSwift ScheduledItemType.swift
[63/180] Compiling RxSwift SchedulerServices+Emulation.swift
[64/180] Compiling RxSwift Never.swift
[65/180] Compiling RxSwift NopDisposable.swift
[66/180] Compiling RxSwift Observable+Concurrency.swift
[67/180] Compiling RxSwift Observable.swift
[68/180] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[69/180] Compiling RxSwift ObservableConvertibleType.swift
[70/180] Compiling RxSwift ObservableType+Extensions.swift
[71/180] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[72/180] Compiling RxSwift ObservableType.swift
[73/180] Compiling RxSwift ObserveOn.swift
[74/180] Compiling RxSwift ObserverBase.swift
[75/180] Compiling RxSwift ObserverType.swift
[76/180] Compiling RxSwift OperationQueueScheduler.swift
[77/180] Compiling RxSwift Optional.swift
[78/180] Compiling RxSwift Platform.Darwin.swift
[79/180] Compiling RxSwift Platform.Linux.swift
[80/180] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[81/180] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[82/180] Compiling RxSwift PrimitiveSequence.swift
[83/180] Compiling RxSwift PriorityQueue.swift
[84/180] Compiling RxSwift SchedulerType.swift
[85/180] Compiling RxSwift Sequence.swift
[86/180] Compiling RxSwift SerialDispatchQueueScheduler.swift
[87/180] Compiling RxSwift SerialDisposable.swift
[88/180] Compiling RxSwift ShareReplayScope.swift
[89/180] Compiling RxSwift Single.swift
[90/180] Compiling RxSwift SingleAssignmentDisposable.swift
[91/180] Compiling RxSwift SingleAsync.swift
[92/180] Compiling RxSwift Sink.swift
[93/180] Compiling RxSwift Skip.swift
[94/180] Compiling RxSwift SkipUntil.swift
[95/180] Compiling RxSwift SkipWhile.swift
[96/180] Compiling RxSwift StartWith.swift
[97/180] Compiling RxSwift SubjectType.swift
[98/180] Compiling RxSwift SubscribeOn.swift
[99/180] Compiling RxSwift SubscriptionDisposable.swift
[100/180] Compiling RxSwift SwiftSupport.swift
[101/180] Compiling RxSwift Switch.swift
[102/180] Compiling RxSwift SwitchIfEmpty.swift
[103/180] Compiling RxSwift SynchronizedDisposeType.swift
[104/180] Compiling RxSwift CombineLatest.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[105/180] Compiling RxSwift CompactMap.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[106/180] Compiling RxSwift Completable+AndThen.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[107/180] Compiling RxSwift Completable.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[108/180] Compiling RxSwift CompositeDisposable.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[109/180] Compiling RxSwift Concat.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[110/180] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[111/180] Compiling RxSwift ConcurrentMainScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[112/180] Compiling RxSwift ConnectableObservableType.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[113/180] Compiling RxSwift Create.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[114/180] Compiling RxSwift CurrentThreadScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[115/180] Compiling RxSwift Date+Dispatch.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[116/180] Compiling RxSwift Debounce.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[117/180] Compiling RxSwift Debug.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[118/180] Compiling RxSwift Decode.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[119/180] Compiling RxSwift DefaultIfEmpty.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[120/180] Compiling RxSwift Deferred.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[121/180] Compiling RxSwift Delay.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[122/180] Compiling RxSwift DelaySubscription.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[123/180] Compiling RxSwift Dematerialize.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[124/180] Compiling RxSwift DispatchQueue+Extensions.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[125/180] Compiling RxSwift SynchronizedOnType.swift
[126/180] Compiling RxSwift SynchronizedUnsubscribeType.swift
[127/180] Compiling RxSwift TailRecursiveSink.swift
[128/180] Compiling RxSwift Take.swift
[129/180] Compiling RxSwift TakeLast.swift
[130/180] Compiling RxSwift TakeWithPredicate.swift
[131/180] Compiling RxSwift Throttle.swift
[132/180] Compiling RxSwift Timeout.swift
[133/180] Compiling RxSwift Timer.swift
[134/180] Compiling RxSwift ToArray.swift
[135/180] Compiling RxSwift Using.swift
[136/180] Compiling RxSwift VirtualTimeConverterType.swift
[137/180] Compiling RxSwift VirtualTimeScheduler.swift
[138/180] Compiling RxSwift Window.swift
[139/180] Compiling RxSwift WithLatestFrom.swift
[140/180] Compiling RxSwift WithUnretained.swift
[141/180] Compiling RxSwift Zip+Collection.swift
[142/180] Compiling RxSwift Zip+arity.swift
[143/180] Compiling RxSwift Zip.swift
[144/180] Compiling RxSwift resource_bundle_accessor.swift
[145/180] Compiling RxSwift AddRef.swift
[146/180] Compiling RxSwift Amb.swift
[147/180] Compiling RxSwift AnonymousDisposable.swift
[148/180] Compiling RxSwift AnonymousObserver.swift
[149/180] Compiling RxSwift AnyObserver.swift
[150/180] Compiling RxSwift AsMaybe.swift
[151/180] Compiling RxSwift AsSingle.swift
[152/180] Compiling RxSwift AsyncLock.swift
[153/180] Compiling RxSwift AsyncSubject.swift
[154/180] Compiling RxSwift AtomicInt.swift
[155/180] Compiling RxSwift Bag+Rx.swift
[156/180] Compiling RxSwift Bag.swift
[157/180] Compiling RxSwift BehaviorSubject.swift
[158/180] Compiling RxSwift BinaryDisposable.swift
[159/180] Compiling RxSwift Binder.swift
[160/180] Compiling RxSwift BooleanDisposable.swift
[161/180] Compiling RxSwift Buffer.swift
[162/180] Compiling RxSwift Cancelable.swift
[163/180] Compiling RxSwift Catch.swift
[164/180] Compiling RxSwift CombineLatest+Collection.swift
[165/180] Compiling RxSwift CombineLatest+arity.swift
BUILD FAILURE 6.1 android