Build Information
Successful build of RxSwift, reference main (5dd190
), with Swift 6.0 for macOS (SPM) on 18 Feb 2025 16:03:02 UTC.
Swift 6 data race errors: 46
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -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
Build Log
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
[314/317] Compiling RxCocoa NotificationCenter+Rx.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
[315/317] Compiling RxCocoa Observable+Bind.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:24:23: warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
22 |
23 | /// Whether a sequence element should be sent to the observer immediately, before the subscribe method even returns.
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
| |- warning: static property 'initial' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'initial' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx+KVORepresentable.swift:26:23: warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | /// Key value observing options
15 | public struct KeyValueObservingOptions: OptionSet {
| `- note: consider making struct 'KeyValueObservingOptions' conform to the 'Sendable' protocol
16 | /// Raw value
17 | public let rawValue: UInt
:
24 | public static let initial = KeyValueObservingOptions(rawValue: 1 << 0)
25 | /// Whether to send updated values.
26 | public static let new = KeyValueObservingOptions(rawValue: 1 << 1)
| |- warning: static property 'new' is not concurrency-safe because non-'Sendable' type 'KeyValueObservingOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'new' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:18:13: warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:19:13: warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
17 | #if !DISABLE_SWIZZLING && !os(Linux)
18 | private var deallocatingSubjectTriggerContext: UInt8 = 0
19 | private var deallocatingSubjectContext: UInt8 = 0
| |- warning: var 'deallocatingSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatingSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatingSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:21:13: warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | private var deallocatingSubjectContext: UInt8 = 0
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectTriggerContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectTriggerContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectTriggerContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private var deallocatedSubjectContext: UInt8 = 0
23 |
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:22:13: warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | #endif
21 | private var deallocatedSubjectTriggerContext: UInt8 = 0
22 | private var deallocatedSubjectContext: UInt8 = 0
| |- warning: var 'deallocatedSubjectContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'deallocatedSubjectContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'deallocatedSubjectContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 |
24 | #if !os(Linux)
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Element>' in a `@Sendable` closure
88 | }
89 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:12:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
10 |
11 | import Foundation
12 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
13 | #if SWIFT_PACKAGE && !DISABLE_SWIZZLING && !os(Linux)
14 | import RxCocoaRuntime
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSObject+Rx.swift:87:48: warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
85 | Observable<Element>.create { [weak base] observer in
86 | let observation = base?.observe(keyPath, options: options) { obj, _ in
87 | observer.on(.next(obj[keyPath: keyPath]))
| `- warning: capture of 'keyPath' with non-sendable type 'KeyPath<Base, Element>' in a `@Sendable` closure
88 | }
89 |
Swift.KeyPath:1:14: note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
1 | public class KeyPath<Root, Value> : PartialKeyPath<Root> {
| `- note: generic class 'KeyPath' does not conform to the 'Sendable' protocol
2 | @objc deinit
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:20:32: warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
18 | return self.base.rx.controlProperty(
19 | getter: { control -> Double in
20 | return control.doubleValue
| `- warning: main actor-isolated property 'doubleValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
AppKit.NSControl:29:25: note: property declared here
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: property declared here
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSSlider+Rx.swift:23:25: warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
21 | },
22 | setter: { control, value in
23 | control.doubleValue = value
| `- warning: main actor-isolated property 'doubleValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
24 | }
25 | )
AppKit.NSControl:29:25: note: mutation of this property is only permitted within the actor
27 | open var integerValue: Int { get set }
28 | open var floatValue: Float { get set }
29 | @MainActor open var doubleValue: Double { get set }
| `- note: mutation of this property is only permitted within the actor
30 | @available(macOS 10.10, *)
31 | open func sizeThatFits(_ size: NSSize) -> NSSize
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:51:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
48 |
49 | /// For more information take a look at `DelegateProxyType`.
50 | open class func currentDelegate(for object: ParentObject) -> NSTextFieldDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
51 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 | }
53 |
AppKit.NSTextField:22:30: note: property declared here
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: property declared here
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:56:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
53 |
54 | /// For more information take a look at `DelegateProxyType`.
55 | open class func setCurrentDelegate(_ delegate: NSTextFieldDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
56 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
57 | }
58 |
AppKit.NSTextField:22:30: note: mutation of this property is only permitted within the actor
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:75:55: warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
73 |
74 | let source = Observable.deferred { [weak textField = self.base] in
75 | delegate.textSubject.startWith(textField?.stringValue)
| `- warning: main actor-isolated property 'stringValue' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
76 | }.take(until: self.deallocated)
77 |
AppKit.NSControl:24:14: note: property declared here
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: property declared here
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextField+Rx.swift:79:21: warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
77 |
78 | let observer = Binder(self.base) { (control, value: String?) in
79 | control.stringValue = value ?? ""
| `- warning: main actor-isolated property 'stringValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
80 | }
81 |
AppKit.NSControl:24:14: note: mutation of this property is only permitted within the actor
22 | open var formatter: Formatter? { get set }
23 | open var objectValue: Any? { get set }
24 | open var stringValue: String { get set }
| `- note: mutation of this property is only permitted within the actor
25 | @NSCopying open var attributedStringValue: NSAttributedString { get set }
26 | open var intValue: Int32 { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:58:16: warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | /// For more information take a look at `DelegateProxyType`.
57 | open class func currentDelegate(for object: ParentObject) -> NSTextViewDelegate? {
| `- note: add '@MainActor' to make class method 'currentDelegate(for:)' part of global actor 'MainActor'
58 | object.delegate
| `- warning: main actor-isolated property 'delegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
59 | }
60 |
AppKit.NSTextView:64:30: note: property declared here
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: property declared here
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:63:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
60 |
61 | /// For more information take a look at `DelegateProxyType`.
62 | open class func setCurrentDelegate(_ delegate: NSTextViewDelegate?, to object: ParentObject) {
| `- note: add '@MainActor' to make class method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
63 | object.delegate = delegate
| `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSTextView:64:30: note: mutation of this property is only permitted within the actor
62 | @available(macOS 10.10, *)
63 | open var usesRolloverButtonForSelection: Bool { get set }
64 | @MainActor weak open var delegate: (any NSTextViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
65 | open var isEditable: Bool { get set }
66 | @available(swift, obsoleted: 3, renamed: "isEditable")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:82:54: warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
80 |
81 | let source = Observable.deferred { [weak textView = self.base] in
82 | delegate.textSubject.startWith(textView?.string ?? "")
| `- warning: main actor-isolated property 'string' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 | }.take(until: self.deallocated)
84 |
AppKit.NSText:4:25: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: property declared here
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSTextView+Rx.swift:86:21: warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
84 |
85 | let observer = Binder(self.base) { control, value in
86 | control.string = value
| `- warning: main actor-isolated property 'string' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
87 | }
88 |
AppKit.NSText:4:25: note: mutation of this property is only permitted within the actor
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor open var string: String { get set }
| `- note: mutation of this property is only permitted within the actor
5 | open func replaceCharacters(in range: NSRange, with string: String)
6 | @available(swift, obsoleted: 3, renamed: "replaceCharacters(in:with:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NSView+Rx.swift:17:22: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
15 | public var alpha: Binder<CGFloat> {
16 | return Binder(self.base) { view, value in
17 | view.alphaValue = value
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
18 | }
19 | }
AppKit.NSView:286:25: note: mutation of this property is only permitted within the actor
284 | open var needsLayout: Bool { get set }
285 | @available(macOS 10.5, *)
286 | @MainActor open var alphaValue: CGFloat { get set }
| `- note: mutation of this property is only permitted within the actor
287 | @available(macOS 10.9, *)
288 | open var layerUsesCoreImageFilters: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:23:17: warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
21 | return Observable.create { [weak object] observer in
22 | let nsObserver = self.base.addObserver(forName: name, object: object, queue: nil) { notification in
23 | observer.on(.next(notification))
| `- warning: capture of 'observer' with non-sendable type 'AnyObserver<Notification>' in a `@Sendable` closure
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/RxSwift/AnyObserver.swift:12:15: note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
10 | ///
11 | /// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
12 | public struct AnyObserver<Element> : ObserverType {
| `- note: generic struct 'AnyObserver' does not conform to the 'Sendable' protocol
13 | /// Anonymous event handler type.
14 | public typealias EventHandler = (Event<Element>) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/NotificationCenter+Rx.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
8 |
9 | import Foundation
10 | import RxSwift
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'RxSwift'
11 |
12 | extension Reactive where Base: NotificationCenter {
[315/317] Write Objects.LinkFileList
[316/317] Linking libRxCocoa-Dynamic.dylib
Build complete! (24.93s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RxSwift",
"name" : "RxSwift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "tvos",
"version" : "12.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RxSwift",
"targets" : [
"RxSwift"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RxCocoa",
"targets" : [
"RxCocoa"
],
"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" : "RxCocoa-Dynamic",
"targets" : [
"RxCocoa"
],
"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",
"RxCocoa",
"RxRelay",
"RxBlocking",
"RxTest",
"RxSwift-Dynamic",
"RxCocoa-Dynamic",
"RxRelay-Dynamic",
"RxBlocking-Dynamic",
"RxTest-Dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/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" : [
"RxCocoa",
"RxRelay",
"RxCocoa-Dynamic",
"RxRelay-Dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/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" : "RxCocoaRuntime",
"module_type" : "ClangTarget",
"name" : "RxCocoaRuntime",
"path" : "Sources/RxCocoaRuntime",
"product_memberships" : [
"RxCocoa",
"RxCocoa-Dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/RxCocoaRuntime/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"_RX.m",
"_RXDelegateProxy.m",
"_RXKVOObserver.m",
"_RXObjCRuntime.m"
],
"target_dependencies" : [
"RxSwift"
],
"type" : "library"
},
{
"c99name" : "RxCocoa",
"module_type" : "SwiftTarget",
"name" : "RxCocoa",
"path" : "Sources/RxCocoa",
"product_memberships" : [
"RxCocoa",
"RxCocoa-Dynamic"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/RxCocoa/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"BehaviorRelay+Driver.swift",
"ControlEvent+Driver.swift",
"ControlEvent+Signal.swift",
"ControlEvent.swift",
"ControlProperty+Driver.swift",
"ControlProperty.swift",
"ControlTarget.swift",
"DelegateProxy.swift",
"DelegateProxyType.swift",
"DispatchQueue+Extensions.swift",
"Driver+Subscription.swift",
"Driver.swift",
"Infallible+Bind.swift",
"Infallible+Driver.swift",
"ItemEvents.swift",
"KVORepresentable+CoreGraphics.swift",
"KVORepresentable+Swift.swift",
"KVORepresentable.swift",
"NSButton+Rx.swift",
"NSControl+Rx.swift",
"NSObject+Rx+KVORepresentable.swift",
"NSObject+Rx+RawRepresentable.swift",
"NSObject+Rx.swift",
"NSSlider+Rx.swift",
"NSTextField+Rx.swift",
"NSTextStorage+Rx.swift",
"NSTextView+Rx.swift",
"NSView+Rx.swift",
"NotificationCenter+Rx.swift",
"Observable+Bind.swift",
"ObservableConvertibleType+Driver.swift",
"ObservableConvertibleType+SharedSequence.swift",
"ObservableConvertibleType+Signal.swift",
"PublishRelay+Signal.swift",
"RxCocoa.swift",
"RxCocoaObjCRuntimeError+Extensions.swift",
"RxCollectionViewDataSourcePrefetchingProxy.swift",
"RxCollectionViewDataSourceProxy.swift",
"RxCollectionViewDataSourceType.swift",
"RxCollectionViewDelegateProxy.swift",
"RxCollectionViewReactiveArrayDataSource.swift",
"RxNavigationControllerDelegateProxy.swift",
"RxPickerViewAdapter.swift",
"RxPickerViewDataSourceProxy.swift",
"RxPickerViewDataSourceType.swift",
"RxPickerViewDelegateProxy.swift",
"RxScrollViewDelegateProxy.swift",
"RxSearchBarDelegateProxy.swift",
"RxSearchControllerDelegateProxy.swift",
"RxTabBarControllerDelegateProxy.swift",
"RxTabBarDelegateProxy.swift",
"RxTableViewDataSourcePrefetchingProxy.swift",
"RxTableViewDataSourceProxy.swift",
"RxTableViewDataSourceType.swift",
"RxTableViewDelegateProxy.swift",
"RxTableViewReactiveArrayDataSource.swift",
"RxTarget.swift",
"RxTextStorageDelegateProxy.swift",
"RxTextViewDelegateProxy.swift",
"RxWKNavigationDelegateProxy.swift",
"SchedulerType+SharedSequence.swift",
"SectionedViewDataSourceType.swift",
"SharedSequence+Concurrency.swift",
"SharedSequence+Operators+arity.swift",
"SharedSequence+Operators.swift",
"SharedSequence.swift",
"Signal+Subscription.swift",
"Signal.swift",
"TextInput.swift",
"UIActivityIndicatorView+Rx.swift",
"UIApplication+Rx.swift",
"UIBarButtonItem+Rx.swift",
"UIButton+Rx.swift",
"UICollectionView+Rx.swift",
"UIControl+Rx.swift",
"UIDatePicker+Rx.swift",
"UIGestureRecognizer+Rx.swift",
"UINavigationController+Rx.swift",
"UIPickerView+Rx.swift",
"UIRefreshControl+Rx.swift",
"UIScrollView+Rx.swift",
"UISearchBar+Rx.swift",
"UISearchController+Rx.swift",
"UISegmentedControl+Rx.swift",
"UISlider+Rx.swift",
"UIStepper+Rx.swift",
"UISwitch+Rx.swift",
"UITabBar+Rx.swift",
"UITabBarController+Rx.swift",
"UITableView+Rx.swift",
"UITextField+Rx.swift",
"UITextView+Rx.swift",
"URLSession+Rx.swift",
"WKWebView+Rx.swift"
],
"target_dependencies" : [
"RxSwift",
"RxRelay",
"RxCocoaRuntime"
],
"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"
}
Done.