The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RxSwift, reference main (3e33f9), with Swift 6.1 for Android on 5 Sep 2026 03:51:25 UTC.

Swift 6 data race errors: 16

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

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