Build Information
Failed to build RxAppKit, reference 0.1.0 (db3787
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 11:29:28 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
Build Log
65 | @available(macOS 10.6, *)
66 | open var clickedColumn: Int { get }
| `- note: property declared here
67 | @available(macOS 10.6, *)
68 | open var clickedRow: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSBrowser+Rx.swift:73:43: warning: main actor-isolated property 'clickedRow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | var doubleClicked: ControlEvent<ClickedIndex> {
73 | controlEventForDoubleAction { ($0.clickedRow, $0.clickedColumn) }
| `- warning: main actor-isolated property 'clickedRow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | }
75 |
AppKit.NSBrowser:68:14: note: property declared here
66 | open var clickedColumn: Int { get }
67 | @available(macOS 10.6, *)
68 | open var clickedRow: Int { get }
| `- note: property declared here
69 | open var selectedColumn: Int { get }
70 | open func selectedCell(inColumn column: Int) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSBrowser+Rx.swift:73:58: warning: main actor-isolated property 'clickedColumn' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | var doubleClicked: ControlEvent<ClickedIndex> {
73 | controlEventForDoubleAction { ($0.clickedRow, $0.clickedColumn) }
| `- warning: main actor-isolated property 'clickedColumn' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
74 | }
75 |
AppKit.NSBrowser:66:14: note: property declared here
64 | open func pathToColumn(_ column: Int) -> String
65 | @available(macOS 10.6, *)
66 | open var clickedColumn: Int { get }
| `- note: property declared here
67 | @available(macOS 10.6, *)
68 | open var clickedRow: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSBrowser+Rx.swift:78:16: warning: call to main actor-isolated instance method 'path()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | var path: ControlProperty<String> {
77 | controlProperty(getter: {
78 | $0.path()
| `- warning: call to main actor-isolated instance method 'path()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
79 | }, setter: {
80 | $0.setPath($1)
AppKit.NSBrowser:61:15: note: calls to instance method 'path()' from outside of its actor context are implicitly asynchronous
59 | open var pathSeparator: String { get set }
60 | open func setPath(_ path: String) -> Bool
61 | open func path() -> String
| `- note: calls to instance method 'path()' from outside of its actor context are implicitly asynchronous
62 | open func path(toColumn column: Int) -> String
63 | @available(swift, obsoleted: 3, renamed: "path(toColumn:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSBrowser+Rx.swift:80:16: warning: call to main actor-isolated instance method 'setPath' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | $0.path()
79 | }, setter: {
80 | $0.setPath($1)
| `- warning: call to main actor-isolated instance method 'setPath' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
81 | })
82 | }
AppKit.NSBrowser:60:15: note: calls to instance method 'setPath' from outside of its actor context are implicitly asynchronous
58 | open func titleOfColumn(_ column: Int) -> String?
59 | open var pathSeparator: String { get set }
60 | open func setPath(_ path: String) -> Bool
| `- note: calls to instance method 'setPath' from outside of its actor context are implicitly asynchronous
61 | open func path() -> String
62 | open func path(toColumn column: Int) -> String
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSBrowser+Rx.swift:85:40: warning: main actor-isolated property 'selectionIndexPath' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
83 |
84 | var selectedIndexPath: ControlEvent<IndexPath?> {
85 | controlEventForBaseAction { $0.selectionIndexPath }
| `- warning: main actor-isolated property 'selectionIndexPath' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
86 | }
87 | }
AppKit.NSBrowser:79:14: note: property declared here
77 | open func selectedRowInColumn(_ column: Int) -> Int
78 | @available(macOS 10.6, *)
79 | open var selectionIndexPath: IndexPath? { get set }
| `- note: property declared here
80 | @available(macOS 10.6, *)
81 | open var selectionIndexPaths: [IndexPath] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/DataSources & Delegates/CollectionViewDataSource.swift:15:9: error: main actor-isolated default value in a nonisolated context
13 | public init(
14 | itemProvider: @escaping ItemProvider,
15 | supplementaryViewProvider: @escaping SupplementaryViewProvider = { _, _, _ in NSView() }
| `- error: main actor-isolated default value in a nonisolated context
16 | ) {
17 | self.itemProvider = itemProvider
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSCollectionView+Rx.swift:23:35: warning: call to main actor-isolated instance method 'makeItem(withIdentifier:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | { configureCell in
22 | let dataSource = RxNSCollectionViewArrayDataSource<Sequence> { cv, indexPath, item in
23 | let cell = cv.makeItem(withIdentifier: cellIdentifier, for: indexPath) as! Cell
| `- warning: call to main actor-isolated instance method 'makeItem(withIdentifier:for:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | configureCell(indexPath, item, cell)
25 | return cell
AppKit.NSCollectionView:90:26: note: calls to instance method 'makeItem(withIdentifier:for:)' from outside of its actor context are implicitly asynchronous
88 | open func registerNib(_ nib: NSNib?, forSupplementaryViewOfKind kind: NSCollectionView.SupplementaryElementKind, withIdentifier identifier: NSUserInterfaceItemIdentifier)
89 | @available(macOS 10.11, *)
90 | @MainActor open func makeItem(withIdentifier identifier: NSUserInterfaceItemIdentifier, for indexPath: IndexPath) -> NSCollectionViewItem
| `- note: calls to instance method 'makeItem(withIdentifier:for:)' from outside of its actor context are implicitly asynchronous
91 | @available(macOS 10.11, *)
92 | @available(swift, obsoleted: 3, renamed: "makeItem(withIdentifier:for:)")
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSColorPanel+Rx.swift:6:9: warning: main actor-isolated property 'target' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | import RxCocoa
4 |
5 | extension NSColorPanel: HasTargeAction {
| `- note: add '@preconcurrency' to the 'HasTargeAction' conformance to defer isolation checking to run time
6 | var target: AnyObject? {
| `- warning: main actor-isolated property 'target' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
7 | set { setTarget(newValue) }
8 | get { nil }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:6:9: note: 'target' declared here
4 | @objc
5 | protocol HasTargeAction: AnyObject {
6 | var target: AnyObject? { set get }
| `- note: 'target' declared here
7 | var action: Selector? { set get }
8 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSColorPanel+Rx.swift:11:9: warning: main actor-isolated property 'action' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
9 | }
10 |
11 | var action: Selector? {
| `- warning: main actor-isolated property 'action' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | set { setAction(newValue) }
13 | get { nil }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Target-Action/BaseTarget.swift:7:9: note: 'action' declared here
5 | protocol HasTargeAction: AnyObject {
6 | var target: AnyObject? { set get }
7 | var action: Selector? { set get }
| `- note: 'action' declared here
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSColorPanel+Rx.swift:23:39: warning: cannot form key path to main actor-isolated property 'color'; this is an error in the Swift 6 language mode
21 | extension Reactive where Base: NSColorPanel {
22 | var color: ControlProperty<NSColor> {
23 | controlProperty(forKeyPath: \.color)
| `- warning: cannot form key path to main actor-isolated property 'color'; this is an error in the Swift 6 language mode
24 | }
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/RxAppKit/Components/NSColorWell+Rx.swift:7:39: warning: cannot form key path to main actor-isolated property 'color'; this is an error in the Swift 6 language mode
5 | public extension Reactive where Base: NSColorWell {
6 | var color: ControlProperty<NSColor> {
7 | controlProperty(forKeyPath: \.color)
| `- warning: cannot form key path to main actor-isolated property 'color'; this is an error in the Swift 6 language mode
8 | }
9 | }
[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