The Swift Package Index logo.Swift Package Index

Build Information

Successful build of RxSwift, reference main (132aea), with Swift 6.1 for Linux on 3 Mar 2026 06:08:46 UTC.

Swift 6 data race errors: 16

Build Command

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

Build Log

 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: ())
[133/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: ())
[134/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: ())
[135/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: ())
[136/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: ())
[137/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: ())
[138/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: ())
[139/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: ())
[140/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: ())
[141/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: ())
[142/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: ())
[143/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: ())
[144/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: ())
[145/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: ())
[146/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: ())
[147/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: ())
[148/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: ())
[149/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: ())
[150/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: ())
[151/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: ())
[152/183] Compiling RxSwift SynchronizedOnType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[153/183] Compiling RxSwift SynchronizedUnsubscribeType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[154/183] Compiling RxSwift TailRecursiveSink.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[155/183] Compiling RxSwift Take.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[156/183] Compiling RxSwift TakeLast.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[157/183] Compiling RxSwift TakeWithPredicate.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[158/183] Compiling RxSwift Throttle.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[159/183] Compiling RxSwift Timeout.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[160/183] Compiling RxSwift Timer.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[161/183] Compiling RxSwift ToArray.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[162/183] Compiling RxSwift Using.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[163/183] Compiling RxSwift VirtualTimeConverterType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[164/183] Compiling RxSwift VirtualTimeScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[165/183] Compiling RxSwift Window.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[166/183] Compiling RxSwift WithLatestFrom.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[167/183] Compiling RxSwift WithUnretained.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[168/183] Compiling RxSwift Zip+Collection.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[169/183] Compiling RxSwift Zip+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[170/183] Compiling RxSwift Zip.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[171/183] Compiling RxSwift resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:12: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 | public var maxTailRecursiveSinkStackSize = 0
    |            |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[172/184] Wrapping AST for RxSwift for debugging
[173/184] Write Objects.LinkFileList
[175/214] Compiling RxBlocking RecursiveLock.swift
[176/215] Compiling RxRelay ReplayRelay.swift
[177/215] Compiling RxRelay resource_bundle_accessor.swift
[178/215] Compiling RxRelay Utils.swift
[179/215] Compiling RxBlocking Resources.swift
[180/215] Compiling RxBlocking Platform.Darwin.swift
[181/215] Compiling RxBlocking ObservableConvertibleType+Blocking.swift
[182/215] Compiling RxBlocking Platform.Linux.swift
[183/215] Compiling RxTest TestableObserver.swift
[184/216] Compiling RxRelay PublishRelay.swift
[185/216] Compiling RxRelay Observable+Bind.swift
[186/216] Emitting module RxTest
[187/216] Compiling RxBlocking AtomicInt.swift
[188/216] Compiling RxBlocking BlockingObservable+Operators.swift
[189/216] Compiling RxRelay BehaviorRelay.swift
[190/216] Emitting module RxRelay
[190/217] Linking libRxSwift-Dynamic.so
[192/217] Compiling RxTest ColdObservable.swift
[193/217] Compiling RxTest Event+Equatable.swift
[194/217] Compiling RxTest TestSchedulerVirtualTimeConverter.swift
[195/217] Compiling RxTest TestableObservable.swift
[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
[197/217] Compiling RxBlocking BlockingObservable.swift
[198/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
[202/218] Compiling RxTest Recorded.swift
[203/218] Compiling RxTest RxTest.swift
[204/218] Compiling RxTest Subscription.swift
[205/218] Compiling RxTest TestScheduler.swift
[206/218] Compiling RxTest HotObservable.swift
[207/218] Compiling RxTest Recorded+Event.swift
[208/218] Wrapping AST for RxRelay for debugging
[209/218] Write Objects.LinkFileList
[210/218] Wrapping AST for RxBlocking for debugging
[211/218] Write Objects.LinkFileList
[213/218] Compiling RxTest XCTest+Rx.swift
[214/219] Wrapping AST for RxTest for debugging
[215/219] Write Objects.LinkFileList
[216/219] Linking libRxBlocking-Dynamic.so
[217/219] Linking libRxRelay-Dynamic.so
[218/219] Linking libRxTest-Dynamic.so
Build complete! (18.45s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "RxSwift",
  "name" : "RxSwift",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "RxSwift",
      "targets" : [
        "RxSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxRelay",
      "targets" : [
        "RxRelay"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxBlocking",
      "targets" : [
        "RxBlocking"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxTest",
      "targets" : [
        "RxTest"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RxSwift-Dynamic",
      "targets" : [
        "RxSwift"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RxRelay-Dynamic",
      "targets" : [
        "RxRelay"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RxBlocking-Dynamic",
      "targets" : [
        "RxBlocking"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    },
    {
      "name" : "RxTest-Dynamic",
      "targets" : [
        "RxTest"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "RxTest",
      "module_type" : "SwiftTarget",
      "name" : "RxTest",
      "path" : "Sources/RxTest",
      "product_memberships" : [
        "RxTest",
        "RxTest-Dynamic"
      ],
      "sources" : [
        "Any+Equatable.swift",
        "Bag.swift",
        "ColdObservable.swift",
        "Event+Equatable.swift",
        "HotObservable.swift",
        "Recorded+Event.swift",
        "Recorded.swift",
        "RxTest.swift",
        "Subscription.swift",
        "TestScheduler.swift",
        "TestSchedulerVirtualTimeConverter.swift",
        "TestableObservable.swift",
        "TestableObserver.swift",
        "XCTest+Rx.swift"
      ],
      "target_dependencies" : [
        "RxSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RxSwift",
      "module_type" : "SwiftTarget",
      "name" : "RxSwift",
      "path" : "Sources/RxSwift",
      "product_memberships" : [
        "RxSwift",
        "RxRelay",
        "RxBlocking",
        "RxTest",
        "RxSwift-Dynamic",
        "RxRelay-Dynamic",
        "RxBlocking-Dynamic",
        "RxTest-Dynamic"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/RxSwift/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AddRef.swift",
        "Amb.swift",
        "AnonymousDisposable.swift",
        "AnonymousObserver.swift",
        "AnyObserver.swift",
        "AsMaybe.swift",
        "AsSingle.swift",
        "AsyncLock.swift",
        "AsyncSubject.swift",
        "AtomicInt.swift",
        "Bag+Rx.swift",
        "Bag.swift",
        "BehaviorSubject.swift",
        "BinaryDisposable.swift",
        "Binder.swift",
        "BooleanDisposable.swift",
        "Buffer.swift",
        "Cancelable.swift",
        "Catch.swift",
        "CombineLatest+Collection.swift",
        "CombineLatest+arity.swift",
        "CombineLatest.swift",
        "CompactMap.swift",
        "Completable+AndThen.swift",
        "Completable.swift",
        "CompositeDisposable.swift",
        "Concat.swift",
        "ConcurrentDispatchQueueScheduler.swift",
        "ConcurrentMainScheduler.swift",
        "ConnectableObservableType.swift",
        "Create.swift",
        "CurrentThreadScheduler.swift",
        "Date+Dispatch.swift",
        "Debounce.swift",
        "Debug.swift",
        "Decode.swift",
        "DefaultIfEmpty.swift",
        "Deferred.swift",
        "Delay.swift",
        "DelaySubscription.swift",
        "Dematerialize.swift",
        "DispatchQueue+Extensions.swift",
        "DispatchQueueConfiguration.swift",
        "Disposable.swift",
        "Disposables.swift",
        "DisposeBag.swift",
        "DisposeBase.swift",
        "DistinctUntilChanged.swift",
        "Do.swift",
        "ElementAt.swift",
        "Empty.swift",
        "Enumerated.swift",
        "Error.swift",
        "Errors.swift",
        "Event.swift",
        "Filter.swift",
        "First.swift",
        "Generate.swift",
        "GroupBy.swift",
        "GroupedObservable.swift",
        "HistoricalScheduler.swift",
        "HistoricalSchedulerTimeConverter.swift",
        "ImmediateSchedulerType.swift",
        "Infallible+CombineLatest+Collection.swift",
        "Infallible+CombineLatest+arity.swift",
        "Infallible+Concurrency.swift",
        "Infallible+Create.swift",
        "Infallible+Debug.swift",
        "Infallible+Operators.swift",
        "Infallible+Zip+arity.swift",
        "Infallible.swift",
        "InfiniteSequence.swift",
        "InvocableScheduledItem.swift",
        "InvocableType.swift",
        "Just.swift",
        "Lock.swift",
        "LockOwnerType.swift",
        "MainScheduler.swift",
        "Map.swift",
        "Materialize.swift",
        "Maybe.swift",
        "Merge.swift",
        "Multicast.swift",
        "Never.swift",
        "NopDisposable.swift",
        "Observable+Concurrency.swift",
        "Observable.swift",
        "ObservableConvertibleType+Infallible.swift",
        "ObservableConvertibleType.swift",
        "ObservableType+Extensions.swift",
        "ObservableType+PrimitiveSequence.swift",
        "ObservableType.swift",
        "ObserveOn.swift",
        "ObserverBase.swift",
        "ObserverType.swift",
        "OperationQueueScheduler.swift",
        "Optional.swift",
        "Platform.Darwin.swift",
        "Platform.Linux.swift",
        "PrimitiveSequence+Concurrency.swift",
        "PrimitiveSequence+Zip+arity.swift",
        "PrimitiveSequence.swift",
        "PriorityQueue.swift",
        "Producer.swift",
        "PublishSubject.swift",
        "Queue.swift",
        "Range.swift",
        "Reactive.swift",
        "RecursiveLock.swift",
        "RecursiveScheduler.swift",
        "Reduce.swift",
        "RefCountDisposable.swift",
        "Repeat.swift",
        "ReplaySubject.swift",
        "RetryWhen.swift",
        "Rx.swift",
        "RxMutableBox.swift",
        "Sample.swift",
        "Scan.swift",
        "ScheduledDisposable.swift",
        "ScheduledItem.swift",
        "ScheduledItemType.swift",
        "SchedulerServices+Emulation.swift",
        "SchedulerType.swift",
        "Sequence.swift",
        "SerialDispatchQueueScheduler.swift",
        "SerialDisposable.swift",
        "ShareReplayScope.swift",
        "Single.swift",
        "SingleAssignmentDisposable.swift",
        "SingleAsync.swift",
        "Sink.swift",
        "Skip.swift",
        "SkipUntil.swift",
        "SkipWhile.swift",
        "StartWith.swift",
        "SubjectType.swift",
        "SubscribeOn.swift",
        "SubscriptionDisposable.swift",
        "SwiftSupport.swift",
        "Switch.swift",
        "SwitchIfEmpty.swift",
        "SynchronizedDisposeType.swift",
        "SynchronizedOnType.swift",
        "SynchronizedUnsubscribeType.swift",
        "TailRecursiveSink.swift",
        "Take.swift",
        "TakeLast.swift",
        "TakeWithPredicate.swift",
        "Throttle.swift",
        "Timeout.swift",
        "Timer.swift",
        "ToArray.swift",
        "Using.swift",
        "VirtualTimeConverterType.swift",
        "VirtualTimeScheduler.swift",
        "Window.swift",
        "WithLatestFrom.swift",
        "WithUnretained.swift",
        "Zip+Collection.swift",
        "Zip+arity.swift",
        "Zip.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RxRelay",
      "module_type" : "SwiftTarget",
      "name" : "RxRelay",
      "path" : "Sources/RxRelay",
      "product_memberships" : [
        "RxRelay",
        "RxRelay-Dynamic"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/RxRelay/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BehaviorRelay.swift",
        "Observable+Bind.swift",
        "PublishRelay.swift",
        "ReplayRelay.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "RxSwift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RxBlocking",
      "module_type" : "SwiftTarget",
      "name" : "RxBlocking",
      "path" : "Sources/RxBlocking",
      "product_memberships" : [
        "RxBlocking",
        "RxBlocking-Dynamic"
      ],
      "sources" : [
        "AtomicInt.swift",
        "BlockingObservable+Operators.swift",
        "BlockingObservable.swift",
        "ObservableConvertibleType+Blocking.swift",
        "Platform.Darwin.swift",
        "Platform.Linux.swift",
        "RecursiveLock.swift",
        "Resources.swift",
        "RunLoopLock.swift"
      ],
      "target_dependencies" : [
        "RxSwift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.