Build Information
Successful build of swift-cocoa-extensions, reference 0.4.1 (4f2511), with Swift 6.1 for macOS (SPM) on 14 Feb 2026 07:06:41 UTC.
Swift 6 data race errors: 37
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[543/609] Compiling CocoaExtensions CustomTabBarController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public protocol ToolbarItemGroupProtocol: NSToolbarItemGroup, ToolbarItemProtocol {}
16 |
17 | public class SidebarTrackingToolbarItem: NSTrackingSeparatorToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
18 | public typealias ID = Identifier
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
41 | }
42 |
43 | public class ToolbarItem: NSToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
44 | public typealias ID = Identifier
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
67 | }
68 |
69 | public class ToolbarItemGroup: NSToolbarItemGroup, ToolbarItemGroupProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
70 | public typealias ID = Identifier
71 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CusomCocoaViewController.swift:196:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
194 | }
195 | /// Only for `override` purposes, do not call directly
196 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
197 | }
198 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomCocoaWindowController.swift:32:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
33 |
34 | open override func windowWillLoad() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomHostingController.swift:213:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
211 |
212 | /// Only for `override` purposes, do not call directly
213 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[544/609] Compiling CocoaExtensions PrefetchingDataSource.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public protocol ToolbarItemGroupProtocol: NSToolbarItemGroup, ToolbarItemProtocol {}
16 |
17 | public class SidebarTrackingToolbarItem: NSTrackingSeparatorToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
18 | public typealias ID = Identifier
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
41 | }
42 |
43 | public class ToolbarItem: NSToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
44 | public typealias ID = Identifier
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
67 | }
68 |
69 | public class ToolbarItemGroup: NSToolbarItemGroup, ToolbarItemGroupProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
70 | public typealias ID = Identifier
71 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CusomCocoaViewController.swift:196:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
194 | }
195 | /// Only for `override` purposes, do not call directly
196 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
197 | }
198 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomCocoaWindowController.swift:32:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
33 |
34 | open override func windowWillLoad() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomHostingController.swift:213:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
211 |
212 | /// Only for `override` purposes, do not call directly
213 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[545/609] Compiling CocoaExtensions CustomCocoaViewControllerProtocol.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public protocol ToolbarItemGroupProtocol: NSToolbarItemGroup, ToolbarItemProtocol {}
16 |
17 | public class SidebarTrackingToolbarItem: NSTrackingSeparatorToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
18 | public typealias ID = Identifier
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
41 | }
42 |
43 | public class ToolbarItem: NSToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
44 | public typealias ID = Identifier
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
67 | }
68 |
69 | public class ToolbarItemGroup: NSToolbarItemGroup, ToolbarItemGroupProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
70 | public typealias ID = Identifier
71 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CusomCocoaViewController.swift:196:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
194 | }
195 | /// Only for `override` purposes, do not call directly
196 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
197 | }
198 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomCocoaWindowController.swift:32:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
33 |
34 | open override func windowWillLoad() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomHostingController.swift:213:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
211 |
212 | /// Only for `override` purposes, do not call directly
213 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[558/609] Compiling CocoaExtensions CollectionView.swift
[559/609] Compiling CocoaExtensions CollectionViewCell.swift
[560/609] Compiling CocoaExtensions CollectionViewDataSource.swift
[561/609] Compiling CocoaExtensions CollectionViewReusableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:62:33: warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
60 | ) -> ContentView! {
61 | get {
62 | return controller[keyPath: \.view].as(ContentView.self) ?? {
| `- warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
63 | assertionFailure("""
64 | `\(String(reflecting: Controller.self))` should inherit from CustomCocoaViewController \
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:77:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 |
76 | public convenience init() {
77 | self.init(wrappedValue: ContentView())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:108:14: warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | @discardableResult
104 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
105 | _ contentView: ContentView,
106 | to controller: CocoaViewController
107 | ) -> ContentView {
108 | controller.view = contentView
| `- warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
109 | return contentView
110 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: mutation of this property is only permitted within the actor
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:62:33: warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
60 | ) -> ContentView! {
61 | get {
62 | return controller[keyPath: \.view].as(ContentView.self) ?? {
| `- warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
63 | assertionFailure("""
64 | `\(String(reflecting: Controller.self))` should inherit from CustomCocoaViewController \
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:77:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 |
76 | public convenience init() {
77 | self.init(wrappedValue: ContentView())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:108:14: warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | @discardableResult
104 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
105 | _ contentView: ContentView,
106 | to controller: CocoaViewController
107 | ) -> ContentView {
108 | controller.view = contentView
| `- warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
109 | return contentView
110 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: mutation of this property is only permitted within the actor
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:62:33: warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
60 | ) -> ContentView! {
61 | get {
62 | return controller[keyPath: \.view].as(ContentView.self) ?? {
| `- warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
63 | assertionFailure("""
64 | `\(String(reflecting: Controller.self))` should inherit from CustomCocoaViewController \
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:77:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 |
76 | public convenience init() {
77 | self.init(wrappedValue: ContentView())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:108:14: warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | @discardableResult
104 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
105 | _ contentView: ContentView,
106 | to controller: CocoaViewController
107 | ) -> ContentView {
108 | controller.view = contentView
| `- warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
109 | return contentView
110 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: mutation of this property is only permitted within the actor
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:62:33: warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
60 | ) -> ContentView! {
61 | get {
62 | return controller[keyPath: \.view].as(ContentView.self) ?? {
| `- warning: cannot form key path to main actor-isolated property 'view'; this is an error in the Swift 6 language mode
63 | assertionFailure("""
64 | `\(String(reflecting: Controller.self))` should inherit from CustomCocoaViewController \
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:77:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 |
76 | public convenience init() {
77 | self.init(wrappedValue: ContentView())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
78 | }
79 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomViewMacroFallback.swift:108:14: warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
102 |
103 | @discardableResult
104 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
105 | _ contentView: ContentView,
106 | to controller: CocoaViewController
107 | ) -> ContentView {
108 | controller.view = contentView
| `- warning: main actor-isolated property 'view' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
109 | return contentView
110 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSViewController.h:78:37: note: mutation of this property is only permitted within the actor
76 | /* The default implementation of the getter first invokes [self loadView] if the view hasn't been set yet. After -loadView is called, -viewDidLoad will be called. The setter can be used to assign a view that's created in a different manner than what -view's default implementation would do.
77 | */
78 | @property (strong) IBOutlet NSView *view;
| `- note: mutation of this property is only permitted within the actor
79 |
80 | /* Returns the view controller's view, or nil if the view has not been loaded.
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaView.swift:18:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
16 |
17 | /// Only for `override` purposes, do not call directly
18 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
19 | }
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:8:13: warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
4 |
5 | #if os(macOS)
6 | open class CustomCocoaWindow: CocoaWindow, CustomCocoaWindowProtocol {
| `- note: add '@preconcurrency' to the 'CustomCocoaWindowProtocol' conformance to defer isolation checking to run time
7 | @Handler1<Void>
8 | public var onClose
| `- warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
9 |
10 | public override func close() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomCocoaWindowProtocol.swift:7:6: note: requirement 'onClose' declared here
5 | #if os(macOS)
6 | public protocol CustomCocoaWindowProtocol: CustomNSObjectProtocol {
7 | var onClose: Handler1<Void>.Container { get set }
| `- note: requirement 'onClose' declared here
8 | }
9 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:30:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
31 | }
32 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionView.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaView.swift:18:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
16 |
17 | /// Only for `override` purposes, do not call directly
18 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
19 | }
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:8:13: warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
4 |
5 | #if os(macOS)
6 | open class CustomCocoaWindow: CocoaWindow, CustomCocoaWindowProtocol {
| `- note: add '@preconcurrency' to the 'CustomCocoaWindowProtocol' conformance to defer isolation checking to run time
7 | @Handler1<Void>
8 | public var onClose
| `- warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
9 |
10 | public override func close() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomCocoaWindowProtocol.swift:7:6: note: requirement 'onClose' declared here
5 | #if os(macOS)
6 | public protocol CustomCocoaWindowProtocol: CustomNSObjectProtocol {
7 | var onClose: Handler1<Void>.Container { get set }
| `- note: requirement 'onClose' declared here
8 | }
9 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:30:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
31 | }
32 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionView.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaView.swift:18:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
16 |
17 | /// Only for `override` purposes, do not call directly
18 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
19 | }
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:8:13: warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
4 |
5 | #if os(macOS)
6 | open class CustomCocoaWindow: CocoaWindow, CustomCocoaWindowProtocol {
| `- note: add '@preconcurrency' to the 'CustomCocoaWindowProtocol' conformance to defer isolation checking to run time
7 | @Handler1<Void>
8 | public var onClose
| `- warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
9 |
10 | public override func close() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomCocoaWindowProtocol.swift:7:6: note: requirement 'onClose' declared here
5 | #if os(macOS)
6 | public protocol CustomCocoaWindowProtocol: CustomNSObjectProtocol {
7 | var onClose: Handler1<Void>.Container { get set }
| `- note: requirement 'onClose' declared here
8 | }
9 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:30:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
31 | }
32 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionView.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaView.swift:18:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
16 |
17 | /// Only for `override` purposes, do not call directly
18 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
19 | }
20 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:8:13: warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
4 |
5 | #if os(macOS)
6 | open class CustomCocoaWindow: CocoaWindow, CustomCocoaWindowProtocol {
| `- note: add '@preconcurrency' to the 'CustomCocoaWindowProtocol' conformance to defer isolation checking to run time
7 | @Handler1<Void>
8 | public var onClose
| `- warning: main actor-isolated property 'onClose' cannot be used to satisfy nonisolated requirement from protocol 'CustomCocoaWindowProtocol'; this is an error in the Swift 6 language mode
9 |
10 | public override func close() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomCocoaWindowProtocol.swift:7:6: note: requirement 'onClose' declared here
5 | #if os(macOS)
6 | public protocol CustomCocoaWindowProtocol: CustomNSObjectProtocol {
7 | var onClose: Handler1<Void>.Container { get set }
| `- note: requirement 'onClose' declared here
8 | }
9 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCocoaWindow.swift:30:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
28 | }
29 |
30 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
31 | }
32 | #elseif canImport(UIKit)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionView.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[574/609] Compiling CocoaExtensions CustomWindowMacroFallback.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:19:40: warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
17 | ) -> Window! {
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
| `- warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
20 | if !controller.tryLoadCustomWindow() {
21 | assertionFailure("Could not load custom window")
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:20:20: warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
20 | if !controller.tryLoadCustomWindow() {
| `- warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | assertionFailure("Could not load custom window")
22 | }
:
83 | @_spi(Internals)
84 | @discardableResult
85 | public func tryLoadCustomWindow() -> Bool {
| |- note: calls to instance method 'tryLoadCustomWindow()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
86 | guard
87 | let _managedWindow = Mirror(reflecting: self)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:24:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let window = Window()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | controller[keyPath: storageKeyPath].load(window, to: controller)
26 | return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:46:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | public convenience init() {
46 | self.init(wrappedValue: Window())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:77:14: warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | @discardableResult
73 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
74 | _ managedWindow: Window,
75 | to controller: NSWindowController
76 | ) -> Window {
77 | controller.window = managedWindow
| `- warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | return managedWindow
79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindowController.h:101:40: note: mutation of this property is only permitted within the actor
99 | The window setter is used internally from -initWithWindow: or when a controller's nib file is loaded (as the "window" outlet gets connected). You can also call it yourself if you want to create the window for a window controller lazily, but you aren't loading it from a nib. This can also be used to set the window to nil for cases where your subclass might not want to keep the window it loaded from a nib, but rather only wants the contents of the window. Setting the window to nil, after the nib has been loaded, does not reset the -isWindowLoaded state. A window controller will only load its nib file once. This method makes sure the window does not release when closed, and it sets the controller's -windowFrameAutosaveName onto the window and updates the window's dirty state to match the controller's document (if any). It also calls -setWindowController: on the window. You can override this if you need to know when the window gets set, but call super.
100 | */
101 | @property (nullable, strong) NSWindow *window;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /* Returns YES if the receiver has loaded its -windowNibName, has itself been loaded from a nib, OR has no -windowNibName. In other words, if there is no nib to load, this always returns YES.
[575/609] Compiling CocoaExtensions CocoaComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:19:40: warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
17 | ) -> Window! {
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
| `- warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
20 | if !controller.tryLoadCustomWindow() {
21 | assertionFailure("Could not load custom window")
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:20:20: warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
20 | if !controller.tryLoadCustomWindow() {
| `- warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | assertionFailure("Could not load custom window")
22 | }
:
83 | @_spi(Internals)
84 | @discardableResult
85 | public func tryLoadCustomWindow() -> Bool {
| |- note: calls to instance method 'tryLoadCustomWindow()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
86 | guard
87 | let _managedWindow = Mirror(reflecting: self)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:24:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let window = Window()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | controller[keyPath: storageKeyPath].load(window, to: controller)
26 | return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:46:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | public convenience init() {
46 | self.init(wrappedValue: Window())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:77:14: warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | @discardableResult
73 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
74 | _ managedWindow: Window,
75 | to controller: NSWindowController
76 | ) -> Window {
77 | controller.window = managedWindow
| `- warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | return managedWindow
79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindowController.h:101:40: note: mutation of this property is only permitted within the actor
99 | The window setter is used internally from -initWithWindow: or when a controller's nib file is loaded (as the "window" outlet gets connected). You can also call it yourself if you want to create the window for a window controller lazily, but you aren't loading it from a nib. This can also be used to set the window to nil for cases where your subclass might not want to keep the window it loaded from a nib, but rather only wants the contents of the window. Setting the window to nil, after the nib has been loaded, does not reset the -isWindowLoaded state. A window controller will only load its nib file once. This method makes sure the window does not release when closed, and it sets the controller's -windowFrameAutosaveName onto the window and updates the window's dirty state to match the controller's document (if any). It also calls -setWindowController: on the window. You can override this if you need to know when the window gets set, but call super.
100 | */
101 | @property (nullable, strong) NSWindow *window;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /* Returns YES if the receiver has loaded its -windowNibName, has itself been loaded from a nib, OR has no -windowNibName. In other words, if there is no nib to load, this always returns YES.
[576/609] Compiling CocoaExtensions HostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:19:40: warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
17 | ) -> Window! {
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
| `- warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
20 | if !controller.tryLoadCustomWindow() {
21 | assertionFailure("Could not load custom window")
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:20:20: warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
20 | if !controller.tryLoadCustomWindow() {
| `- warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | assertionFailure("Could not load custom window")
22 | }
:
83 | @_spi(Internals)
84 | @discardableResult
85 | public func tryLoadCustomWindow() -> Bool {
| |- note: calls to instance method 'tryLoadCustomWindow()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
86 | guard
87 | let _managedWindow = Mirror(reflecting: self)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:24:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let window = Window()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | controller[keyPath: storageKeyPath].load(window, to: controller)
26 | return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:46:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | public convenience init() {
46 | self.init(wrappedValue: Window())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:77:14: warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | @discardableResult
73 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
74 | _ managedWindow: Window,
75 | to controller: NSWindowController
76 | ) -> Window {
77 | controller.window = managedWindow
| `- warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | return managedWindow
79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindowController.h:101:40: note: mutation of this property is only permitted within the actor
99 | The window setter is used internally from -initWithWindow: or when a controller's nib file is loaded (as the "window" outlet gets connected). You can also call it yourself if you want to create the window for a window controller lazily, but you aren't loading it from a nib. This can also be used to set the window to nil for cases where your subclass might not want to keep the window it loaded from a nib, but rather only wants the contents of the window. Setting the window to nil, after the nib has been loaded, does not reset the -isWindowLoaded state. A window controller will only load its nib file once. This method makes sure the window does not release when closed, and it sets the controller's -windowFrameAutosaveName onto the window and updates the window's dirty state to match the controller's document (if any). It also calls -setWindowController: on the window. You can override this if you need to know when the window gets set, but call super.
100 | */
101 | @property (nullable, strong) NSWindow *window;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /* Returns YES if the receiver has loaded its -windowNibName, has itself been loaded from a nib, OR has no -windowNibName. In other words, if there is no nib to load, this always returns YES.
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:19:40: warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
17 | ) -> Window! {
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
| `- warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
20 | if !controller.tryLoadCustomWindow() {
21 | assertionFailure("Could not load custom window")
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:20:20: warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
20 | if !controller.tryLoadCustomWindow() {
| `- warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | assertionFailure("Could not load custom window")
22 | }
:
83 | @_spi(Internals)
84 | @discardableResult
85 | public func tryLoadCustomWindow() -> Bool {
| |- note: calls to instance method 'tryLoadCustomWindow()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
86 | guard
87 | let _managedWindow = Mirror(reflecting: self)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:24:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let window = Window()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | controller[keyPath: storageKeyPath].load(window, to: controller)
26 | return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:46:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | public convenience init() {
46 | self.init(wrappedValue: Window())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:77:14: warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | @discardableResult
73 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
74 | _ managedWindow: Window,
75 | to controller: NSWindowController
76 | ) -> Window {
77 | controller.window = managedWindow
| `- warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | return managedWindow
79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindowController.h:101:40: note: mutation of this property is only permitted within the actor
99 | The window setter is used internally from -initWithWindow: or when a controller's nib file is loaded (as the "window" outlet gets connected). You can also call it yourself if you want to create the window for a window controller lazily, but you aren't loading it from a nib. This can also be used to set the window to nil for cases where your subclass might not want to keep the window it loaded from a nib, but rather only wants the contents of the window. Setting the window to nil, after the nib has been loaded, does not reset the -isWindowLoaded state. A window controller will only load its nib file once. This method makes sure the window does not release when closed, and it sets the controller's -windowFrameAutosaveName onto the window and updates the window's dirty state to match the controller's document (if any). It also calls -setWindowController: on the window. You can override this if you need to know when the window gets set, but call super.
100 | */
101 | @property (nullable, strong) NSWindow *window;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /* Returns YES if the receiver has loaded its -windowNibName, has itself been loaded from a nib, OR has no -windowNibName. In other words, if there is no nib to load, this always returns YES.
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:19:40: warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
17 | ) -> Window! {
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
| `- warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
20 | if !controller.tryLoadCustomWindow() {
21 | assertionFailure("Could not load custom window")
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:20:20: warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
20 | if !controller.tryLoadCustomWindow() {
| `- warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | assertionFailure("Could not load custom window")
22 | }
:
83 | @_spi(Internals)
84 | @discardableResult
85 | public func tryLoadCustomWindow() -> Bool {
| |- note: calls to instance method 'tryLoadCustomWindow()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
86 | guard
87 | let _managedWindow = Mirror(reflecting: self)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:24:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let window = Window()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | controller[keyPath: storageKeyPath].load(window, to: controller)
26 | return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:46:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | public convenience init() {
46 | self.init(wrappedValue: Window())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:77:14: warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | @discardableResult
73 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
74 | _ managedWindow: Window,
75 | to controller: NSWindowController
76 | ) -> Window {
77 | controller.window = managedWindow
| `- warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | return managedWindow
79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindowController.h:101:40: note: mutation of this property is only permitted within the actor
99 | The window setter is used internally from -initWithWindow: or when a controller's nib file is loaded (as the "window" outlet gets connected). You can also call it yourself if you want to create the window for a window controller lazily, but you aren't loading it from a nib. This can also be used to set the window to nil for cases where your subclass might not want to keep the window it loaded from a nib, but rather only wants the contents of the window. Setting the window to nil, after the nib has been loaded, does not reset the -isWindowLoaded state. A window controller will only load its nib file once. This method makes sure the window does not release when closed, and it sets the controller's -windowFrameAutosaveName onto the window and updates the window's dirty state to match the controller's document (if any). It also calls -setWindowController: on the window. You can override this if you need to know when the window gets set, but call super.
100 | */
101 | @property (nullable, strong) NSWindow *window;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /* Returns YES if the receiver has loaded its -windowNibName, has itself been loaded from a nib, OR has no -windowNibName. In other words, if there is no nib to load, this always returns YES.
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:19:40: warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
17 | ) -> Window! {
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
| `- warning: cannot form key path to main actor-isolated property 'window'; this is an error in the Swift 6 language mode
20 | if !controller.tryLoadCustomWindow() {
21 | assertionFailure("Could not load custom window")
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:20:20: warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
18 | get {
19 | let _window = controller[keyPath: \.window] ?? {
20 | if !controller.tryLoadCustomWindow() {
| `- warning: call to main actor-isolated instance method 'tryLoadCustomWindow()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
21 | assertionFailure("Could not load custom window")
22 | }
:
83 | @_spi(Internals)
84 | @discardableResult
85 | public func tryLoadCustomWindow() -> Bool {
| |- note: calls to instance method 'tryLoadCustomWindow()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
86 | guard
87 | let _managedWindow = Mirror(reflecting: self)
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:24:18: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
22 | }
23 |
24 | let window = Window()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | controller[keyPath: storageKeyPath].load(window, to: controller)
26 | return window
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:46:27: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
44 |
45 | public convenience init() {
46 | self.init(wrappedValue: Window())
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | }
48 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/PropertyWrappers/CustomWindowMacroFallback.swift:77:14: warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 |
72 | @discardableResult
73 | public func load(
| `- note: add '@MainActor' to make instance method 'load(_:to:)' part of global actor 'MainActor'
74 | _ managedWindow: Window,
75 | to controller: NSWindowController
76 | ) -> Window {
77 | controller.window = managedWindow
| `- warning: main actor-isolated property 'window' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
78 | return managedWindow
79 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindowController.h:101:40: note: mutation of this property is only permitted within the actor
99 | The window setter is used internally from -initWithWindow: or when a controller's nib file is loaded (as the "window" outlet gets connected). You can also call it yourself if you want to create the window for a window controller lazily, but you aren't loading it from a nib. This can also be used to set the window to nil for cases where your subclass might not want to keep the window it loaded from a nib, but rather only wants the contents of the window. Setting the window to nil, after the nib has been loaded, does not reset the -isWindowLoaded state. A window controller will only load its nib file once. This method makes sure the window does not release when closed, and it sets the controller's -windowFrameAutosaveName onto the window and updates the window's dirty state to match the controller's document (if any). It also calls -setWindowController: on the window. You can override this if you need to know when the window gets set, but call super.
100 | */
101 | @property (nullable, strong) NSWindow *window;
| `- note: mutation of this property is only permitted within the actor
102 |
103 | /* Returns YES if the receiver has loaded its -windowNibName, has itself been loaded from a nib, OR has no -windowNibName. In other words, if there is no nib to load, this always returns YES.
[580/609] Compiling CocoaExtensions ToolbarItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public protocol ToolbarItemGroupProtocol: NSToolbarItemGroup, ToolbarItemProtocol {}
16 |
17 | public class SidebarTrackingToolbarItem: NSTrackingSeparatorToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
18 | public typealias ID = Identifier
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
41 | }
42 |
43 | public class ToolbarItem: NSToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
44 | public typealias ID = Identifier
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
67 | }
68 |
69 | public class ToolbarItemGroup: NSToolbarItemGroup, ToolbarItemGroupProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
70 | public typealias ID = Identifier
71 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CusomCocoaViewController.swift:196:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
194 | }
195 | /// Only for `override` purposes, do not call directly
196 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
197 | }
198 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomCocoaWindowController.swift:32:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
33 |
34 | open override func windowWillLoad() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomHostingController.swift:213:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
211 |
212 | /// Only for `override` purposes, do not call directly
213 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[581/609] Compiling CocoaExtensions CusomCocoaViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public protocol ToolbarItemGroupProtocol: NSToolbarItemGroup, ToolbarItemProtocol {}
16 |
17 | public class SidebarTrackingToolbarItem: NSTrackingSeparatorToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
18 | public typealias ID = Identifier
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
41 | }
42 |
43 | public class ToolbarItem: NSToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
44 | public typealias ID = Identifier
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
67 | }
68 |
69 | public class ToolbarItemGroup: NSToolbarItemGroup, ToolbarItemGroupProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
70 | public typealias ID = Identifier
71 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CusomCocoaViewController.swift:196:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
194 | }
195 | /// Only for `override` purposes, do not call directly
196 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
197 | }
198 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomCocoaWindowController.swift:32:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
33 |
34 | open override func windowWillLoad() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomHostingController.swift:213:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
211 |
212 | /// Only for `override` purposes, do not call directly
213 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[582/609] Compiling CocoaExtensions CustomCocoaWindowController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public protocol ToolbarItemGroupProtocol: NSToolbarItemGroup, ToolbarItemProtocol {}
16 |
17 | public class SidebarTrackingToolbarItem: NSTrackingSeparatorToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
18 | public typealias ID = Identifier
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
41 | }
42 |
43 | public class ToolbarItem: NSToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
44 | public typealias ID = Identifier
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
67 | }
68 |
69 | public class ToolbarItemGroup: NSToolbarItemGroup, ToolbarItemGroupProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
70 | public typealias ID = Identifier
71 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CusomCocoaViewController.swift:196:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
194 | }
195 | /// Only for `override` purposes, do not call directly
196 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
197 | }
198 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomCocoaWindowController.swift:32:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
33 |
34 | open override func windowWillLoad() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomHostingController.swift:213:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
211 |
212 | /// Only for `override` purposes, do not call directly
213 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
[583/609] Compiling CocoaExtensions CustomHostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | public protocol ToolbarItemGroupProtocol: NSToolbarItemGroup, ToolbarItemProtocol {}
16 |
17 | public class SidebarTrackingToolbarItem: NSTrackingSeparatorToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
18 | public typealias ID = Identifier
19 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
41 | }
42 |
43 | public class ToolbarItem: NSToolbarItem, ToolbarItemProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
44 | public typealias ID = Identifier
45 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/ToolbarItem.swift:12:13: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
10 |
11 | extension ToolbarItemProtocol {
12 | public var id: NSToolbarItem.Identifier { itemIdentifier }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
13 | }
14 |
:
67 | }
68 |
69 | public class ToolbarItemGroup: NSToolbarItemGroup, ToolbarItemGroupProtocol, Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
70 | public typealias ID = Identifier
71 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CusomCocoaViewController.swift:196:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
194 | }
195 | /// Only for `override` purposes, do not call directly
196 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
197 | }
198 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomCocoaWindowController.swift:32:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
30 | }
31 |
32 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
33 |
34 | open override func windowWillLoad() {
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Controllers/CustomHostingController.swift:213:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
211 |
212 | /// Only for `override` purposes, do not call directly
213 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
214 | }
215 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewCell.swift:95:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
93 | }
94 | /// Only for `override` purposes, do not call directly
95 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
96 | }
97 | #else
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomCollectionViewReusableView.swift:15:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
13 | }
14 |
15 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
16 | }
17 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableView.swift:22:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
20 | }
21 |
22 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
23 | }
24 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Views/CustomTableViewCell.swift:25:12: warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
23 | }
24 |
25 | open func _init() {}
| |- warning: main actor-isolated instance method '_init()' cannot be used to satisfy nonisolated requirement from protocol 'CustomNSObjectProtocol'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '_init()' to make this instance method not isolated to the actor
26 | }
27 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Custom/Protocols/CustomNSObjectProtocol.swift:4:7: note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
2 |
3 | public protocol CustomNSObjectProtocol: NSObject {
4 | func _init()
| `- note: mark the protocol requirement '_init()' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensions/Components/Toolbar/CustomToolbar.swift:71:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
69 | weak var toolbar: CustomToolbar?
70 |
71 | public var items: IdentifiedArray<
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
72 | NSToolbarItem.Identifier,
73 | ToolbarItemProtocol
[606/661] Compiling SwiftBasicFormat SyntaxProtocol+Formatted.swift
[607/661] Compiling SwiftDiagnostics Note.swift
[608/661] Compiling SwiftDiagnostics Message.swift
[609/661] Compiling SwiftBasicFormat Trivia+FormatExtensions.swift
[610/661] Compiling SwiftDiagnostics FixIt.swift
[611/661] Compiling SwiftDiagnostics GroupedDiagnostics.swift
[612/661] Compiling SwiftDiagnostics Convenience.swift
[613/661] Compiling SwiftDiagnostics Diagnostic.swift
[614/661] Emitting module SwiftDiagnostics
[615/661] Compiling SwiftDiagnostics DiagnosticsFormatter.swift
[616/661] Compiling SwiftBasicFormat Syntax+Extensions.swift
[617/661] Emitting module SwiftBasicFormat
[618/661] Compiling SwiftBasicFormat BasicFormat.swift
[619/661] Compiling SwiftParser Names.swift
[620/661] Compiling SwiftParser Nominals.swift
[621/661] Compiling SwiftParser Parameters.swift
[622/661] Compiling SwiftParser ParseSourceFile.swift
[623/665] Compiling SwiftParser Lexeme.swift
[624/665] Compiling SwiftParser LexemeSequence.swift
[625/665] Compiling SwiftParser Lexer.swift
[626/665] Compiling SwiftParser RegexLiteralLexer.swift
[627/665] Emitting module SwiftParser
[628/665] Compiling SwiftParser UnicodeScalarExtensions.swift
[629/665] Compiling SwiftParser Lookahead.swift
[630/665] Compiling SwiftParser LoopProgressCondition.swift
[631/665] Compiling SwiftParser Modifiers.swift
[632/665] Compiling SwiftParser Parser.swift
[633/665] Compiling SwiftParser Patterns.swift
[634/665] Compiling SwiftParser Recovery.swift
[635/665] Compiling SwiftParser Specifiers.swift
[636/665] Compiling SwiftParser SyntaxUtils.swift
[637/665] Compiling SwiftParser TokenConsumer.swift
[638/665] Compiling SwiftParser TokenPrecedence.swift
[639/665] Compiling SwiftParser TokenSpec.swift
[640/665] Compiling SwiftParser Statements.swift
[641/665] Compiling SwiftParser StringLiteralRepresentedLiteralValue.swift
[642/665] Compiling SwiftParser StringLiterals.swift
[643/665] Compiling SwiftParser SwiftParserCompatibility.swift
[644/665] Compiling SwiftParser TokenSpecSet.swift
[645/665] Compiling SwiftParser TopLevel.swift
[646/665] Compiling SwiftParser TriviaParser.swift
[647/665] Compiling SwiftParser Types.swift
[648/665] Compiling SwiftParser IsLexerClassified.swift
[649/665] Compiling SwiftParser LayoutNodes+Parsable.swift
[650/665] Compiling SwiftParser Parser+TokenSpecSet.swift
[651/665] Compiling SwiftParser TokenSpecStaticMembers.swift
[652/665] Compiling SwiftParser Directives.swift
[653/665] Compiling SwiftParser ExperimentalFeatures.swift
[654/665] Compiling SwiftParser Expressions.swift
[655/665] Compiling SwiftParser IncrementalParseTransition.swift
[656/665] Compiling SwiftParser Cursor.swift
[657/665] Compiling SwiftParser Attributes.swift
[658/665] Compiling SwiftParser Availability.swift
[659/665] Compiling SwiftParser CharacterInfo.swift
[660/665] Compiling SwiftParser CollectionNodes+Parsable.swift
[661/665] Compiling SwiftParser Declarations.swift
[662/688] Compiling SwiftParserDiagnostics Utils.swift
[663/689] Compiling SwiftOperators PrecedenceGroup.swift
[664/690] Compiling SwiftOperators PrecedenceGraph.swift
[665/690] Compiling SwiftOperators OperatorTable.swift
[666/690] Compiling SwiftParserDiagnostics SyntaxExtensions.swift
[667/690] Compiling SwiftParserDiagnostics TokenNameForDiagnostics.swift
[668/690] Emitting module SwiftOperators
[669/690] Compiling SwiftOperators OperatorTable+Defaults.swift
[670/690] Compiling SwiftOperators OperatorTable+Semantics.swift
[671/690] Compiling SwiftOperators SyntaxSynthesis.swift
[672/690] Compiling SwiftOperators OperatorError+Diagnostics.swift
[673/690] Compiling SwiftOperators OperatorError.swift
[674/690] Compiling SwiftOperators Operator.swift
[675/690] Compiling SwiftOperators OperatorTable+Folding.swift
[676/690] Compiling SwiftParserDiagnostics SyntaxKindNameForDiagnostics.swift
[677/690] Compiling SwiftParserDiagnostics PresenceUtils.swift
[678/690] Compiling SwiftParserDiagnostics ChildNameForDiagnostics.swift
[679/690] Compiling SwiftParserDiagnostics MissingNodesError.swift
[680/690] Compiling SwiftParserDiagnostics MissingTokenError.swift
[681/690] Compiling SwiftParserDiagnostics ParserDiagnosticMessages.swift
[682/690] Emitting module SwiftParserDiagnostics
[683/690] Compiling SwiftParserDiagnostics DiagnosticExtensions.swift
[684/690] Compiling SwiftParserDiagnostics LexerDiagnosticMessages.swift
[685/690] Compiling SwiftParserDiagnostics MultiLineStringLiteralDiagnosticsGenerator.swift
[686/690] Compiling SwiftParserDiagnostics ParseDiagnosticsGenerator.swift
[687/704] Compiling SwiftSyntaxBuilder ValidatingSyntaxNodes.swift
[688/705] Compiling SwiftSyntaxBuilder SyntaxNodeWithBody.swift
[689/705] Compiling SwiftSyntaxBuilder SyntaxParsable+ExpressibleByStringInterpolation.swift
[690/705] Compiling SwiftSyntaxBuilder ConvenienceInitializers.swift
[691/705] Compiling SwiftSyntaxBuilder DeclSyntaxParseable.swift
[692/705] Compiling SwiftSyntaxBuilder Indenter.swift
[693/705] Compiling SwiftSyntaxBuilder ResultBuilderExtensions.swift
[694/705] Emitting module SwiftSyntaxBuilder
[695/705] Compiling SwiftSyntaxBuilder SwiftSyntaxBuilderCompatibility.swift
[696/705] Compiling SwiftSyntaxBuilder Syntax+StringInterpolation.swift
[697/705] Compiling SwiftSyntaxBuilder SyntaxExpressibleByStringInterpolationConformances.swift
[698/705] Compiling SwiftSyntaxBuilder BuildableNodes.swift
[699/705] Compiling SwiftSyntaxBuilder RenamedChildrenBuilderCompatibility.swift
[700/705] Compiling SwiftSyntaxBuilder WithTrailingCommaSyntax+EnsuringTrailingComma.swift
[701/705] Compiling SwiftSyntaxBuilder ResultBuilders.swift
[702/719] Compiling SwiftSyntaxMacros FreestandingMacro.swift
[703/720] Compiling SwiftSyntaxMacros ExpressionMacro.swift
[704/720] Compiling SwiftSyntaxMacros ExtensionMacro.swift
[705/720] Compiling SwiftSyntaxMacros MemberMacro.swift
[706/720] Compiling SwiftSyntaxMacros MemberAttributeMacro.swift
[707/720] Compiling SwiftSyntaxMacros Macro+Format.swift
[708/720] Emitting module SwiftSyntaxMacros
[709/720] Compiling SwiftSyntaxMacros CodeItemMacro.swift
[710/720] Compiling SwiftSyntaxMacros DeclarationMacro.swift
[711/720] Compiling SwiftSyntaxMacros Macro.swift
[712/720] Compiling SwiftSyntaxMacros AccessorMacro.swift
[713/720] Compiling SwiftSyntaxMacros AttachedMacro.swift
[714/720] Compiling SwiftSyntaxMacros AbstractSourceLocation.swift
[715/720] Compiling SwiftSyntaxMacros MacroExpansionContext.swift
[716/720] Compiling SwiftSyntaxMacros PeerMacro.swift
[717/728] Compiling SwiftSyntaxMacroExpansion IndentationUtils.swift
[718/728] Emitting module SwiftSyntaxMacroExpansion
[719/728] Compiling SwiftSyntaxMacroExpansion MacroExpansion.swift
[720/728] Compiling SwiftSyntaxMacroExpansion FunctionParameterUtils.swift
[721/728] Compiling SwiftSyntaxMacroExpansion MacroReplacement.swift
[722/728] Compiling SwiftSyntaxMacroExpansion MacroExpansionDiagnosticMessages.swift
[723/728] Compiling SwiftSyntaxMacroExpansion BasicMacroExpansionContext.swift
[724/728] Compiling SwiftSyntaxMacroExpansion MacroSystem.swift
[725/735] Compiling SwiftCompilerPluginMessageHandling PluginMacroExpansionContext.swift
[726/735] Compiling SwiftCompilerPluginMessageHandling PluginMessageCompatibility.swift
[727/735] Compiling SwiftCompilerPluginMessageHandling Diagnostics.swift
[728/735] Emitting module SwiftCompilerPluginMessageHandling
[729/735] Compiling SwiftCompilerPluginMessageHandling PluginMessages.swift
[730/735] Compiling SwiftCompilerPluginMessageHandling CompilerPluginMessageHandler.swift
[731/735] Compiling SwiftCompilerPluginMessageHandling Macros.swift
[732/737] Emitting module SwiftCompilerPlugin
[733/737] Compiling SwiftCompilerPlugin CompilerPlugin.swift
[734/780] Emitting module MacroToolkit
[735/784] Compiling MacroToolkit OptionalType.swift
[736/784] Compiling MacroToolkit PackExpansionType.swift
[737/784] Compiling MacroToolkit PackReferenceType.swift
[738/784] Compiling MacroToolkit RegexLiteral.swift
[739/784] Compiling MacroToolkit Struct.swift
[740/784] Compiling MacroToolkit SuppressedType.swift
[741/784] Compiling MacroToolkit SwiftSyntax+Extensions.swift
[742/784] Compiling MacroToolkit TupleType.swift
[743/784] Compiling MacroToolkit ArrayType.swift
[744/784] Compiling MacroToolkit Attribute.swift
[745/784] Compiling MacroToolkit AttributeListElement.swift
[746/784] Compiling MacroToolkit BooleanLiteral.swift
[747/784] Compiling MacroToolkit ClassRestrictionType.swift
[748/784] Compiling MacroToolkit Diagnostics.swift
[749/784] Compiling MacroToolkit DictionaryType.swift
[750/784] Compiling MacroToolkit Enum.swift
[751/784] Compiling MacroToolkit EnumCase.swift
[752/784] Compiling MacroToolkit EnumCaseAssociatedValueParameter.swift
[753/784] Compiling MacroToolkit SimpleType.swift
[754/784] Compiling MacroToolkit SomeOrAnyType.swift
[755/784] Compiling MacroToolkit String+Extensions.swift
[756/784] Compiling MacroToolkit StringLiteral.swift
[757/784] Compiling MacroToolkit EnumCaseValue.swift
[758/784] Compiling MacroToolkit Expr.swift
[759/784] Compiling MacroToolkit ExprProtocol.swift
[760/784] Compiling MacroToolkit FloatLiteral.swift
[761/784] Compiling MacroToolkit Function.swift
[762/784] Compiling MacroToolkit FunctionParameter.swift
[763/784] Compiling MacroToolkit FunctionType.swift
[764/784] Compiling MacroToolkit ImplicitlyUnwrappedOptionalType.swift
[765/784] Compiling MacroToolkit IntegerLiteral.swift
[766/784] Compiling MacroToolkit LiteralProtocol.swift
[767/784] Compiling MacroToolkit MacroAttribute.swift
[768/784] Compiling MacroToolkit MemberType.swift
[769/784] Compiling MacroToolkit MetatypeType.swift
[770/784] Compiling MacroToolkit MissingType.swift
[771/784] Compiling MacroToolkit NilLiteral.swift
[772/784] Compiling MacroToolkit CompositionType.swift
[773/784] Compiling MacroToolkit ConditionalCompilationBlock.swift
[774/784] Compiling MacroToolkit Decl.swift
[775/784] Compiling MacroToolkit DeclGroup.swift
[776/784] Compiling MacroToolkit Destructuring.swift
[777/784] Compiling MacroToolkit Type.swift
[778/784] Compiling MacroToolkit TypeProtocol.swift
[779/784] Compiling MacroToolkit Variable.swift
[780/784] Compiling MacroToolkit VariableBinding.swift
[781/797] Compiling CocoaExtensionsMacrosPlugin Plugin.swift
[782/797] Compiling FoundationExtensionsMacrosPlugin Operators.swift
[783/797] Compiling CocoaExtensionsMacrosPlugin Type+.swift
[784/797] Compiling CocoaExtensionsMacrosPlugin Operators.swift
[785/797] Compiling CocoaExtensionsMacrosPlugin Diagnostics+.swift
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensionsMacrosPlugin/Helpers/Diagnostics+.swift:11:1: warning: extension declares a conformance of imported type 'Diagnostic' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'SwiftDiagnostics' introduce this conformance in the future
9 | }
10 |
11 | extension Diagnostic: Error {}
| |- warning: extension declares a conformance of imported type 'Diagnostic' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'SwiftDiagnostics' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensionsMacrosPlugin/Helpers/Diagnostics+.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Diagnostic'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | }
10 |
11 | extension Diagnostic: Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Diagnostic'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:17:14: warning: stored property 'diagMessage' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'any DiagnosticMessage'; this is an error in the Swift 6 language mode
15 | public struct Diagnostic: CustomDebugStringConvertible {
16 | /// The message that should be displayed to the user
17 | public let diagMessage: DiagnosticMessage
| `- warning: stored property 'diagMessage' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'any DiagnosticMessage'; this is an error in the Swift 6 language mode
18 |
19 | /// The node at whose start location the message should be displayed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:37:17: note: protocol 'DiagnosticMessage' does not conform to the 'Sendable' protocol
35 | /// Types conforming to this protocol represent diagnostic messages that can be
36 | /// shown to the client.
37 | public protocol DiagnosticMessage {
| `- note: protocol 'DiagnosticMessage' does not conform to the 'Sendable' protocol
38 | /// The diagnostic message that should be displayed in the client.
39 | var message: String { get }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:20:14: warning: stored property 'node' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'Syntax'; this is an error in the Swift 6 language mode
18 |
19 | /// The node at whose start location the message should be displayed.
20 | public let node: Syntax
| `- warning: stored property 'node' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'Syntax'; this is an error in the Swift 6 language mode
21 |
22 | /// The position at which the location should be anchored.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/Syntax.swift:57:15: note: struct 'Syntax' does not conform to the 'Sendable' protocol
55 | /// Each node has accessors for its known children, and allows efficient
56 | /// iteration over the children through its `children` property.
57 | public struct Syntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'Syntax' does not conform to the 'Sendable' protocol
58 | let data: SyntaxData
59 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:24:14: warning: stored property 'position' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'AbsolutePosition'; this is an error in the Swift 6 language mode
22 | /// The position at which the location should be anchored.
23 | /// By default, this is the start location of `node`.
24 | public let position: AbsolutePosition
| `- warning: stored property 'position' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'AbsolutePosition'; this is an error in the Swift 6 language mode
25 |
26 | /// Nodes that should be highlighted in the source code.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/AbsolutePosition.swift:15:15: note: struct 'AbsolutePosition' does not conform to the 'Sendable' protocol
13 | /// An absolute position in a source file as text - the absolute utf8Offset from
14 | /// the start of the file.
15 | public struct AbsolutePosition: Comparable, Hashable {
| `- note: struct 'AbsolutePosition' does not conform to the 'Sendable' protocol
16 | public let utf8Offset: Int
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:27:14: warning: stored property 'highlights' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Syntax]'; this is an error in the Swift 6 language mode
25 |
26 | /// Nodes that should be highlighted in the source code.
27 | public let highlights: [Syntax]
| `- warning: stored property 'highlights' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Syntax]'; this is an error in the Swift 6 language mode
28 |
29 | /// Notes that point to additional locations which are relevant for this diagnostic.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/Syntax.swift:57:15: note: struct 'Syntax' does not conform to the 'Sendable' protocol
55 | /// Each node has accessors for its known children, and allows efficient
56 | /// iteration over the children through its `children` property.
57 | public struct Syntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'Syntax' does not conform to the 'Sendable' protocol
58 | let data: SyntaxData
59 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:30:14: warning: stored property 'notes' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Note]'; this is an error in the Swift 6 language mode
28 |
29 | /// Notes that point to additional locations which are relevant for this diagnostic.
30 | public let notes: [Note]
| `- warning: stored property 'notes' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Note]'; this is an error in the Swift 6 language mode
31 |
32 | /// Fix-Its that can be applied to resolve this diagnostic.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Note.swift:27:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
25 |
26 | /// A note that points to another node that's relevant for a Diagnostic.
27 | public struct Note: CustomDebugStringConvertible {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
28 | /// The node whose location the node is pointing.
29 | public let node: Syntax
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:34:14: warning: stored property 'fixIts' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
32 | /// Fix-Its that can be applied to resolve this diagnostic.
33 | /// Each Fix-It offers a different way to resolve the diagnostic. Usually, there's only one.
34 | public let fixIts: [FixIt]
| `- warning: stored property 'fixIts' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
35 |
36 | /// If `highlights` is `nil` then `node` will be highlighted. This is a
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/FixIt.swift:27:15: note: consider making struct 'FixIt' conform to the 'Sendable' protocol
25 |
26 | /// A Fix-It that can be applied to resolve a diagnostic.
27 | public struct FixIt {
| `- note: consider making struct 'FixIt' conform to the 'Sendable' protocol
28 | public enum Change {
29 | /// Replace `oldNode` by `newNode`.
[786/797] Compiling CocoaExtensionsMacrosPlugin CustomWindowMacro.swift
[787/797] Compiling CocoaExtensionsMacrosPlugin CustomPropertyMacro.swift
[788/797] Emitting module CocoaExtensionsMacrosPlugin
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensionsMacrosPlugin/Helpers/Diagnostics+.swift:11:1: warning: extension declares a conformance of imported type 'Diagnostic' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'SwiftDiagnostics' introduce this conformance in the future
9 | }
10 |
11 | extension Diagnostic: Error {}
| |- warning: extension declares a conformance of imported type 'Diagnostic' to imported protocols 'Error', 'Sendable'; this will not behave correctly if the owners of 'SwiftDiagnostics' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
12 |
/Users/admin/builder/spi-builder-workspace/Sources/CocoaExtensionsMacrosPlugin/Helpers/Diagnostics+.swift:11:1: warning: conformance to 'Sendable' must occur in the same source file as struct 'Diagnostic'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
9 | }
10 |
11 | extension Diagnostic: Error {}
| `- warning: conformance to 'Sendable' must occur in the same source file as struct 'Diagnostic'; use '@unchecked Sendable' for retroactive conformance; this is an error in the Swift 6 language mode
12 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:17:14: warning: stored property 'diagMessage' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'any DiagnosticMessage'; this is an error in the Swift 6 language mode
15 | public struct Diagnostic: CustomDebugStringConvertible {
16 | /// The message that should be displayed to the user
17 | public let diagMessage: DiagnosticMessage
| `- warning: stored property 'diagMessage' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'any DiagnosticMessage'; this is an error in the Swift 6 language mode
18 |
19 | /// The node at whose start location the message should be displayed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Message.swift:37:17: note: protocol 'DiagnosticMessage' does not conform to the 'Sendable' protocol
35 | /// Types conforming to this protocol represent diagnostic messages that can be
36 | /// shown to the client.
37 | public protocol DiagnosticMessage {
| `- note: protocol 'DiagnosticMessage' does not conform to the 'Sendable' protocol
38 | /// The diagnostic message that should be displayed in the client.
39 | var message: String { get }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:20:14: warning: stored property 'node' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'Syntax'; this is an error in the Swift 6 language mode
18 |
19 | /// The node at whose start location the message should be displayed.
20 | public let node: Syntax
| `- warning: stored property 'node' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'Syntax'; this is an error in the Swift 6 language mode
21 |
22 | /// The position at which the location should be anchored.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/Syntax.swift:57:15: note: struct 'Syntax' does not conform to the 'Sendable' protocol
55 | /// Each node has accessors for its known children, and allows efficient
56 | /// iteration over the children through its `children` property.
57 | public struct Syntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'Syntax' does not conform to the 'Sendable' protocol
58 | let data: SyntaxData
59 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:24:14: warning: stored property 'position' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'AbsolutePosition'; this is an error in the Swift 6 language mode
22 | /// The position at which the location should be anchored.
23 | /// By default, this is the start location of `node`.
24 | public let position: AbsolutePosition
| `- warning: stored property 'position' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type 'AbsolutePosition'; this is an error in the Swift 6 language mode
25 |
26 | /// Nodes that should be highlighted in the source code.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/AbsolutePosition.swift:15:15: note: struct 'AbsolutePosition' does not conform to the 'Sendable' protocol
13 | /// An absolute position in a source file as text - the absolute utf8Offset from
14 | /// the start of the file.
15 | public struct AbsolutePosition: Comparable, Hashable {
| `- note: struct 'AbsolutePosition' does not conform to the 'Sendable' protocol
16 | public let utf8Offset: Int
17 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:27:14: warning: stored property 'highlights' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Syntax]'; this is an error in the Swift 6 language mode
25 |
26 | /// Nodes that should be highlighted in the source code.
27 | public let highlights: [Syntax]
| `- warning: stored property 'highlights' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Syntax]'; this is an error in the Swift 6 language mode
28 |
29 | /// Notes that point to additional locations which are relevant for this diagnostic.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftSyntax/Syntax.swift:57:15: note: struct 'Syntax' does not conform to the 'Sendable' protocol
55 | /// Each node has accessors for its known children, and allows efficient
56 | /// iteration over the children through its `children` property.
57 | public struct Syntax: SyntaxProtocol, SyntaxHashable {
| `- note: struct 'Syntax' does not conform to the 'Sendable' protocol
58 | let data: SyntaxData
59 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:30:14: warning: stored property 'notes' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Note]'; this is an error in the Swift 6 language mode
28 |
29 | /// Notes that point to additional locations which are relevant for this diagnostic.
30 | public let notes: [Note]
| `- warning: stored property 'notes' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[Note]'; this is an error in the Swift 6 language mode
31 |
32 | /// Fix-Its that can be applied to resolve this diagnostic.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Note.swift:27:15: note: consider making struct 'Note' conform to the 'Sendable' protocol
25 |
26 | /// A note that points to another node that's relevant for a Diagnostic.
27 | public struct Note: CustomDebugStringConvertible {
| `- note: consider making struct 'Note' conform to the 'Sendable' protocol
28 | /// The node whose location the node is pointing.
29 | public let node: Syntax
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/Diagnostic.swift:34:14: warning: stored property 'fixIts' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
32 | /// Fix-Its that can be applied to resolve this diagnostic.
33 | /// Each Fix-It offers a different way to resolve the diagnostic. Usually, there's only one.
34 | public let fixIts: [FixIt]
| `- warning: stored property 'fixIts' of 'Sendable'-conforming struct 'Diagnostic' has non-sendable type '[FixIt]'; this is an error in the Swift 6 language mode
35 |
36 | /// If `highlights` is `nil` then `node` will be highlighted. This is a
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-syntax/Sources/SwiftDiagnostics/FixIt.swift:27:15: note: consider making struct 'FixIt' conform to the 'Sendable' protocol
25 |
26 | /// A Fix-It that can be applied to resolve a diagnostic.
27 | public struct FixIt {
| `- note: consider making struct 'FixIt' conform to the 'Sendable' protocol
28 | public enum Change {
29 | /// Replace `oldNode` by `newNode`.
[789/797] Compiling CocoaExtensionsMacrosPlugin CustomViewMacro.swift
[789/797] Write Objects.LinkFileList
[791/797] Compiling FoundationExtensionsMacrosPlugin Diagnostics+.swift
[792/797] Compiling FoundationExtensionsMacrosPlugin Plugin.swift
[793/797] Emitting module FoundationExtensionsMacrosPlugin
[794/797] Compiling FoundationExtensionsMacrosPlugin AssociatedObjectMacro.swift
[794/797] Write Objects.LinkFileList
[795/797] Linking CocoaExtensionsMacrosPlugin-tool
[796/797] Linking FoundationExtensionsMacrosPlugin-tool
[798/803] Compiling FoundationExtensionsMacros Exports.swift
[799/803] Emitting module FoundationExtensionsMacros
[800/803] Compiling FoundationExtensionsMacros AssociatedObject.swift
[801/803] Compiling FoundationExtensionsMacros Exports.swift
[802/803] Emitting module FoundationExtensionsMacros
[803/803] Compiling FoundationExtensionsMacros AssociatedObject.swift
[804/809] Compiling CocoaExtensionsMacros Macros.swift
[805/809] Emitting module CocoaExtensionsMacros
[806/809] Compiling CocoaExtensionsMacros Exports.swift
[807/809] Compiling CocoaExtensionsMacros Macros.swift
[808/809] Compiling CocoaExtensionsMacros Exports.swift
[809/809] Emitting module CocoaExtensionsMacros
Build complete! (63.61s)
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/capturecontext/swift-declarative-configuration.git
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/capturecontext/cocoa-aliases.git
Fetching https://github.com/capturecontext/swift-foundation-extensions.git
Fetching https://github.com/pointfreeco/swift-identified-collections.git
[1/984] Fetching swift-macro-toolkit
[70/1959] Fetching swift-macro-toolkit, swift-declarative-configuration
[236/2233] Fetching swift-macro-toolkit, swift-declarative-configuration, cocoa-aliases
[500/3176] Fetching swift-macro-toolkit, swift-declarative-configuration, cocoa-aliases, swift-macro-testing
[670/3709] Fetching swift-macro-toolkit, swift-declarative-configuration, cocoa-aliases, swift-macro-testing, swift-foundation-extensions
[1996/5251] Fetching swift-macro-toolkit, swift-declarative-configuration, cocoa-aliases, swift-macro-testing, swift-foundation-extensions, swift-identified-collections
Fetched https://github.com/capturecontext/swift-declarative-configuration.git from cache (0.85s)
[2567/4276] Fetching swift-macro-toolkit, cocoa-aliases, swift-macro-testing, swift-foundation-extensions, swift-identified-collections
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (1.29s)
Fetched https://github.com/capturecontext/swift-foundation-extensions.git from cache (1.29s)
Fetched https://github.com/stackotter/swift-macro-toolkit.git from cache (1.29s)
Fetched https://github.com/pointfreeco/swift-identified-collections.git from cache (1.29s)
Fetched https://github.com/capturecontext/cocoa-aliases.git from cache (1.29s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.2.2 (1.77s)
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing from cache
[1/74168] Fetching swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (1.88s)
Fetched https://github.com/apple/swift-syntax.git from cache (3.38s)
Computing version for https://github.com/capturecontext/swift-foundation-extensions.git
Computed https://github.com/capturecontext/swift-foundation-extensions.git at 0.5.0 (3.87s)
Fetching https://github.com/pointfreeco/swift-custom-dump from cache
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (1.00s)
Computing version for https://github.com/capturecontext/swift-declarative-configuration.git
Computed https://github.com/capturecontext/swift-declarative-configuration.git at 0.3.3 (4.23s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.3.1 (0.46s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.67s)
Computing version for https://github.com/capturecontext/cocoa-aliases.git
Computed https://github.com/capturecontext/cocoa-aliases.git at 2.1.0 (0.46s)
Computing version for https://github.com/pointfreeco/swift-identified-collections.git
Computed https://github.com/pointfreeco/swift-identified-collections.git at 1.1.1 (0.51s)
Fetching https://github.com/apple/swift-collections from cache
Fetched https://github.com/apple/swift-collections from cache (1.53s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.4.1 (2.02s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay from cache
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.66s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.3.0 (1.26s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.47s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.9 (0.47s)
Creating working copy for https://github.com/pointfreeco/swift-identified-collections.git
Working copy of https://github.com/pointfreeco/swift-identified-collections.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.9
Creating working copy for https://github.com/stackotter/swift-macro-toolkit.git
Working copy of https://github.com/stackotter/swift-macro-toolkit.git resolved at 0.3.1
Creating working copy for https://github.com/capturecontext/cocoa-aliases.git
Working copy of https://github.com/capturecontext/cocoa-aliases.git resolved at 2.1.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.4.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.2.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
Creating working copy for https://github.com/capturecontext/swift-foundation-extensions.git
Working copy of https://github.com/capturecontext/swift-foundation-extensions.git resolved at 0.5.0
Creating working copy for https://github.com/capturecontext/swift-declarative-configuration.git
Working copy of https://github.com/capturecontext/swift-declarative-configuration.git resolved at 0.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
warning: 'swift-snapshot-testing': 'swift-snapshot-testing' dependency on 'https://github.com/swiftlang/swift-syntax' conflicts with dependency on 'https://github.com/apple/swift-syntax.git' which has the same identity 'swift-syntax'. this will be escalated to an error in future versions of SwiftPM.
Build complete.
{
"dependencies" : [
{
"identity" : "cocoa-aliases",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.5",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/cocoa-aliases.git"
},
{
"identity" : "swift-declarative-configuration",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.3",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-declarative-configuration.git"
},
{
"identity" : "swift-foundation-extensions",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "0.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/capturecontext/swift-foundation-extensions.git"
},
{
"identity" : "swift-identified-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-identified-collections.git"
},
{
"identity" : "swift-macro-toolkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/stackotter/swift-macro-toolkit.git"
},
{
"identity" : "swift-macro-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "0.2.2",
"upper_bound" : "0.3.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-macro-testing.git"
}
],
"manifest_display_name" : "swift-cocoa-extensions",
"name" : "swift-cocoa-extensions",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "CocoaExtensions",
"targets" : [
"CocoaExtensions"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CocoaExtensionsMacros",
"targets" : [
"CocoaExtensionsMacros"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CocoaExtensionsMacrosPlugin",
"targets" : [
"CocoaExtensionsMacrosPlugin"
],
"type" : {
"macro" : null
}
}
],
"targets" : [
{
"c99name" : "CocoaExtensionsTests",
"module_type" : "SwiftTarget",
"name" : "CocoaExtensionsTests",
"path" : "Tests/CocoaExtensionsTests",
"sources" : [
"CoreGraphicsTests.swift",
"CustomViewMacroFallbackTests.swift",
"CustomWindowMacroFallbackTests.swift"
],
"target_dependencies" : [
"CocoaExtensions"
],
"type" : "test"
},
{
"c99name" : "CocoaExtensionsMacrosTests",
"module_type" : "SwiftTarget",
"name" : "CocoaExtensionsMacrosTests",
"path" : "Tests/CocoaExtensionsMacrosTests",
"sources" : [
"CustomViewTests.swift",
"CustomWindowTests.swift"
],
"target_dependencies" : [
"CocoaExtensionsMacros"
],
"type" : "test"
},
{
"c99name" : "CocoaExtensionsMacrosPluginTests",
"module_type" : "SwiftTarget",
"name" : "CocoaExtensionsMacrosPluginTests",
"path" : "Tests/CocoaExtensionsMacrosPluginTests",
"product_dependencies" : [
"MacroTesting"
],
"sources" : [
"CustomViewTests.swift",
"CustomWindowTests.swift"
],
"target_dependencies" : [
"CocoaExtensionsMacrosPlugin"
],
"type" : "test"
},
{
"c99name" : "CocoaExtensionsMacrosPlugin",
"module_type" : "SwiftTarget",
"name" : "CocoaExtensionsMacrosPlugin",
"path" : "Sources/CocoaExtensionsMacrosPlugin",
"product_dependencies" : [
"MacroToolkit"
],
"product_memberships" : [
"CocoaExtensionsMacros",
"CocoaExtensionsMacrosPlugin"
],
"sources" : [
"CustomViewMacro/CustomViewMacro.swift",
"CustomWindowMacro/CustomWindowMacro.swift",
"Helpers/Diagnostics+.swift",
"Helpers/Operators.swift",
"Internal/CustomPropertyMacro.swift",
"Internal/Extensions/Type+.swift",
"Plugin.swift"
],
"type" : "macro"
},
{
"c99name" : "CocoaExtensionsMacros",
"module_type" : "SwiftTarget",
"name" : "CocoaExtensionsMacros",
"path" : "Sources/CocoaExtensionsMacros",
"product_dependencies" : [
"FoundationExtensionsMacros"
],
"product_memberships" : [
"CocoaExtensionsMacros"
],
"sources" : [
"Exports.swift",
"Macros.swift"
],
"target_dependencies" : [
"CocoaExtensions",
"CocoaExtensionsMacrosPlugin"
],
"type" : "library"
},
{
"c99name" : "CocoaExtensions",
"module_type" : "SwiftTarget",
"name" : "CocoaExtensions",
"path" : "Sources/CocoaExtensions",
"product_dependencies" : [
"CocoaAliases",
"DeclarativeConfiguration",
"FoundationExtensions",
"IdentifiedCollections"
],
"product_memberships" : [
"CocoaExtensions",
"CocoaExtensionsMacros"
],
"sources" : [
"Components/CollectionView/CollectionView.swift",
"Components/CollectionView/CollectionViewCell.swift",
"Components/CollectionView/CollectionViewDataSource.swift",
"Components/CollectionView/CollectionViewReusableView.swift",
"Components/NSMenu/MenuItemsBuilder.swift",
"Components/NSMenu/NSMenu+.swift",
"Components/NSMenu/NSMenuItem+.swift",
"Components/Toolbar/CustomToolbar.swift",
"Components/Toolbar/ToolbarItem.swift",
"Custom/Controllers/CusomCocoaViewController.swift",
"Custom/Controllers/CustomCocoaWindowController.swift",
"Custom/Controllers/CustomHostingController.swift",
"Custom/Controllers/CustomNavigationController.swift",
"Custom/Controllers/CustomTabBarController.swift",
"Custom/PrefetchingDataSource.swift",
"Custom/Protocols/CustomCocoaViewControllerProtocol.swift",
"Custom/Protocols/CustomCocoaViewProtocol.swift",
"Custom/Protocols/CustomCocoaWindowControllerProtocol.swift",
"Custom/Protocols/CustomCocoaWindowProtocol.swift",
"Custom/Protocols/CustomNSObjectProtocol.swift",
"Custom/Protocols/NavigationControllerDynamicOverridable.swift",
"Custom/Views/CustomCocoaView.swift",
"Custom/Views/CustomCocoaWindow.swift",
"Custom/Views/CustomCollectionView.swift",
"Custom/Views/CustomCollectionViewCell.swift",
"Custom/Views/CustomCollectionViewReusableView.swift",
"Custom/Views/CustomTableView.swift",
"Custom/Views/CustomTableViewCell.swift",
"Exports.swift",
"Extensions/CocoaApplication+.swift",
"Extensions/CocoaReuse.swift",
"Extensions/CompositionalLayout.swift",
"Extensions/CoreGraphics/CGPoint+.swift",
"Extensions/CoreGraphics/CGSize+.swift",
"External/Responder++.swift",
"PropertyWrappers/CustomViewMacroFallback.swift",
"PropertyWrappers/CustomWindowMacroFallback.swift",
"SwiftUI/CocoaComponent.swift",
"SwiftUI/HostingView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.