Build Information
Successful build of FloatingFilter with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 12
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/FloatingFilter.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CleanCocoa/FloatingFilter
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 853901e make ItemFilter injectable
Cloned https://github.com/CleanCocoa/FloatingFilter.git
Revision (git rev-parse @):
853901ef2510b79e4e6c0e287c621f4e02a729d4
SUCCESS checkout https://github.com/CleanCocoa/FloatingFilter.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/CleanCocoa/FloatingFilter.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/5] Write sources
[1/5] Copying FilterViewController.xib
[1/5] Copying ItemsViewController.xib
[3/5] Copying Assets.xcassets
[4/5] Write swift-version-6F35C1178C84523A.txt
[6/24] Compiling FloatingFilter NSView+addConstraintsToFillSuperview.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/WindowHoldingService.swift:18:57: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
16 | didSet {
17 | guard let payload = payload else { return }
18 | guard let window = payload.windowController.window else {
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
19 | preconditionFailure("Window controller does not have a window to manage")
20 | }
AppKit.NSWindowController:23:25: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | @MainActor open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/WindowHoldingService.swift:10:66: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
8 | var payload: Payload? {
9 | willSet {
10 | guard let existingWindow = payload?.windowController.window else { return }
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
11 | NotificationCenter.default.removeObserver(
12 | self, name: NSWindow.willCloseNotification,
AppKit.NSWindowController:23:25: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | @MainActor open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
[7/24] Compiling FloatingFilter WindowHoldingService.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/WindowHoldingService.swift:18:57: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
16 | didSet {
17 | guard let payload = payload else { return }
18 | guard let window = payload.windowController.window else {
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
19 | preconditionFailure("Window controller does not have a window to manage")
20 | }
AppKit.NSWindowController:23:25: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | @MainActor open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/WindowHoldingService.swift:10:66: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
8 | var payload: Payload? {
9 | willSet {
10 | guard let existingWindow = payload?.windowController.window else { return }
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
11 | NotificationCenter.default.removeObserver(
12 | self, name: NSWindow.willCloseNotification,
AppKit.NSWindowController:23:25: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | @MainActor open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
[8/24] Compiling FloatingFilter NSTableView+ArrowKeyableTextFieldDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:23:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldDidCommit' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | import Cocoa
4 |
5 | extension NSTableView: ArrowKeyableTextFieldDelegate {
| `- note: add '@preconcurrency' to the 'ArrowKeyableTextFieldDelegate' conformance to defer isolation checking to run time
6 | private var minSelectedRowIndex: Int {
7 | return selectedRowIndexes.min() ?? 0
:
21 | }
22 |
23 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldDidCommit' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldDidCommit' to make this instance method not isolated to the actor
24 | self.sendDoubleAction()
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:6:10: note: mark the protocol requirement 'arrowKeyableTextFieldDidCommit' 'async' to allow actor-isolated conformances
4 |
5 | @objc protocol ArrowKeyableTextFieldDelegate: AnyObject {
6 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldDidCommit' 'async' to allow actor-isolated conformances
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:27:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
25 | }
26 |
27 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectFirst' to make this instance method not isolated to the actor
28 | selectRowIndex(0)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:8:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectFirst' 'async' to allow actor-isolated conformances
6 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField)
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectFirst' 'async' to allow actor-isolated conformances
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
10 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:31:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | }
30 |
31 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectLast' to make this instance method not isolated to the actor
32 | selectRowIndex(lastRowIndex)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:9:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectLast' 'async' to allow actor-isolated conformances
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectLast' 'async' to allow actor-isolated conformances
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:35:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
33 | }
34 |
35 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectPrevious' to make this instance method not isolated to the actor
36 | selectRowIndex(max(0, minSelectedRowIndex - 1))
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:11:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectPrevious' 'async' to allow actor-isolated conformances
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectPrevious' 'async' to allow actor-isolated conformances
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:39:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
37 | }
38 |
39 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectNext' to make this instance method not isolated to the actor
40 | selectRowIndex(min(lastRowIndex, maxSelectedRowIndex + 1))
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:12:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectNext' 'async' to allow actor-isolated conformances
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectNext' 'async' to allow actor-isolated conformances
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:43:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 | }
42 |
43 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToFirst' to make this instance method not isolated to the actor
44 | selectRowIndexes([0], byExtendingSelection: true)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:14:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToFirst' 'async' to allow actor-isolated conformances
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToFirst' 'async' to allow actor-isolated conformances
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:47:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
45 | }
46 |
47 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToLast' to make this instance method not isolated to the actor
48 | selectRowIndexes([lastRowIndex], byExtendingSelection: true)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:15:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToLast' 'async' to allow actor-isolated conformances
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToLast' 'async' to allow actor-isolated conformances
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:51:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
49 | }
50 |
51 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToPrevious' to make this instance method not isolated to the actor
52 | selectRowIndex(max(0, minSelectedRowIndex - 1), byExtendingSelection: true)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:17:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToPrevious' 'async' to allow actor-isolated conformances
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToPrevious' 'async' to allow actor-isolated conformances
18 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField)
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:55:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
53 | }
54 |
55 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToNext' to make this instance method not isolated to the actor
56 | selectRowIndex(min(lastRowIndex, maxSelectedRowIndex + 1), byExtendingSelection: true)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:18:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToNext' 'async' to allow actor-isolated conformances
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
18 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToNext' 'async' to allow actor-isolated conformances
19 | }
20 |
[9/24] Compiling FloatingFilter NSTableView+sendDoubleAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:23:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldDidCommit' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | import Cocoa
4 |
5 | extension NSTableView: ArrowKeyableTextFieldDelegate {
| `- note: add '@preconcurrency' to the 'ArrowKeyableTextFieldDelegate' conformance to defer isolation checking to run time
6 | private var minSelectedRowIndex: Int {
7 | return selectedRowIndexes.min() ?? 0
:
21 | }
22 |
23 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldDidCommit' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldDidCommit' to make this instance method not isolated to the actor
24 | self.sendDoubleAction()
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:6:10: note: mark the protocol requirement 'arrowKeyableTextFieldDidCommit' 'async' to allow actor-isolated conformances
4 |
5 | @objc protocol ArrowKeyableTextFieldDelegate: AnyObject {
6 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldDidCommit' 'async' to allow actor-isolated conformances
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:27:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
25 | }
26 |
27 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectFirst' to make this instance method not isolated to the actor
28 | selectRowIndex(0)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:8:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectFirst' 'async' to allow actor-isolated conformances
6 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField)
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectFirst' 'async' to allow actor-isolated conformances
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
10 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:31:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | }
30 |
31 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectLast' to make this instance method not isolated to the actor
32 | selectRowIndex(lastRowIndex)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:9:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectLast' 'async' to allow actor-isolated conformances
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectLast' 'async' to allow actor-isolated conformances
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:35:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
33 | }
34 |
35 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectPrevious' to make this instance method not isolated to the actor
36 | selectRowIndex(max(0, minSelectedRowIndex - 1))
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:11:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectPrevious' 'async' to allow actor-isolated conformances
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectPrevious' 'async' to allow actor-isolated conformances
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:39:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
37 | }
38 |
39 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectNext' to make this instance method not isolated to the actor
40 | selectRowIndex(min(lastRowIndex, maxSelectedRowIndex + 1))
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:12:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectNext' 'async' to allow actor-isolated conformances
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectNext' 'async' to allow actor-isolated conformances
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:43:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 | }
42 |
43 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToFirst' to make this instance method not isolated to the actor
44 | selectRowIndexes([0], byExtendingSelection: true)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:14:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToFirst' 'async' to allow actor-isolated conformances
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToFirst' 'async' to allow actor-isolated conformances
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:47:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
45 | }
46 |
47 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToLast' to make this instance method not isolated to the actor
48 | selectRowIndexes([lastRowIndex], byExtendingSelection: true)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:15:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToLast' 'async' to allow actor-isolated conformances
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToLast' 'async' to allow actor-isolated conformances
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:51:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
49 | }
50 |
51 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToPrevious' to make this instance method not isolated to the actor
52 | selectRowIndex(max(0, minSelectedRowIndex - 1), byExtendingSelection: true)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:17:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToPrevious' 'async' to allow actor-isolated conformances
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToPrevious' 'async' to allow actor-isolated conformances
18 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField)
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:55:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
53 | }
54 |
55 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToNext' to make this instance method not isolated to the actor
56 | selectRowIndex(min(lastRowIndex, maxSelectedRowIndex + 1), byExtendingSelection: true)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:18:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToNext' 'async' to allow actor-isolated conformances
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
18 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToNext' 'async' to allow actor-isolated conformances
19 | }
20 |
[10/25] Compiling FloatingFilter resource_bundle_accessor.swift
[11/25] Compiling FloatingFilter FilterWindowController.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:125:10: warning: main actor-isolated instance method 'showItems' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
122 | }
123 |
124 | extension FilterWindowController: FilteredItemView {
| `- note: add '@preconcurrency' to the 'FilteredItemView' conformance to defer isolation checking to run time
125 | func showItems(_ items: [Item]) {
| |- warning: main actor-isolated instance method 'showItems' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showItems' to make this instance method not isolated to the actor
126 | loadWindowIfNeeded()
127 | itemsViewController.showItems(items)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FilterInteractor.swift:4:10: note: mark the protocol requirement 'showItems' 'async' to allow actor-isolated conformances
2 |
3 | protocol FilteredItemView {
4 | func showItems(_ items: [Item])
| `- note: mark the protocol requirement 'showItems' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:74:12: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
72 |
73 | // Auto-close when deallocating the controller
74 | if window != nil {
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
75 | self.close()
76 | }
AppKit.NSWindowController:23:25: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | @MainActor open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:75:18: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
73 | // Auto-close when deallocating the controller
74 | if window != nil {
75 | self.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | }
77 | }
AppKit.NSWindowController:30:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
28 | open func windowDidLoad()
29 | open func loadWindow()
30 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
31 | @IBAction open func showWindow(_ sender: Any?)
32 | @MainActor public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:99:20: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
97 | guard closeWhenLosingFocus else { return }
98 | guard let window = notification.object as? NSWindow else { return }
99 | window.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 | }
101 | }
AppKit.NSWindow:93:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
91 | weak open var firstResponder: NSResponder? { get }
92 | open var resizeFlags: NSEvent.ModifierFlags { get }
93 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
94 | open var isReleasedWhenClosed: Bool { get set }
95 | @available(swift, obsoleted: 3, renamed: "isReleasedWhenClosed")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:69:9: warning: cannot access property 'windowDidLoseFocusObserver' with a non-sendable type 'Any?' from non-isolated deinit; this is an error in the Swift 6 language mode
67 |
68 | deinit {
69 | if let observer = windowDidLoseFocusObserver {
| `- warning: cannot access property 'windowDidLoseFocusObserver' with a non-sendable type 'Any?' from non-isolated deinit; this is an error in the Swift 6 language mode
70 | NotificationCenter.default.removeObserver(observer)
71 | }
[12/25] Compiling FloatingFilter NSStackView+convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:125:10: warning: main actor-isolated instance method 'showItems' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
122 | }
123 |
124 | extension FilterWindowController: FilteredItemView {
| `- note: add '@preconcurrency' to the 'FilteredItemView' conformance to defer isolation checking to run time
125 | func showItems(_ items: [Item]) {
| |- warning: main actor-isolated instance method 'showItems' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showItems' to make this instance method not isolated to the actor
126 | loadWindowIfNeeded()
127 | itemsViewController.showItems(items)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FilterInteractor.swift:4:10: note: mark the protocol requirement 'showItems' 'async' to allow actor-isolated conformances
2 |
3 | protocol FilteredItemView {
4 | func showItems(_ items: [Item])
| `- note: mark the protocol requirement 'showItems' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:74:12: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
72 |
73 | // Auto-close when deallocating the controller
74 | if window != nil {
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
75 | self.close()
76 | }
AppKit.NSWindowController:23:25: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | @MainActor open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:75:18: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
73 | // Auto-close when deallocating the controller
74 | if window != nil {
75 | self.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | }
77 | }
AppKit.NSWindowController:30:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
28 | open func windowDidLoad()
29 | open func loadWindow()
30 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
31 | @IBAction open func showWindow(_ sender: Any?)
32 | @MainActor public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:99:20: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
97 | guard closeWhenLosingFocus else { return }
98 | guard let window = notification.object as? NSWindow else { return }
99 | window.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 | }
101 | }
AppKit.NSWindow:93:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
91 | weak open var firstResponder: NSResponder? { get }
92 | open var resizeFlags: NSEvent.ModifierFlags { get }
93 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
94 | open var isReleasedWhenClosed: Bool { get set }
95 | @available(swift, obsoleted: 3, renamed: "isReleasedWhenClosed")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:69:9: warning: cannot access property 'windowDidLoseFocusObserver' with a non-sendable type 'Any?' from non-isolated deinit; this is an error in the Swift 6 language mode
67 |
68 | deinit {
69 | if let observer = windowDidLoseFocusObserver {
| `- warning: cannot access property 'windowDidLoseFocusObserver' with a non-sendable type 'Any?' from non-isolated deinit; this is an error in the Swift 6 language mode
70 | NotificationCenter.default.removeObserver(observer)
71 | }
[13/25] Compiling FloatingFilter ItemsViewController.swift
[14/25] Compiling FloatingFilter KeyEventForwardingTableView.swift
[15/25] Compiling FloatingFilter FuzzyMatching.swift
[16/25] Compiling FloatingFilter Item.swift
[17/25] Compiling FloatingFilter Bundle+current.swift
[18/25] Compiling FloatingFilter FilterInteractor.swift
[19/25] Compiling FloatingFilter Collection+indexed.swift
[20/25] Compiling FloatingFilter ItemCellView.swift
[21/25] Emitting module FloatingFilter
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:6:13: warning: var 'windowHoldingService' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Used to manage an optional, auto-released window controller
6 | private var windowHoldingService = WindowHoldingService()
| |- warning: var 'windowHoldingService' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowHoldingService' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowHoldingService' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public typealias SelectionCallback = (_ selectedItems: [Item]) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:23:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldDidCommit' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | import Cocoa
4 |
5 | extension NSTableView: ArrowKeyableTextFieldDelegate {
| `- note: add '@preconcurrency' to the 'ArrowKeyableTextFieldDelegate' conformance to defer isolation checking to run time
6 | private var minSelectedRowIndex: Int {
7 | return selectedRowIndexes.min() ?? 0
:
21 | }
22 |
23 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldDidCommit' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldDidCommit' to make this instance method not isolated to the actor
24 | self.sendDoubleAction()
25 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:6:10: note: mark the protocol requirement 'arrowKeyableTextFieldDidCommit' 'async' to allow actor-isolated conformances
4 |
5 | @objc protocol ArrowKeyableTextFieldDelegate: AnyObject {
6 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldDidCommit' 'async' to allow actor-isolated conformances
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:27:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
25 | }
26 |
27 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectFirst' to make this instance method not isolated to the actor
28 | selectRowIndex(0)
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:8:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectFirst' 'async' to allow actor-isolated conformances
6 | func arrowKeyableTextFieldDidCommit(_ textField: ArrowKeyableTextField)
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectFirst' 'async' to allow actor-isolated conformances
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
10 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:31:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | }
30 |
31 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectLast' to make this instance method not isolated to the actor
32 | selectRowIndex(lastRowIndex)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:9:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectLast' 'async' to allow actor-isolated conformances
7 |
8 | func arrowKeyableTextFieldSelectFirst(_ textField: ArrowKeyableTextField)
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectLast' 'async' to allow actor-isolated conformances
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:35:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
33 | }
34 |
35 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectPrevious' to make this instance method not isolated to the actor
36 | selectRowIndex(max(0, minSelectedRowIndex - 1))
37 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:11:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectPrevious' 'async' to allow actor-isolated conformances
9 | func arrowKeyableTextFieldSelectLast(_ textField: ArrowKeyableTextField)
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectPrevious' 'async' to allow actor-isolated conformances
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
13 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:39:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
37 | }
38 |
39 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldSelectNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldSelectNext' to make this instance method not isolated to the actor
40 | selectRowIndex(min(lastRowIndex, maxSelectedRowIndex + 1))
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:12:10: note: mark the protocol requirement 'arrowKeyableTextFieldSelectNext' 'async' to allow actor-isolated conformances
10 |
11 | func arrowKeyableTextFieldSelectPrevious(_ textField: ArrowKeyableTextField)
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldSelectNext' 'async' to allow actor-isolated conformances
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:43:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 | }
42 |
43 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToFirst' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToFirst' to make this instance method not isolated to the actor
44 | selectRowIndexes([0], byExtendingSelection: true)
45 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:14:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToFirst' 'async' to allow actor-isolated conformances
12 | func arrowKeyableTextFieldSelectNext(_ textField: ArrowKeyableTextField)
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToFirst' 'async' to allow actor-isolated conformances
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:47:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
45 | }
46 |
47 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToLast' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToLast' to make this instance method not isolated to the actor
48 | selectRowIndexes([lastRowIndex], byExtendingSelection: true)
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:15:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToLast' 'async' to allow actor-isolated conformances
13 |
14 | func arrowKeyableTextFieldExpandSelectionToFirst(_ textField: ArrowKeyableTextField)
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToLast' 'async' to allow actor-isolated conformances
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:51:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
49 | }
50 |
51 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToPrevious' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToPrevious' to make this instance method not isolated to the actor
52 | selectRowIndex(max(0, minSelectedRowIndex - 1), byExtendingSelection: true)
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:17:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToPrevious' 'async' to allow actor-isolated conformances
15 | func arrowKeyableTextFieldExpandSelectionToLast(_ textField: ArrowKeyableTextField)
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToPrevious' 'async' to allow actor-isolated conformances
18 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField)
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Items/NSTableView+ArrowKeyableTextFieldDelegate.swift:55:10: warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
53 | }
54 |
55 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField) {
| |- warning: main actor-isolated instance method 'arrowKeyableTextFieldExpandSelectionToNext' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'arrowKeyableTextFieldExpandSelectionToNext' to make this instance method not isolated to the actor
56 | selectRowIndex(min(lastRowIndex, maxSelectedRowIndex + 1), byExtendingSelection: true)
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Filtering/ArrowKeyableTextField.swift:18:10: note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToNext' 'async' to allow actor-isolated conformances
16 |
17 | func arrowKeyableTextFieldExpandSelectionToPrevious(_ textField: ArrowKeyableTextField)
18 | func arrowKeyableTextFieldExpandSelectionToNext(_ textField: ArrowKeyableTextField)
| `- note: mark the protocol requirement 'arrowKeyableTextFieldExpandSelectionToNext' 'async' to allow actor-isolated conformances
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:125:10: warning: main actor-isolated instance method 'showItems' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
122 | }
123 |
124 | extension FilterWindowController: FilteredItemView {
| `- note: add '@preconcurrency' to the 'FilteredItemView' conformance to defer isolation checking to run time
125 | func showItems(_ items: [Item]) {
| |- warning: main actor-isolated instance method 'showItems' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'showItems' to make this instance method not isolated to the actor
126 | loadWindowIfNeeded()
127 | itemsViewController.showItems(items)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FilterInteractor.swift:4:10: note: mark the protocol requirement 'showItems' 'async' to allow actor-isolated conformances
2 |
3 | protocol FilteredItemView {
4 | func showItems(_ items: [Item])
| `- note: mark the protocol requirement 'showItems' 'async' to allow actor-isolated conformances
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/WindowHoldingService.swift:18:57: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
16 | didSet {
17 | guard let payload = payload else { return }
18 | guard let window = payload.windowController.window else {
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
19 | preconditionFailure("Window controller does not have a window to manage")
20 | }
AppKit.NSWindowController:23:25: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | @MainActor open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
[22/25] Compiling FloatingFilter ArrowKeyableTextField.swift
[23/25] Compiling FloatingFilter AutoGrowingTextField.swift
[24/25] Compiling FloatingFilter FilterViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:6:13: warning: var 'windowHoldingService' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Used to manage an optional, auto-released window controller
6 | private var windowHoldingService = WindowHoldingService()
| |- warning: var 'windowHoldingService' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowHoldingService' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowHoldingService' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public typealias SelectionCallback = (_ selectedItems: [Item]) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:49:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
47 | selection selectionCallback: @escaping SelectionCallback
48 | ) {
49 | let windowController = FilterWindowController()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | windowController.configure(
51 | filterPlaceholderText: filterPlaceholderText,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:16:5: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
14 | private var windowDidLoseFocusObserver: Any?
15 |
16 | init() {
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
17 | let window = KeyPanel()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:50:26: warning: call to main actor-isolated instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
48 | ) {
49 | let windowController = FilterWindowController()
50 | windowController.configure(
| `- warning: call to main actor-isolated instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | filterPlaceholderText: filterPlaceholderText,
52 | windowLevel: windowLevel,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:87:10: note: calls to instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' from outside of its actor context are implicitly asynchronous
85 | }
86 |
87 | func configure(filterPlaceholderText: String, windowLevel: NSWindow.Level, closeWhenLosingFocus: Bool) {
| `- note: calls to instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' from outside of its actor context are implicitly asynchronous
88 | loadWindowIfNeeded()
89 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:54:26: warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
52 | windowLevel: windowLevel,
53 | closeWhenLosingFocus: closeWhenLosingFocus)
54 | windowController.showWindow(nil)
| `- warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | if let window = windowController.window {
AppKit.NSWindowController:31:36: note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
29 | open func loadWindow()
30 | @MainActor open func close()
31 | @IBAction @MainActor open func showWindow(_ sender: Any?)
| `- note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
32 | @MainActor public convenience init()
33 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:56:42: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
54 | windowController.showWindow(nil)
55 |
56 | if let window = windowController.window {
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
57 | // Offset a bit above center
58 | window.center()
AppKit.NSWindowController:23:14: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:58:20: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
56 | if let window = windowController.window {
57 | // Offset a bit above center
58 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | var newOrigin = window.frame.origin
60 | newOrigin.y -= (window.frame.height - 30) / 2
AppKit.NSWindow:141:26: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
139 | open var hidesOnDeactivate: Bool { get set }
140 | open var canHide: Bool { get set }
141 | @MainActor open func center()
| `- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
142 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
143 | open func orderFront(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:59:36: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
57 | // Offset a bit above center
58 | window.center()
59 | var newOrigin = window.frame.origin
| `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
60 | newOrigin.y -= (window.frame.height - 30) / 2
61 | window.setFrameOrigin(newOrigin)
AppKit.NSWindow:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
75 | open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
76 | open var frame: NSRect { get }
| `- note: property declared here
77 | open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
78 | open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:60:36: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
58 | window.center()
59 | var newOrigin = window.frame.origin
60 | newOrigin.y -= (window.frame.height - 30) / 2
| `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
61 | window.setFrameOrigin(newOrigin)
62 |
AppKit.NSWindow:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
75 | open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
76 | open var frame: NSRect { get }
| `- note: property declared here
77 | open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
78 | open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:61:20: warning: call to main actor-isolated instance method 'setFrameOrigin' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
59 | var newOrigin = window.frame.origin
60 | newOrigin.y -= (window.frame.height - 30) / 2
61 | window.setFrameOrigin(newOrigin)
| `- warning: call to main actor-isolated instance method 'setFrameOrigin' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
62 |
63 | window.makeKeyAndOrderFront(nil)
AppKit.NSWindow:71:26: note: calls to instance method 'setFrameOrigin' from outside of its actor context are implicitly asynchronous
69 | open func setFrame(_ frameRect: NSRect, display flag: Bool)
70 | open func setContentSize(_ size: NSSize)
71 | @MainActor open func setFrameOrigin(_ point: NSPoint)
| `- note: calls to instance method 'setFrameOrigin' from outside of its actor context are implicitly asynchronous
72 | open func setFrameTopLeftPoint(_ point: NSPoint)
73 | open func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:63:20: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
61 | window.setFrameOrigin(newOrigin)
62 |
63 | window.makeKeyAndOrderFront(nil)
| `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSWindow:142:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
140 | open var canHide: Bool { get set }
141 | @MainActor open func center()
142 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
| `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
143 | open func orderFront(_ sender: Any?)
144 | open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:72:26: warning: main actor-isolated property 'filterChangeDelegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
70 | interactor.showItems(items)
71 |
72 | windowController.filterChangeDelegate = interactor
| `- warning: main actor-isolated property 'filterChangeDelegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
73 | windowController.commitSelection = { selectedItems in
74 | windowController.close()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:113:14: note: mutation of this property is only permitted within the actor
111 | }
112 |
113 | weak var filterChangeDelegate: FilterChangeDelegate? {
| `- note: mutation of this property is only permitted within the actor
114 | get {
115 | return filterViewController.filterChangeDelegate
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:73:26: warning: main actor-isolated property 'commitSelection' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
71 |
72 | windowController.filterChangeDelegate = interactor
73 | windowController.commitSelection = { selectedItems in
| `- warning: main actor-isolated property 'commitSelection' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
74 | windowController.close()
75 | selectionCallback(selectedItems)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:103:9: note: mutation of this property is only permitted within the actor
101 | }
102 |
103 | var commitSelection: ((_ selectedItems: [Item]) -> Void)? {
| `- note: mutation of this property is only permitted within the actor
104 | get {
105 | return itemsViewController.commitSelection
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:74:30: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 | windowController.filterChangeDelegate = interactor
73 | windowController.commitSelection = { selectedItems in
74 | windowController.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | selectionCallback(selectedItems)
76 | }
AppKit.NSWindowController:30:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
28 | open func windowDidLoad()
29 | open func loadWindow()
30 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
31 | @IBAction @MainActor open func showWindow(_ sender: Any?)
32 | @MainActor public convenience init()
[25/25] Compiling FloatingFilter FloatingFilterModule.swift
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:6:13: warning: var 'windowHoldingService' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
4 |
5 | /// Used to manage an optional, auto-released window controller
6 | private var windowHoldingService = WindowHoldingService()
| |- warning: var 'windowHoldingService' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'windowHoldingService' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'windowHoldingService' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | public typealias SelectionCallback = (_ selectedItems: [Item]) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:49:32: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
47 | selection selectionCallback: @escaping SelectionCallback
48 | ) {
49 | let windowController = FilterWindowController()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | windowController.configure(
51 | filterPlaceholderText: filterPlaceholderText,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:16:5: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
14 | private var windowDidLoseFocusObserver: Any?
15 |
16 | init() {
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
17 | let window = KeyPanel()
18 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:50:26: warning: call to main actor-isolated instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
48 | ) {
49 | let windowController = FilterWindowController()
50 | windowController.configure(
| `- warning: call to main actor-isolated instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | filterPlaceholderText: filterPlaceholderText,
52 | windowLevel: windowLevel,
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:87:10: note: calls to instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' from outside of its actor context are implicitly asynchronous
85 | }
86 |
87 | func configure(filterPlaceholderText: String, windowLevel: NSWindow.Level, closeWhenLosingFocus: Bool) {
| `- note: calls to instance method 'configure(filterPlaceholderText:windowLevel:closeWhenLosingFocus:)' from outside of its actor context are implicitly asynchronous
88 | loadWindowIfNeeded()
89 |
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:54:26: warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
52 | windowLevel: windowLevel,
53 | closeWhenLosingFocus: closeWhenLosingFocus)
54 | windowController.showWindow(nil)
| `- warning: call to main actor-isolated instance method 'showWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | if let window = windowController.window {
AppKit.NSWindowController:31:36: note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
29 | open func loadWindow()
30 | @MainActor open func close()
31 | @IBAction @MainActor open func showWindow(_ sender: Any?)
| `- note: calls to instance method 'showWindow' from outside of its actor context are implicitly asynchronous
32 | @MainActor public convenience init()
33 | @available(macOS 10.10, *)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:56:42: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
54 | windowController.showWindow(nil)
55 |
56 | if let window = windowController.window {
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
57 | // Offset a bit above center
58 | window.center()
AppKit.NSWindowController:23:14: note: property declared here
21 | @available(macOS 10.10, *)
22 | open var contentViewController: NSViewController? { get set }
23 | open var window: NSWindow? { get set }
| `- note: property declared here
24 | open var isWindowLoaded: Bool { get }
25 | @available(swift, obsoleted: 3, renamed: "isWindowLoaded")
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:58:20: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
56 | if let window = windowController.window {
57 | // Offset a bit above center
58 | window.center()
| `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
59 | var newOrigin = window.frame.origin
60 | newOrigin.y -= (window.frame.height - 30) / 2
AppKit.NSWindow:141:26: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
139 | open var hidesOnDeactivate: Bool { get set }
140 | open var canHide: Bool { get set }
141 | @MainActor open func center()
| `- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
142 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
143 | open func orderFront(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:59:36: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
57 | // Offset a bit above center
58 | window.center()
59 | var newOrigin = window.frame.origin
| `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
60 | newOrigin.y -= (window.frame.height - 30) / 2
61 | window.setFrameOrigin(newOrigin)
AppKit.NSWindow:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
75 | open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
76 | open var frame: NSRect { get }
| `- note: property declared here
77 | open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
78 | open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:60:36: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
58 | window.center()
59 | var newOrigin = window.frame.origin
60 | newOrigin.y -= (window.frame.height - 30) / 2
| `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
61 | window.setFrameOrigin(newOrigin)
62 |
AppKit.NSWindow:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
75 | open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
76 | open var frame: NSRect { get }
| `- note: property declared here
77 | open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
78 | open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:61:20: warning: call to main actor-isolated instance method 'setFrameOrigin' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
59 | var newOrigin = window.frame.origin
60 | newOrigin.y -= (window.frame.height - 30) / 2
61 | window.setFrameOrigin(newOrigin)
| `- warning: call to main actor-isolated instance method 'setFrameOrigin' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
62 |
63 | window.makeKeyAndOrderFront(nil)
AppKit.NSWindow:71:26: note: calls to instance method 'setFrameOrigin' from outside of its actor context are implicitly asynchronous
69 | open func setFrame(_ frameRect: NSRect, display flag: Bool)
70 | open func setContentSize(_ size: NSSize)
71 | @MainActor open func setFrameOrigin(_ point: NSPoint)
| `- note: calls to instance method 'setFrameOrigin' from outside of its actor context are implicitly asynchronous
72 | open func setFrameTopLeftPoint(_ point: NSPoint)
73 | open func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:63:20: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
61 | window.setFrameOrigin(newOrigin)
62 |
63 | window.makeKeyAndOrderFront(nil)
| `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
64 | }
65 |
AppKit.NSWindow:142:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
140 | open var canHide: Bool { get set }
141 | @MainActor open func center()
142 | @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
| `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
143 | open func orderFront(_ sender: Any?)
144 | open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:72:26: warning: main actor-isolated property 'filterChangeDelegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
70 | interactor.showItems(items)
71 |
72 | windowController.filterChangeDelegate = interactor
| `- warning: main actor-isolated property 'filterChangeDelegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
73 | windowController.commitSelection = { selectedItems in
74 | windowController.close()
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:113:14: note: mutation of this property is only permitted within the actor
111 | }
112 |
113 | weak var filterChangeDelegate: FilterChangeDelegate? {
| `- note: mutation of this property is only permitted within the actor
114 | get {
115 | return filterViewController.filterChangeDelegate
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:73:26: warning: main actor-isolated property 'commitSelection' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
39 | /// matching algorithm.
40 | /// - selectionCallback: Output port for confirmed selections in the filter window.
41 | public static func showFilterWindow(
| `- note: add '@MainActor' to make static method 'showFilterWindow(items:filterPlaceholderText:windowLevel:closeWhenLosingFocus:filter:selection:)' part of global actor 'MainActor'
42 | items: [Item],
43 | filterPlaceholderText: String = NSLocalizedString("Filter Items", comment: "Placeholder for the FloatingFilter text field"),
:
71 |
72 | windowController.filterChangeDelegate = interactor
73 | windowController.commitSelection = { selectedItems in
| `- warning: main actor-isolated property 'commitSelection' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
74 | windowController.close()
75 | selectionCallback(selectedItems)
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Window/FilterWindowController.swift:103:9: note: mutation of this property is only permitted within the actor
101 | }
102 |
103 | var commitSelection: ((_ selectedItems: [Item]) -> Void)? {
| `- note: mutation of this property is only permitted within the actor
104 | get {
105 | return itemsViewController.commitSelection
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/FloatingFilterModule.swift:74:30: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
72 | windowController.filterChangeDelegate = interactor
73 | windowController.commitSelection = { selectedItems in
74 | windowController.close()
| `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | selectionCallback(selectedItems)
76 | }
AppKit.NSWindowController:30:26: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
28 | open func windowDidLoad()
29 | open func loadWindow()
30 | @MainActor open func close()
| `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
31 | @IBAction @MainActor open func showWindow(_ sender: Any?)
32 | @MainActor public convenience init()
Build complete! (26.28s)
warning: 'spi-builder-workspace': Source files for target FloatingFilterTests should be located under 'Tests/FloatingFilterTests', or a custom sources path can be set with the 'path' property in Package.swift
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Resources/Info.plist
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FloatingFilter",
"name" : "FloatingFilter",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "FloatingFilter",
"targets" : [
"FloatingFilter"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FloatingFilter",
"module_type" : "SwiftTarget",
"name" : "FloatingFilter",
"path" : "Sources/FloatingFilter",
"product_memberships" : [
"FloatingFilter"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Resources/Assets.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Resources/ItemsViewController.xib",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/FloatingFilter/Resources/FilterViewController.xib",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Bundle+current.swift",
"FilterInteractor.swift",
"Filtering/ArrowKeyableTextField.swift",
"Filtering/AutoGrowingTextField.swift",
"Filtering/FilterViewController.swift",
"FloatingFilterModule.swift",
"FuzzyMatching.swift",
"Item.swift",
"Items/Collection+indexed.swift",
"Items/ItemCellView.swift",
"Items/ItemsViewController.swift",
"Items/KeyEventForwardingTableView.swift",
"Items/NSTableView+ArrowKeyableTextFieldDelegate.swift",
"Items/NSTableView+sendDoubleAction.swift",
"Window/FilterWindowController.swift",
"Window/NSStackView+convenience.swift",
"Window/NSView+addConstraintsToFillSuperview.swift",
"Window/WindowHoldingService.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
warning: 'spi-builder-workspace': Source files for target FloatingFilterTests should be located under 'Tests/FloatingFilterTests', or a custom sources path can be set with the 'path' property in Package.swift
Done.