Build Information
Failed to build RxAppKit, reference 0.1.0 (db3787
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 20:57:49 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
19 | open var isExpanded: Bool { get }
20 | @available(swift, obsoleted: 3, renamed: "isExpanded")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSOpenSavePanelDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSSavePanel: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSOpenSavePanelDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSOutlineViewDataSourceProxy.swift:28:16: warning: main actor-isolated property 'dataSource' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
25 | }
26 |
27 | static func currentDelegate(for object: NSOutlineView) -> NSOutlineViewDataSource? {
| `- note: add '@MainActor' to make static method 'currentDelegate(for:)' part of global actor 'MainActor'
28 | object.dataSource
| `- warning: main actor-isolated property 'dataSource' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
AppKit.NSOutlineView:3:30: note: property declared here
1 | @MainActor open class NSOutlineView : NSTableView, NSAccessibilityOutline {
2 | weak open var delegate: (any NSOutlineViewDelegate)? { get set }
3 | @MainActor weak open var dataSource: (any NSOutlineViewDataSource)? { get set }
| `- note: property declared here
4 | unowned(unsafe) open var outlineTableColumn: NSTableColumn? { get set }
5 | open func isExpandable(_ item: Any?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSOutlineViewDataSourceProxy.swift:32:16: warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
29 | }
30 |
31 | static func setCurrentDelegate(_ delegate: NSOutlineViewDataSource?, to object: NSOutlineView) {
| `- note: add '@MainActor' to make static method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
32 | object.dataSource = delegate
| `- warning: main actor-isolated property 'dataSource' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
33 | }
34 |
AppKit.NSOutlineView:3:30: note: mutation of this property is only permitted within the actor
1 | @MainActor open class NSOutlineView : NSTableView, NSAccessibilityOutline {
2 | weak open var delegate: (any NSOutlineViewDelegate)? { get set }
3 | @MainActor weak open var dataSource: (any NSOutlineViewDataSource)? { get set }
| `- note: mutation of this property is only permitted within the actor
4 | unowned(unsafe) open var outlineTableColumn: NSTableColumn? { get set }
5 | open func isExpandable(_ item: Any?) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSOutlineViewDelegateProxy.swift:28: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
25 | }
26 |
27 | static func currentDelegate(for object: NSOutlineView) -> NSOutlineViewDelegate? {
| `- note: add '@MainActor' to make static method 'currentDelegate(for:)' part of global actor 'MainActor'
28 | 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
29 | }
30 |
AppKit.NSOutlineView:2:19: note: property declared here
1 | @MainActor open class NSOutlineView : NSTableView, NSAccessibilityOutline {
2 | weak open var delegate: (any NSOutlineViewDelegate)? { get set }
| `- note: property declared here
3 | @MainActor weak open var dataSource: (any NSOutlineViewDataSource)? { get set }
4 | unowned(unsafe) open var outlineTableColumn: NSTableColumn? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSOutlineViewDelegateProxy.swift:32: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
29 | }
30 |
31 | static func setCurrentDelegate(_ delegate: NSOutlineViewDelegate?, to object: NSOutlineView) {
| `- note: add '@MainActor' to make static method 'setCurrentDelegate(_:to:)' part of global actor 'MainActor'
32 | 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
33 | }
34 |
AppKit.NSOutlineView:2:19: note: mutation of this property is only permitted within the actor
1 | @MainActor open class NSOutlineView : NSTableView, NSAccessibilityOutline {
2 | weak open var delegate: (any NSOutlineViewDelegate)? { get set }
| `- note: mutation of this property is only permitted within the actor
3 | @MainActor weak open var dataSource: (any NSOutlineViewDataSource)? { get set }
4 | unowned(unsafe) open var outlineTableColumn: NSTableColumn? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSPageControllDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSPageController' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSPageController: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSPageController' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSPageControllerDelegate
7 | }
AppKit.NSPageController:3:40: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
1 | @available(macOS 10.8, *)
2 | @MainActor open class NSPageController : NSViewController, NSAnimatablePropertyContainer, NSCoding {
3 | @IBOutlet @MainActor weak open var delegate: (any NSPageControllerDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
4 | open var selectedViewController: NSViewController? { get }
5 | open var transitionStyle: NSPageController.TransitionStyle { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSPageControllDelegateProxy.swift:5:29: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSPageController: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSPageControllerDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTabViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTabView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTabView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTabView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTabViewDelegate
7 | }
AppKit.NSTabView:31:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | open func insertTabViewItem(_ tabViewItem: NSTabViewItem, atIndex index: Int)
30 | open func removeTabViewItem(_ tabViewItem: NSTabViewItem)
31 | @MainActor weak open var delegate: (any NSTabViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | open func tabViewItem(at point: NSPoint) -> NSTabViewItem?
33 | @available(swift, obsoleted: 3, renamed: "tabViewItem(at:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTabViewDelegateProxy.swift:5:22: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTabView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTabViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
[363/370] Compiling RxAppKit RxNSTableViewDataSourceProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
[364/370] Compiling RxAppKit RxNSTableViewDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
[365/370] Compiling RxAppKit RxNSTextFieldDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
[366/370] Compiling RxAppKit RxNSTextStorageDelegateProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
[367/370] Compiling RxAppKit ActionProxy.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
[368/370] Compiling RxAppKit BaseTarget.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
[369/370] Compiling RxAppKit DoubleTarget.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
[370/370] Compiling RxAppKit RxTarget.swift
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDataSource'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias DataSource = NSTableViewDataSource
7 | }
AppKit.NSTableView:4:30: warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
| `- warning: main actor-isolated property 'dataSource' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
6 | open var headerView: NSTableHeaderView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDataSource {
| `- note: add '@preconcurrency' to the 'HasDataSource' conformance to defer isolation checking to run time
6 | public typealias DataSource = NSTableViewDataSource
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:282:9: note: 'dataSource' declared here
280 |
281 | /// Data source
282 | var dataSource: DataSource? { get set }
| `- note: 'dataSource' declared here
283 | }
284 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDataSourceProxy.swift:9:13: warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
7 | }
8 |
9 | private let nsTableViewDataSourceNotSet = NSTableViewDataSourceNotSet()
| |- warning: let 'nsTableViewDataSourceNotSet' is not concurrency-safe because non-'Sendable' type 'NSTableViewDataSourceNotSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nsTableViewDataSourceNotSet' 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
10 |
11 | private final class NSTableViewDataSourceNotSet: NSObject, NSTableViewDataSource {
| `- note: class 'NSTableViewDataSourceNotSet' does not conform to the 'Sendable' protocol
12 | func numberOfRows(in tableView: NSTableView) -> Int {
13 | 0
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTableView' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTableViewDelegate
7 | }
AppKit.NSTableView:5:19: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | public init?(coder: NSCoder)
4 | @MainActor weak open var dataSource: (any NSTableViewDataSource)? { get set }
5 | weak open var delegate: (any NSTableViewDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var headerView: NSTableHeaderView? { get set }
7 | open var cornerView: NSView? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTableViewDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTableView: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTableViewDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextField' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
AppKit.NSTextField:22:30: warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | open var selectable: Bool { get set }
21 | open func selectText(_ sender: Any?)
22 | @MainActor weak open var delegate: (any NSTextFieldDelegate)? { get set }
| `- warning: main actor-isolated property 'delegate' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | open func textShouldBeginEditing(_ textObject: NSText) -> Bool
24 | open func textShouldEndEditing(_ textObject: NSText) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextFieldDelegateProxy.swift:5:24: note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
3 | import RxCocoa
4 |
5 | extension NSTextField: HasDelegate {
| `- note: add '@preconcurrency' to the 'HasDelegate' conformance to defer isolation checking to run time
6 | public typealias Delegate = NSTextFieldDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/RxSwift/Sources/RxCocoa/DelegateProxyType.swift:263:9: note: 'delegate' declared here
261 |
262 | /// Delegate
263 | var delegate: Delegate? { get set }
| `- note: 'delegate' declared here
264 | }
265 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Proxies/RxNSTextStorageDelegateProxy.swift:5:1: warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
3 | import RxCocoa
4 |
5 | extension NSTextStorage: HasDelegate {
| |- warning: extension declares a conformance of imported type 'NSTextStorage' to imported protocol 'HasDelegate'; this will not behave correctly if the owners of 'AppKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public typealias Delegate = NSTextStorageDelegate
7 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:67:13: warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
65 | }
66 |
67 | private let hasSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasSwizzledKey' 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
68 |
69 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:193:13: warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
191 | }
192 |
193 | private let hasDoubleActionSwizzledKey = AssociationKey<Bool>(default: false)
| |- warning: let 'hasDoubleActionSwizzledKey' is not concurrency-safe because non-'Sendable' type 'AssociationKey<Bool>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hasDoubleActionSwizzledKey' 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
194 |
195 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Common/NSObject+Association.swift:4:17: note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
2 | import RxSwift
3 |
4 | internal struct AssociationKey<Value> {
| `- note: consider making generic struct 'AssociationKey' conform to the 'Sendable' protocol
5 | fileprivate let address: UnsafeRawPointer
6 | fileprivate let `default`: Value!
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:43:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
44 | app.sendAction(action, to: pair.target, from: sender)
45 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 |
40 | @objc func action(_ sender: Any?) {
41 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:56:26: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
57 | app.sendAction(doubleAction, to: target, from: sender)
58 | } else {
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
52 |
53 | @objc func doubleAction(_ sender: Any?) {
54 | func invoke(_ pair: Pair) {
| `- note: add '@MainActor' to make local function 'invoke' part of global actor 'MainActor'
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: call to main actor-isolated instance method 'sendAction(_:to:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
AppKit.NSApplication:2:26: note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
1 | extension NSApplication {
2 | @MainActor open func sendAction(_ action: Selector, to target: Any?, from sender: Any?) -> Bool
| `- note: calls to instance method 'sendAction(_:to:from:)' from outside of its actor context are implicitly asynchronous
3 | open func target(forAction action: Selector) -> Any?
4 | @available(swift, obsoleted: 3, renamed: "target(forAction:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:44:13: warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
42 | }
43 |
44 | private var rx_control_observable_key: UInt8 = 0
| |- warning: var 'rx_control_observable_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_control_observable_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_control_observable_key' 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
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:45:13: warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
43 |
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
| |- warning: var 'rx_appkit_control_event_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_event_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_event_key' 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
46 | private var rx_appkit_control_property_key: Void = ()
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:46:13: warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
44 | private var rx_control_observable_key: UInt8 = 0
45 | private var rx_appkit_control_event_key: Void = ()
46 | private var rx_appkit_control_property_key: Void = ()
| |- warning: var 'rx_appkit_control_property_key' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_appkit_control_property_key' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_appkit_control_property_key' 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
47 | extension Reactive where Base: NSObject, Base: HasTargeAction {
48 | // var lazyControlObservable: Observable<Void> {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/DoubleTarget.swift:32:13: warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | }
31 |
32 | private var rx_double_click: UInt8 = 0
| |- warning: var 'rx_double_click' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'rx_double_click' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'rx_double_click' 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
33 |
34 | extension Reactive where Base: NSObject, Base: HasDoubleAction {
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| |- warning: sending 'pair.target' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'pair.target' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:44:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
42 | guard let action = pair.action else { return }
43 | if let app = NSApp {
44 | app.sendAction(action, to: pair.target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
45 | } else {
46 | _ = pair.target?.perform(action, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| |- warning: sending 'target.some' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'target.some' to main actor-isolated instance method 'sendAction(_:to:from:)' risks causing data races between main actor-isolated and task-isolated uses
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/ActionProxy.swift:57:21: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
55 | guard let target = pair.target, let doubleAction = pair.doubleAction else { return }
56 | if let app = NSApp {
57 | app.sendAction(doubleAction, to: target, from: sender)
| `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
58 | } else {
59 | _ = target.perform(doubleAction, with: sender)
BUILD FAILURE 6.0 macosSpm