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