The Swift Package Index logo.Swift Package Index

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

Build Information

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

Build Command

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

Build Log

42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[125/188] Compiling RxSwift ObserverType.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[126/188] Compiling RxSwift OperationQueueScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[127/188] Compiling RxSwift Optional.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[128/188] Compiling RxSwift Platform.Darwin.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[129/188] Compiling RxSwift Platform.Linux.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[130/188] Compiling RxSwift PrimitiveSequence+Concurrency.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[131/188] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[132/188] Compiling RxSwift PrimitiveSequence.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[133/188] Compiling RxSwift PriorityQueue.swift
/host/spi-builder-workspace/Sources/RxSwift/NopDisposable.swift:14:28: warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
12 | private struct NopDisposable : Disposable {
13 |
14 |     fileprivate static let noOp: Disposable = NopDisposable()
   |                            |- warning: static property 'noOp' is not concurrency-safe because non-'Sendable' type 'any Disposable' may have shared mutable state; this is an error in the Swift 6 language mode
   |                            |- note: add '@MainActor' to make static property 'noOp' part of global actor 'MainActor'
   |                            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |     private init() {
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:48:21: warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
46 |             continuation.onTermination = { @Sendable termination in
47 |                 if case .cancelled = termination {
48 |                     disposable.dispose()
   |                     `- warning: capture of 'disposable' with non-sendable type 'any Disposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
49 |                 }
50 |             }
/host/spi-builder-workspace/Sources/RxSwift/Disposable.swift:10:17: note: protocol 'Disposable' does not conform to the 'Sendable' protocol
 8 |
 9 | /// Represents a disposable resource.
10 | public protocol Disposable {
   |                 `- note: protocol 'Disposable' does not conform to the 'Sendable' protocol
11 |     /// Dispose resource.
12 |     func dispose()
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:137:24: warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
135 |
136 |     private static let lock = RecursiveLock()
137 |     private static var _defaultErrorHandler: DefaultErrorHandler = { subscriptionCallStack, error in
    |                        |- warning: static property '_defaultErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_defaultErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_defaultErrorHandler' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
138 |         #if DEBUG
139 |             let serializedCallStack = subscriptionCallStack.joined(separator: "\n")
/host/spi-builder-workspace/Sources/RxSwift/ObservableType+Extensions.swift:146:24: warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 |         #endif
145 |     }
146 |     private static var _customCaptureSubscriptionCallstack: CustomCaptureSubscriptionCallstack = {
    |                        |- warning: static property '_customCaptureSubscriptionCallstack' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert '_customCaptureSubscriptionCallstack' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property '_customCaptureSubscriptionCallstack' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
147 |         #if DEBUG
148 |             return Thread.callStackSymbols
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:39:16: warning: capture of 'cancel' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
37 |
38 |         let operation = BlockOperation {
39 |             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
40 |                 return
41 |             }
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44: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
42 |
43 |
44 |             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'
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/OperationQueueScheduler.swift:44:41: warning: capture of 'state' with non-sendable type 'StateType' in a '@Sendable' closure; this is an error in the Swift 6 language mode
33 |     - returns: The disposable object used to cancel the scheduled action (best effort).
34 |     */
35 |     public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
   |                          `- note: consider making generic parameter 'StateType' conform to the 'Sendable' protocol
36 |         let cancel = SingleAssignmentDisposable()
37 |
   :
42 |
43 |
44 |             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
45 |         }
46 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:84:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 82 |                 },
 83 |                 onCancel: { [disposable] in
 84 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 85 |                 }
 86 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:141:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
139 |                 },
140 |                 onCancel: { [disposable] in
141 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
142 |                 }
143 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:190:21: warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
188 |                 },
189 |                 onCancel: { [disposable] in
190 |                     disposable.dispose()
    |                     `- warning: capture of 'disposable' with non-sendable type 'SingleAssignmentDisposable' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 |                 }
192 |             )
/host/spi-builder-workspace/Sources/RxSwift/SingleAssignmentDisposable.swift:14:20: note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
12 | If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
13 | */
14 | public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
   |                    `- note: class 'SingleAssignmentDisposable' does not conform to the 'Sendable' protocol
15 |
16 |     private struct DisposeState: OptionSet {
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:32:49: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
30 |             var isFinished = false
31 |             let disposable = asObservable().subscribe(
32 |                 onNext: { value in continuation.yield(value) },
   |                                                 |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
   |                                                 `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
33 |                 onError: { error in
34 |                     isFinished = true
/host/spi-builder-workspace/Sources/RxSwift/Observable+Concurrency.swift:63:29: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
61 |     func asObservable() -> Observable<Element> {
62 |         Observable.create { observer in
63 |             let task = Task {
   |                             `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
64 |                 do {
65 |                     for try await value in self {
   |                                            `- note: closure captures non-Sendable 'self'
66 |                         observer.onNext(value)
   |                         `- note: closure captures non-Sendable 'observer'
67 |                     }
68 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:37:22: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 35 |
 36 |             let task = if detached {
 37 |                 Task.detached(priority: priority, operation: operation)
    |                      |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:39:17: warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
 37 |                 Task.detached(priority: priority, operation: operation)
 38 |             } else {
 39 |                 Task(priority: priority, operation: operation)
    |                 |- warning: sending value of non-Sendable type '() async throws -> Void' risks causing data races; this is an error in the Swift 6 language mode
    |                 `- note: Passing task-isolated value of non-Sendable type '() async throws -> Void' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
 40 |             }
 41 |
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:69:50: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
 67 |                                 onSuccess: {
 68 |                                     didResume = true
 69 |                                     continuation.resume(returning: $0)
    |                                                  |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
 70 |                                 },
 71 |                                 onFailure: {
/host/spi-builder-workspace/Sources/RxSwift/PrimitiveSequence+Concurrency.swift:121:50: warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
119 |                                     didEmit = true
120 |                                     didResume = true
121 |                                     continuation.resume(returning: value)
    |                                                  |- warning: sending value of non-Sendable type 'Self.Element' risks causing data races; this is an error in the Swift 6 language mode
    |                                                  `- note: Passing task-isolated value of non-Sendable type 'Self.Element' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
122 |                                 },
123 |                                 onError: { error in
[134/188] Compiling RxSwift SchedulerType.swift
[135/188] Compiling RxSwift Sequence.swift
[136/188] Compiling RxSwift SerialDispatchQueueScheduler.swift
[137/188] Compiling RxSwift SerialDisposable.swift
[138/188] Compiling RxSwift ShareReplayScope.swift
[139/188] Compiling RxSwift Single.swift
[140/188] Compiling RxSwift SingleAssignmentDisposable.swift
[141/188] Compiling RxSwift SingleAsync.swift
[142/188] Compiling RxSwift Sink.swift
[143/188] Compiling RxSwift Skip.swift
[144/188] Compiling RxSwift SkipUntil.swift
[145/188] Compiling RxSwift SkipWhile.swift
[146/188] Compiling RxSwift StartWith.swift
[147/188] Compiling RxSwift SubjectType.swift
[148/188] Compiling RxSwift SubscribeOn.swift
[149/188] Compiling RxSwift SubscriptionDisposable.swift
[150/188] Compiling RxSwift SwiftSupport.swift
[151/188] Compiling RxSwift Switch.swift
[152/188] Compiling RxSwift SwitchIfEmpty.swift
[153/188] Compiling RxSwift SynchronizedDisposeType.swift
[154/188] Compiling RxSwift SynchronizedOnType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[155/188] Compiling RxSwift SynchronizedUnsubscribeType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[156/188] Compiling RxSwift TailRecursiveSink.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[157/188] Compiling RxSwift Take.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[158/188] Compiling RxSwift TakeLast.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[159/188] Compiling RxSwift TakeWithPredicate.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[160/188] Compiling RxSwift Throttle.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[161/188] Compiling RxSwift Timeout.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[162/188] Compiling RxSwift Timer.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[163/188] Compiling RxSwift ToArray.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[164/188] Compiling RxSwift Using.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[165/188] Compiling RxSwift VirtualTimeConverterType.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[166/188] Compiling RxSwift VirtualTimeScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[167/188] Compiling RxSwift Window.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[168/188] Compiling RxSwift WithLatestFrom.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[169/188] Compiling RxSwift WithUnretained.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[170/188] Compiling RxSwift Zip+Collection.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[171/188] Compiling RxSwift Zip+arity.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[172/188] Compiling RxSwift Zip.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
[173/188] Compiling RxSwift resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/RxSwift/TailRecursiveSink.swift:15:16: warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | #if DEBUG || TRACE_RESOURCES
 15 |     public var maxTailRecursiveSinkStackSize = 0
    |                |- warning: var 'maxTailRecursiveSinkStackSize' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'maxTailRecursiveSinkStackSize' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make var 'maxTailRecursiveSinkStackSize' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 | #endif
 17 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/16] Write swift-version-24593BA9C3E375BF.txt
[2/160] Compiling RxSwift CombineLatest.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[3/160] Compiling RxSwift CompactMap.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[4/160] Compiling RxSwift Completable+AndThen.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[5/160] Compiling RxSwift Completable.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[6/160] Compiling RxSwift CompositeDisposable.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[7/160] Compiling RxSwift Concat.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[8/160] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[9/160] Compiling RxSwift ConcurrentMainScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[10/160] Compiling RxSwift ConnectableObservableType.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[11/160] Compiling RxSwift Create.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[12/160] Compiling RxSwift CurrentThreadScheduler.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[13/160] Compiling RxSwift Date+Dispatch.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[14/160] Compiling RxSwift Debounce.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[15/160] Compiling RxSwift Debug.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[16/160] Compiling RxSwift Decode.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[17/160] Compiling RxSwift DefaultIfEmpty.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[18/160] Compiling RxSwift Deferred.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[19/160] Compiling RxSwift Delay.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[20/160] Compiling RxSwift DelaySubscription.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[21/160] Compiling RxSwift Dematerialize.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[22/160] Compiling RxSwift DispatchQueue+Extensions.swift
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:61:27: error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 59 |     static var queue : ScheduleQueue? {
 60 |         get {
 61 |             return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
    |                           `- error: type 'Thread' has no member 'getThreadLocalStorageValueForKey'
 62 |         }
 63 |         set {
/host/spi-builder-workspace/Sources/RxSwift/CurrentThreadScheduler.swift:64:20: error: type 'Thread' has no member 'setThreadLocalStorageValue'
 62 |         }
 63 |         set {
 64 |             Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
    |                    `- error: type 'Thread' has no member 'setThreadLocalStorageValue'
 65 |         }
 66 |     }
[23/180] Compiling RxSwift Never.swift
[24/180] Compiling RxSwift NopDisposable.swift
[25/180] Compiling RxSwift Observable+Concurrency.swift
[26/180] Compiling RxSwift Observable.swift
[27/180] Compiling RxSwift ObservableConvertibleType+Infallible.swift
[28/180] Compiling RxSwift ObservableConvertibleType.swift
[29/180] Compiling RxSwift ObservableType+Extensions.swift
[30/180] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[31/180] Compiling RxSwift ObservableType.swift
[32/180] Compiling RxSwift ObserveOn.swift
[33/180] Compiling RxSwift ObserverBase.swift
[34/180] Compiling RxSwift ObserverType.swift
[35/180] Compiling RxSwift OperationQueueScheduler.swift
[36/180] Compiling RxSwift Optional.swift
[37/180] Compiling RxSwift Platform.Darwin.swift
[38/180] Compiling RxSwift Platform.Linux.swift
[39/180] Compiling RxSwift PrimitiveSequence+Concurrency.swift
[40/180] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[41/180] Compiling RxSwift PrimitiveSequence.swift
[42/180] Compiling RxSwift PriorityQueue.swift
[43/180] Compiling RxSwift DispatchQueueConfiguration.swift
[44/180] Compiling RxSwift Disposable.swift
[45/180] Compiling RxSwift Disposables.swift
[46/180] Compiling RxSwift DisposeBag.swift
[47/180] Compiling RxSwift DisposeBase.swift
[48/180] Compiling RxSwift DistinctUntilChanged.swift
[49/180] Compiling RxSwift Do.swift
[50/180] Compiling RxSwift ElementAt.swift
[51/180] Compiling RxSwift Empty.swift
[52/180] Compiling RxSwift Enumerated.swift
[53/180] Compiling RxSwift Error.swift
[54/180] Compiling RxSwift Errors.swift
[55/180] Compiling RxSwift Event.swift
[56/180] Compiling RxSwift Filter.swift
[57/180] Compiling RxSwift First.swift
[58/180] Compiling RxSwift Generate.swift
[59/180] Compiling RxSwift GroupBy.swift
[60/180] Compiling RxSwift GroupedObservable.swift
[61/180] Compiling RxSwift HistoricalScheduler.swift
[62/180] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[63/180] Compiling RxSwift ImmediateSchedulerType.swift
[64/180] Compiling RxSwift SchedulerType.swift
[65/180] Compiling RxSwift Sequence.swift
[66/180] Compiling RxSwift SerialDispatchQueueScheduler.swift
[67/180] Compiling RxSwift SerialDisposable.swift
[68/180] Compiling RxSwift ShareReplayScope.swift
[69/180] Compiling RxSwift Single.swift
[70/180] Compiling RxSwift SingleAssignmentDisposable.swift
[71/180] Compiling RxSwift SingleAsync.swift
[72/180] Compiling RxSwift Sink.swift
[73/180] Compiling RxSwift Skip.swift
[74/180] Compiling RxSwift SkipUntil.swift
[75/180] Compiling RxSwift SkipWhile.swift
[76/180] Compiling RxSwift StartWith.swift
[77/180] Compiling RxSwift SubjectType.swift
[78/180] Compiling RxSwift SubscribeOn.swift
[79/180] Compiling RxSwift SubscriptionDisposable.swift
[80/180] Compiling RxSwift SwiftSupport.swift
[81/180] Compiling RxSwift Switch.swift
[82/180] Compiling RxSwift SwitchIfEmpty.swift
[83/180] Compiling RxSwift SynchronizedDisposeType.swift
[84/180] Compiling RxSwift Producer.swift
[85/180] Compiling RxSwift PublishSubject.swift
[86/180] Compiling RxSwift Queue.swift
[87/180] Compiling RxSwift Range.swift
[88/180] Compiling RxSwift Reactive.swift
[89/180] Compiling RxSwift RecursiveLock.swift
[90/180] Compiling RxSwift RecursiveScheduler.swift
[91/180] Compiling RxSwift Reduce.swift
[92/180] Compiling RxSwift RefCountDisposable.swift
[93/180] Compiling RxSwift Repeat.swift
[94/180] Compiling RxSwift ReplaySubject.swift
[95/180] Compiling RxSwift RetryWhen.swift
[96/180] Compiling RxSwift Rx.swift
[97/180] Compiling RxSwift RxMutableBox.swift
[98/180] Compiling RxSwift Sample.swift
[99/180] Compiling RxSwift Scan.swift
[100/180] Compiling RxSwift ScheduledDisposable.swift
[101/180] Compiling RxSwift ScheduledItem.swift
[102/180] Compiling RxSwift ScheduledItemType.swift
[103/180] Compiling RxSwift SchedulerServices+Emulation.swift
[104/180] Compiling RxSwift Infallible+CombineLatest+Collection.swift
[105/180] Compiling RxSwift Infallible+CombineLatest+arity.swift
[106/180] Compiling RxSwift Infallible+Concurrency.swift
[107/180] Compiling RxSwift Infallible+Create.swift
[108/180] Compiling RxSwift Infallible+Debug.swift
[109/180] Compiling RxSwift Infallible+Operators.swift
[110/180] Compiling RxSwift Infallible+Zip+arity.swift
[111/180] Compiling RxSwift Infallible.swift
[112/180] Compiling RxSwift InfiniteSequence.swift
[113/180] Compiling RxSwift InvocableScheduledItem.swift
[114/180] Compiling RxSwift InvocableType.swift
[115/180] Compiling RxSwift Just.swift
[116/180] Compiling RxSwift Lock.swift
[117/180] Compiling RxSwift LockOwnerType.swift
[118/180] Compiling RxSwift MainScheduler.swift
[119/180] Compiling RxSwift Map.swift
[120/180] Compiling RxSwift Materialize.swift
[121/180] Compiling RxSwift Maybe.swift
[122/180] Compiling RxSwift Merge.swift
[123/180] Compiling RxSwift Multicast.swift
[124/180] Compiling RxSwift SynchronizedOnType.swift
[125/180] Compiling RxSwift SynchronizedUnsubscribeType.swift
[126/180] Compiling RxSwift TailRecursiveSink.swift
[127/180] Compiling RxSwift Take.swift
[128/180] Compiling RxSwift TakeLast.swift
[129/180] Compiling RxSwift TakeWithPredicate.swift
[130/180] Compiling RxSwift Throttle.swift
[131/180] Compiling RxSwift Timeout.swift
[132/180] Compiling RxSwift Timer.swift
[133/180] Compiling RxSwift ToArray.swift
[134/180] Compiling RxSwift Using.swift
[135/180] Compiling RxSwift VirtualTimeConverterType.swift
[136/180] Compiling RxSwift VirtualTimeScheduler.swift
[137/180] Compiling RxSwift Window.swift
[138/180] Compiling RxSwift WithLatestFrom.swift
[139/180] Compiling RxSwift WithUnretained.swift
[140/180] Compiling RxSwift Zip+Collection.swift
[141/180] Compiling RxSwift Zip+arity.swift
[142/180] Compiling RxSwift Zip.swift
[143/180] Compiling RxSwift resource_bundle_accessor.swift
[144/180] Emitting module RxSwift
[145/180] Compiling RxSwift AddRef.swift
[146/180] Compiling RxSwift Amb.swift
[147/180] Compiling RxSwift AnonymousDisposable.swift
[148/180] Compiling RxSwift AnonymousObserver.swift
[149/180] Compiling RxSwift AnyObserver.swift
[150/180] Compiling RxSwift AsMaybe.swift
[151/180] Compiling RxSwift AsSingle.swift
[152/180] Compiling RxSwift AsyncLock.swift
[153/180] Compiling RxSwift AsyncSubject.swift
[154/180] Compiling RxSwift AtomicInt.swift
[155/180] Compiling RxSwift Bag+Rx.swift
[156/180] Compiling RxSwift Bag.swift
[157/180] Compiling RxSwift BehaviorSubject.swift
[158/180] Compiling RxSwift BinaryDisposable.swift
[159/180] Compiling RxSwift Binder.swift
[160/180] Compiling RxSwift BooleanDisposable.swift
[161/180] Compiling RxSwift Buffer.swift
[162/180] Compiling RxSwift Cancelable.swift
[163/180] Compiling RxSwift Catch.swift
[164/180] Compiling RxSwift CombineLatest+Collection.swift
[165/180] Compiling RxSwift CombineLatest+arity.swift
BUILD FAILURE 6.1 android