Build Information
Successful build of DSFInspectorPanes, reference master (a612f8
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 13:22:19 UTC.
Swift 6 data race errors: 19
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFInspectorPanes.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFInspectorPanes
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a612f82 Drop support for 10.11, 10.12
Cloned https://github.com/dagronf/DSFInspectorPanes.git
Revision (git rev-parse @):
a612f82220ba8fb816246d9eded0b02b27e19632
SUCCESS checkout https://github.com/dagronf/DSFInspectorPanes.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "dsfinspectorpanes",
"name": "DSFInspectorPanes",
"url": "https://github.com/dagronf/DSFInspectorPanes.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFInspectorPanes",
"dependencies": [
]
}
]
}
Fetching https://github.com/dagronf/DSFInspectorPanes.git
[15/727] Fetching dsfinspectorpanes
Fetched https://github.com/dagronf/DSFInspectorPanes.git from cache (0.91s)
Creating working copy for https://github.com/dagronf/DSFInspectorPanes.git
Working copy of https://github.com/dagronf/DSFInspectorPanes.git resolved at master (a612f82)
warning: '.resolve-product-dependencies': dependency 'dsfinspectorpanes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dagronf/DSFInspectorPanes.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version--7754E27361AE5C74.txt
[3/16] Compiling DSFInspectorPanes DSFInspectorPanesView+touchbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:31:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
29 | // MARK: - Touch bar handling
30 |
31 | @available (macOS 10.12.2, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
32 | extension DSFInspectorPanesView: NSTouchBarDelegate {
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:74:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
72 | }
73 |
74 | @available (macOS 10.12.2, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
75 | extension DSFInspectorPanesView {
76 | func updateTouchbarTitleForVisibility(for pane: DSFInspectorPanesView.Pane, at index: Int? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:95:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
93 | }
94 |
95 | @available (macOS 10.12.2, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
96 | class DSFInspectorPanesPopoverTouchBar: NSTouchBar, NSTouchBarDelegate {
97 |
[4/16] Compiling DSFInspectorPanes DraggingStackView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:196:28: warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
194 | super.init()
195 |
196 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
| `- warning: call to main actor-isolated instance method 'bitmapImageRepForCachingDisplay(in:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
197 | view.cacheDisplay(in: view.bounds, to: bitmap)
198 |
AppKit.NSView:212:26: note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
210 | @available(swift, obsoleted: 3, renamed: "displayIgnoringOpacity(_:in:)")
211 | open func displayRectIgnoringOpacity(_ rect: NSRect, inContext context: NSGraphicsContext)
212 | @MainActor open func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep?
| `- note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
213 | @available(swift, obsoleted: 3, renamed: "bitmapImageRepForCachingDisplay(in:)")
214 | open func bitmapImageRepForCachingDisplayInRect(_ rect: NSRect) -> NSBitmapImageRep?
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:196:69: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
194 | super.init()
195 |
196 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
197 | view.cacheDisplay(in: view.bounds, to: bitmap)
198 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:197:9: warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
195 |
196 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
197 | view.cacheDisplay(in: view.bounds, to: bitmap)
| `- warning: call to main actor-isolated instance method 'cacheDisplay(in:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
198 |
199 | frame = view.frame
AppKit.NSView:215:26: note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
213 | @available(swift, obsoleted: 3, renamed: "bitmapImageRepForCachingDisplay(in:)")
214 | open func bitmapImageRepForCachingDisplayInRect(_ rect: NSRect) -> NSBitmapImageRep?
215 | @MainActor open func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep)
| `- note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
216 | @available(swift, obsoleted: 3, renamed: "cacheDisplay(in:to:)")
217 | open func cacheDisplayInRect(_ rect: NSRect, toBitmapImageRep bitmapImageRep: NSBitmapImageRep)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:197:31: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
195 |
196 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
197 | view.cacheDisplay(in: view.bounds, to: bitmap)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
198 |
199 | frame = view.frame
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:199:17: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
197 | view.cacheDisplay(in: view.bounds, to: bitmap)
198 |
199 | frame = view.frame
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
200 | contents = bitmap.cgImage
201 | }
AppKit.NSView:60:25: note: property declared here
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- note: property declared here
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:197:9: warning: sending 'bitmap' risks causing data races; this is an error in the Swift 6 language mode
195 |
196 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
197 | view.cacheDisplay(in: view.bounds, to: bitmap)
| |- warning: sending 'bitmap' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'bitmap' to main actor-isolated instance method 'cacheDisplay(in:to:)' risks causing data races between main actor-isolated and local nonisolated uses
198 |
199 | frame = view.frame
200 | contents = bitmap.cgImage
| `- note: access can happen concurrently
201 | }
202 |
[5/16] Emitting module DSFInspectorPanes
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:31:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
29 | // MARK: - Touch bar handling
30 |
31 | @available (macOS 10.12.2, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
32 | extension DSFInspectorPanesView: NSTouchBarDelegate {
33 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:74:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
72 | }
73 |
74 | @available (macOS 10.12.2, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
75 | extension DSFInspectorPanesView {
76 | func updateTouchbarTitleForVisibility(for pane: DSFInspectorPanesView.Pane, at index: Int? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:95:2: warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
93 | }
94 |
95 | @available (macOS 10.12.2, *)
| `- warning: extraneous whitespace between attribute name and '('; this is an error in the Swift 6 language mode
96 | class DSFInspectorPanesPopoverTouchBar: NSTouchBar, NSTouchBarDelegate {
97 |
AppKit.NSView:357:25: warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
357 | @MainActor open var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
358 | @available(macOS 10.9, *)
359 | open var appearance: NSAppearance? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:588:39: note: add '@preconcurrency' to the 'DSFInspectorPane' conformance to defer isolation checking to run time
586 | // MARK: - Conformance to public protocol
587 |
588 | extension DSFInspectorPanesView.Pane: DSFInspectorPane {
| `- note: add '@preconcurrency' to the 'DSFInspectorPane' conformance to defer isolation checking to run time
589 | var inspector: NSView? {
590 | return self.inspectorView
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:44:12: note: 'identifier' declared here
42 | @objc public protocol DSFInspectorPane {
43 | /// A unique identifier for the inspector panel
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- note: 'identifier' declared here
45 | /// The inspector panes title
46 | @objc var title: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:142:16: warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
140 | }
141 |
142 | override var title: String {
| `- warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
143 | didSet {
144 | self.titleTextView?.stringValue = self.title
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:46:12: note: 'title' declared here
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
45 | /// The inspector panes title
46 | @objc var title: String { get set }
| `- note: 'title' declared here
47 | /// The actual inspector pane
48 | @objc var inspector: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:589:6: warning: main actor-isolated property 'inspector' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
587 |
588 | extension DSFInspectorPanesView.Pane: DSFInspectorPane {
589 | var inspector: NSView? {
| `- warning: main actor-isolated property 'inspector' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
590 | return self.inspectorView
591 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:48:12: note: 'inspector' declared here
46 | @objc var title: String { get set }
47 | /// The actual inspector pane
48 | @objc var inspector: NSView? { get }
| `- note: 'inspector' declared here
49 | /// An optional header view for the inspector pane
50 | @objc var header: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:593:6: warning: main actor-isolated property 'header' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
591 | }
592 |
593 | var header: NSView? {
| `- warning: main actor-isolated property 'header' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
594 | let headerContainer = self.headerAccessoryViewContainer
595 | if headerContainer.subviews.count == 1 {
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:50:12: note: 'header' declared here
48 | @objc var inspector: NSView? { get }
49 | /// An optional header view for the inspector pane
50 | @objc var header: NSView? { get }
| `- note: 'header' declared here
51 | /// When is the header view visible?
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:601:6: warning: main actor-isolated property 'headerVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
599 | }
600 |
601 | var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility {
| `- warning: main actor-isolated property 'headerVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
602 | get {
603 | return self.headerAccessoryVisibility
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:52:12: note: 'headerVisibility' declared here
50 | @objc var header: NSView? { get }
51 | /// When is the header view visible?
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
| `- note: 'headerVisibility' declared here
53 | /// Can the user expand and contract the pane?
54 | @objc var canExpand: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:92:7: warning: main actor-isolated property 'canExpand' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
90 |
91 | // Can the pane be contracted/expanded
92 | var canExpand: Bool {
| `- warning: main actor-isolated property 'canExpand' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
93 | return !(self.disclosureButton?.isHidden ?? true)
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:54:12: note: 'canExpand' declared here
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
53 | /// Can the user expand and contract the pane?
54 | @objc var canExpand: Bool { get }
| `- note: 'canExpand' declared here
55 | /// Is the panel expanded?
56 | @objc var isExpanded: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:608:6: warning: main actor-isolated property 'isExpanded' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
606 |
607 | /// Is the pane expanded?
608 | var isExpanded: Bool {
| `- warning: main actor-isolated property 'isExpanded' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | get { return _expanded }
610 | set { self.setExpanded(newValue, animated: self.animated) }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:56:12: note: 'isExpanded' declared here
54 | @objc var canExpand: Bool { get }
55 | /// Is the panel expanded?
56 | @objc var isExpanded: Bool { get set }
| `- note: 'isExpanded' declared here
57 |
58 | /// Change the visibility overriding the inspector's built-in animation settings
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:617:7: warning: main actor-isolated instance method 'setExpanded(_:animated:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
615 | }
616 |
617 | func setExpanded(_ state: Bool, animated: Bool) {
| |- warning: main actor-isolated instance method 'setExpanded(_:animated:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setExpanded(_:animated:)' to make this instance method not isolated to the actor
618 | if self._expanded != state {
619 | self._expanded = state
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:63:13: note: mark the protocol requirement 'setExpanded(_:animated:)' 'async' to allow actor-isolated conformances
61 | /// - expanded: true to expand, false to collapse
62 | /// - animated: should the change be animated?
63 | @objc func setExpanded(_ expanded: Bool, animated: Bool)
| `- note: mark the protocol requirement 'setExpanded(_:animated:)' 'async' to allow actor-isolated conformances
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:406:23: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
403 | // MARK: - Open and close
404 |
405 | @inlinable func isOptionKeyPressed() -> Bool {
| `- note: add '@MainActor' to make global function 'isOptionKeyPressed()' part of global actor 'MainActor'
406 | if let flags = NSApp.currentEvent?.modifierFlags, flags.contains(NSEvent.ModifierFlags.option) {
| `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
407 | return true
408 | }
AppKit.NSApplication:4:25: note: property declared here
2 | open func sendEvent(_ event: NSEvent)
3 | open func postEvent(_ event: NSEvent, atStart: Bool)
4 | @MainActor open var currentEvent: NSEvent? { get }
| `- note: property declared here
5 | open func nextEvent(matching mask: NSEvent.EventTypeMask, until expiration: Date?, inMode mode: RunLoop.Mode, dequeue deqFlag: Bool) -> NSEvent?
6 | @available(swift, obsoleted: 3, renamed: "nextEvent(matching:until:inMode:dequeue:)")
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:406:17: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
403 | // MARK: - Open and close
404 |
405 | @inlinable func isOptionKeyPressed() -> Bool {
| `- note: add '@MainActor' to make global function 'isOptionKeyPressed()' part of global actor 'MainActor'
406 | if let flags = NSApp.currentEvent?.modifierFlags, flags.contains(NSEvent.ModifierFlags.option) {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
407 | return true
408 | }
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:135:7: warning: main actor-isolated instance method 'moveUp()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 |
29 | internal protocol DSFInspectorPanesAction {
30 | func moveUp()
| `- note: mark the protocol requirement 'moveUp()' 'async' to allow actor-isolated conformances
31 | func moveDown()
32 | func toggleVisibility()
:
132 | }
133 |
134 | extension DSFInspectorPanesView: DSFInspectorPanesAction {
| `- note: add '@preconcurrency' to the 'DSFInspectorPanesAction' conformance to defer isolation checking to run time
135 | func moveUp() {
| |- warning: main actor-isolated instance method 'moveUp()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'moveUp()' to make this instance method not isolated to the actor
136 | self.movePaneUp(self)
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:139:7: warning: main actor-isolated instance method 'moveDown()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | internal protocol DSFInspectorPanesAction {
30 | func moveUp()
31 | func moveDown()
| `- note: mark the protocol requirement 'moveDown()' 'async' to allow actor-isolated conformances
32 | func toggleVisibility()
33 | }
:
137 | }
138 |
139 | func moveDown() {
| |- warning: main actor-isolated instance method 'moveDown()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'moveDown()' to make this instance method not isolated to the actor
140 | self.movePaneDown(self)
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:143:7: warning: main actor-isolated instance method 'toggleVisibility()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | func moveUp()
31 | func moveDown()
32 | func toggleVisibility()
| `- note: mark the protocol requirement 'toggleVisibility()' 'async' to allow actor-isolated conformances
33 | }
34 |
:
141 | }
142 |
143 | func toggleVisibility() {
| |- warning: main actor-isolated instance method 'toggleVisibility()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'toggleVisibility()' to make this instance method not isolated to the actor
144 | self.togglePane(self)
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:151:7: warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
148 | // MARK: - Delegate callback handling
149 |
150 | extension DSFInspectorPanesView: DraggingStackViewProtocol {
| `- note: add '@preconcurrency' to the 'DraggingStackViewProtocol' conformance to defer isolation checking to run time
151 | func stackViewDidReorder() {
| |- warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stackViewDidReorder()' to make this instance method not isolated to the actor
152 | for inspector in self.arrangedInspectorPanes.filter({ $0.inspectorType == .separator }).enumerated() {
153 | inspector.element.separatorVisible = inspector.offset != 0
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:34:7: note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
32 |
33 | internal protocol DraggingStackViewProtocol: NSObjectProtocol {
34 | func stackViewDidReorder()
| `- note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:170:7: warning: main actor-isolated instance method 'inspectorPaneDidFocus' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
166 | }
167 |
168 | extension DSFInspectorPanesView: DSFInspectorPaneViewDelegate {
| `- note: add '@preconcurrency' to the 'DSFInspectorPaneViewDelegate' conformance to defer isolation checking to run time
169 |
170 | func inspectorPaneDidFocus(_ pane: DSFInspectorPanesView.Pane) {
| |- warning: main actor-isolated instance method 'inspectorPaneDidFocus' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'inspectorPaneDidFocus' to make this instance method not isolated to the actor
171 | if #available(macOS 10.12.2, *) {
172 | guard let focused = self.focussedPane() else {
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:31:7: note: mark the protocol requirement 'inspectorPaneDidFocus' 'async' to allow actor-isolated conformances
29 |
30 | internal protocol DSFInspectorPaneViewDelegate: NSObjectProtocol {
31 | func inspectorPaneDidFocus(_ pane: DSFInspectorPanesView.Pane)
| `- note: mark the protocol requirement 'inspectorPaneDidFocus' 'async' to allow actor-isolated conformances
32 | func inspectorPaneDidChangeVisibility(_ pane: DSFInspectorPanesView.Pane)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:179:7: warning: main actor-isolated instance method 'inspectorPaneDidChangeVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
177 | }
178 |
179 | func inspectorPaneDidChangeVisibility(_ pane: DSFInspectorPanesView.Pane) {
| |- warning: main actor-isolated instance method 'inspectorPaneDidChangeVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'inspectorPaneDidChangeVisibility' to make this instance method not isolated to the actor
180 | if #available(macOS 10.12.2, *) {
181 | updateTouchbarTitleForVisibility(for: pane)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:32:7: note: mark the protocol requirement 'inspectorPaneDidChangeVisibility' 'async' to allow actor-isolated conformances
30 | internal protocol DSFInspectorPaneViewDelegate: NSObjectProtocol {
31 | func inspectorPaneDidFocus(_ pane: DSFInspectorPanesView.Pane)
32 | func inspectorPaneDidChangeVisibility(_ pane: DSFInspectorPanesView.Pane)
| `- note: mark the protocol requirement 'inspectorPaneDidChangeVisibility' 'async' to allow actor-isolated conformances
33 | }
34 |
[6/16] Compiling DSFInspectorPanes DSFInspectorPanesView+layout.swift
[7/16] Compiling DSFInspectorPanes DSFInspectorPanes+utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanes+utilities.swift:37:14: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | }
35 |
36 | internal func CreateInspectorTitleField() -> NSTextField {
| `- note: add '@MainActor' to make global function 'CreateInspectorTitleField()' part of global actor 'MainActor'
37 | let title = NSTextField()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 | title.cell = RSVerticallyCenteredTextFieldCell()
39 | return title
AppKit.NSTextField:40:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
38 | public init(frame frameRect: NSRect)
39 | public init?(coder: NSCoder)
40 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
41 | @available(macOS 11.0, *)
42 | open var contentType: NSTextContentType? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanes+utilities.swift:38:8: warning: main actor-isolated property 'cell' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
34 | }
35 |
36 | internal func CreateInspectorTitleField() -> NSTextField {
| `- note: add '@MainActor' to make global function 'CreateInspectorTitleField()' part of global actor 'MainActor'
37 | let title = NSTextField()
38 | title.cell = RSVerticallyCenteredTextFieldCell()
| `- warning: main actor-isolated property 'cell' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
39 | return title
40 | }
AppKit.NSControl:5:25: note: mutation of this property is only permitted within the actor
3 | open func setFloatingPointFormat(_ autoRange: Bool, left leftDigits: Int, right rightDigits: Int)
4 | open class var cellClass: AnyClass? { get set }
5 | @MainActor open var cell: NSCell? { get set }
| `- note: mutation of this property is only permitted within the actor
6 | open func selectedCell() -> NSCell?
7 | open func selectedTag() -> Int
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanes+utilities.swift:38:15: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | }
35 |
36 | internal func CreateInspectorTitleField() -> NSTextField {
| `- note: add '@MainActor' to make global function 'CreateInspectorTitleField()' part of global actor 'MainActor'
37 | let title = NSTextField()
38 | title.cell = RSVerticallyCenteredTextFieldCell()
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
39 | return title
40 | }
AppKit.NSTextFieldCell:17:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
15 | @available(macOS 10.5, *)
16 | open var allowedInputSourceLocales: [String]? { get set }
17 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
18 | }
[8/16] Compiling DSFInspectorPanes RSVerticallyCenteredTextFieldCell.swift
[9/16] Compiling DSFInspectorPanes DSFInspectorPanesView+private.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:135:7: warning: main actor-isolated instance method 'moveUp()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 |
29 | internal protocol DSFInspectorPanesAction {
30 | func moveUp()
| `- note: mark the protocol requirement 'moveUp()' 'async' to allow actor-isolated conformances
31 | func moveDown()
32 | func toggleVisibility()
:
132 | }
133 |
134 | extension DSFInspectorPanesView: DSFInspectorPanesAction {
| `- note: add '@preconcurrency' to the 'DSFInspectorPanesAction' conformance to defer isolation checking to run time
135 | func moveUp() {
| |- warning: main actor-isolated instance method 'moveUp()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'moveUp()' to make this instance method not isolated to the actor
136 | self.movePaneUp(self)
137 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:139:7: warning: main actor-isolated instance method 'moveDown()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | internal protocol DSFInspectorPanesAction {
30 | func moveUp()
31 | func moveDown()
| `- note: mark the protocol requirement 'moveDown()' 'async' to allow actor-isolated conformances
32 | func toggleVisibility()
33 | }
:
137 | }
138 |
139 | func moveDown() {
| |- warning: main actor-isolated instance method 'moveDown()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'moveDown()' to make this instance method not isolated to the actor
140 | self.movePaneDown(self)
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:143:7: warning: main actor-isolated instance method 'toggleVisibility()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | func moveUp()
31 | func moveDown()
32 | func toggleVisibility()
| `- note: mark the protocol requirement 'toggleVisibility()' 'async' to allow actor-isolated conformances
33 | }
34 |
:
141 | }
142 |
143 | func toggleVisibility() {
| |- warning: main actor-isolated instance method 'toggleVisibility()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'toggleVisibility()' to make this instance method not isolated to the actor
144 | self.togglePane(self)
145 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:151:7: warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
148 | // MARK: - Delegate callback handling
149 |
150 | extension DSFInspectorPanesView: DraggingStackViewProtocol {
| `- note: add '@preconcurrency' to the 'DraggingStackViewProtocol' conformance to defer isolation checking to run time
151 | func stackViewDidReorder() {
| |- warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stackViewDidReorder()' to make this instance method not isolated to the actor
152 | for inspector in self.arrangedInspectorPanes.filter({ $0.inspectorType == .separator }).enumerated() {
153 | inspector.element.separatorVisible = inspector.offset != 0
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/3rd-party/DraggingStackView.swift:34:7: note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
32 |
33 | internal protocol DraggingStackViewProtocol: NSObjectProtocol {
34 | func stackViewDidReorder()
| `- note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:170:7: warning: main actor-isolated instance method 'inspectorPaneDidFocus' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
166 | }
167 |
168 | extension DSFInspectorPanesView: DSFInspectorPaneViewDelegate {
| `- note: add '@preconcurrency' to the 'DSFInspectorPaneViewDelegate' conformance to defer isolation checking to run time
169 |
170 | func inspectorPaneDidFocus(_ pane: DSFInspectorPanesView.Pane) {
| |- warning: main actor-isolated instance method 'inspectorPaneDidFocus' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'inspectorPaneDidFocus' to make this instance method not isolated to the actor
171 | if #available(macOS 10.12.2, *) {
172 | guard let focused = self.focussedPane() else {
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:31:7: note: mark the protocol requirement 'inspectorPaneDidFocus' 'async' to allow actor-isolated conformances
29 |
30 | internal protocol DSFInspectorPaneViewDelegate: NSObjectProtocol {
31 | func inspectorPaneDidFocus(_ pane: DSFInspectorPanesView.Pane)
| `- note: mark the protocol requirement 'inspectorPaneDidFocus' 'async' to allow actor-isolated conformances
32 | func inspectorPaneDidChangeVisibility(_ pane: DSFInspectorPanesView.Pane)
33 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+private.swift:179:7: warning: main actor-isolated instance method 'inspectorPaneDidChangeVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
177 | }
178 |
179 | func inspectorPaneDidChangeVisibility(_ pane: DSFInspectorPanesView.Pane) {
| |- warning: main actor-isolated instance method 'inspectorPaneDidChangeVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'inspectorPaneDidChangeVisibility' to make this instance method not isolated to the actor
180 | if #available(macOS 10.12.2, *) {
181 | updateTouchbarTitleForVisibility(for: pane)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:32:7: note: mark the protocol requirement 'inspectorPaneDidChangeVisibility' 'async' to allow actor-isolated conformances
30 | internal protocol DSFInspectorPaneViewDelegate: NSObjectProtocol {
31 | func inspectorPaneDidFocus(_ pane: DSFInspectorPanesView.Pane)
32 | func inspectorPaneDidChangeVisibility(_ pane: DSFInspectorPanesView.Pane)
| `- note: mark the protocol requirement 'inspectorPaneDidChangeVisibility' 'async' to allow actor-isolated conformances
33 | }
34 |
[10/16] Compiling DSFInspectorPanes DSFInspectorPane.swift
[11/16] Compiling DSFInspectorPanes DSFInspectorPanesView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:159:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
157 | public override func awakeFromNib() {
158 | super.awakeFromNib()
159 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
160 | }
161 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+layout.swift:30:7: note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
28 |
29 | extension DSFInspectorPanesView {
30 | func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
31 | self.translatesAutoresizingMaskIntoConstraints = false
32 | self.setContentCompressionResistancePriority(.required, for: .vertical)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:165:8: warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
163 | // Note that awakeFromNib is NOT called when dealing with prepareForInterfaceBuilder!
164 | // So we have to set it up for ourselves
165 | self.setup()
| `- warning: call to main actor-isolated instance method 'setup()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | let b1 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+layout.swift:30:7: note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
28 |
29 | extension DSFInspectorPanesView {
30 | func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
31 | self.translatesAutoresizingMaskIntoConstraints = false
32 | self.setContentCompressionResistancePriority(.required, for: .vertical)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:167:12: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
165 | self.setup()
166 |
167 | let b1 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
168 | b1.title = "Default content"
169 | let b2 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
AppKit.NSButton:86:23: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
84 | @available(macOS 10.13, *)
85 | @NSCopying open var activeCompressionOptions: NSUserInterfaceCompressionOptions { get }
86 | @MainActor public init(frame frameRect: NSRect)
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
87 | public init?(coder: NSCoder)
88 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:168:6: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
166 |
167 | let b1 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
168 | b1.title = "Default content"
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
169 | let b2 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
170 | b2.title = "Expanded content"
AppKit.NSButton:28:14: note: mutation of this property is only permitted within the actor
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | open var title: String { get set }
| `- note: mutation of this property is only permitted within the actor
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:169:12: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
167 | let b1 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
168 | b1.title = "Default content"
169 | let b2 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
170 | b2.title = "Expanded content"
171 | let b3 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
AppKit.NSButton:86:23: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
84 | @available(macOS 10.13, *)
85 | @NSCopying open var activeCompressionOptions: NSUserInterfaceCompressionOptions { get }
86 | @MainActor public init(frame frameRect: NSRect)
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
87 | public init?(coder: NSCoder)
88 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:170:6: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
168 | b1.title = "Default content"
169 | let b2 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
170 | b2.title = "Expanded content"
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
171 | let b3 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
172 | b3.title = "Content always visible"
AppKit.NSButton:28:14: note: mutation of this property is only permitted within the actor
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | open var title: String { get set }
| `- note: mutation of this property is only permitted within the actor
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:171:12: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
169 | let b2 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
170 | b2.title = "Expanded content"
171 | let b3 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 | b3.title = "Content always visible"
173 | let b4 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
AppKit.NSButton:86:23: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
84 | @available(macOS 10.13, *)
85 | @NSCopying open var activeCompressionOptions: NSUserInterfaceCompressionOptions { get }
86 | @MainActor public init(frame frameRect: NSRect)
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
87 | public init?(coder: NSCoder)
88 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:172:6: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
170 | b2.title = "Expanded content"
171 | let b3 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
172 | b3.title = "Content always visible"
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
173 | let b4 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
174 | b4.title = "Collapsed content (not visible)"
AppKit.NSButton:28:14: note: mutation of this property is only permitted within the actor
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | open var title: String { get set }
| `- note: mutation of this property is only permitted within the actor
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:173:12: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
171 | let b3 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
172 | b3.title = "Content always visible"
173 | let b4 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
174 | b4.title = "Collapsed content (not visible)"
175 | let b5 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
AppKit.NSButton:86:23: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
84 | @available(macOS 10.13, *)
85 | @NSCopying open var activeCompressionOptions: NSUserInterfaceCompressionOptions { get }
86 | @MainActor public init(frame frameRect: NSRect)
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
87 | public init?(coder: NSCoder)
88 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:174:6: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
172 | b3.title = "Content always visible"
173 | let b4 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
174 | b4.title = "Collapsed content (not visible)"
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
175 | let b5 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
176 | b5.title = "Visible content with no header"
AppKit.NSButton:28:14: note: mutation of this property is only permitted within the actor
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | open var title: String { get set }
| `- note: mutation of this property is only permitted within the actor
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:175:12: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
173 | let b4 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
174 | b4.title = "Collapsed content (not visible)"
175 | let b5 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
176 | b5.title = "Visible content with no header"
177 |
AppKit.NSButton:86:23: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
84 | @available(macOS 10.13, *)
85 | @NSCopying open var activeCompressionOptions: NSUserInterfaceCompressionOptions { get }
86 | @MainActor public init(frame frameRect: NSRect)
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
87 | public init?(coder: NSCoder)
88 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:176:6: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
174 | b4.title = "Collapsed content (not visible)"
175 | let b5 = NSButton(frame: CGRect(x: 0, y: 0, width: 50, height: 30))
176 | b5.title = "Visible content with no header"
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
177 |
178 | self.addPane(title: "Basic default", view: b1)
AppKit.NSButton:28:14: note: mutation of this property is only permitted within the actor
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | open var title: String { get set }
| `- note: mutation of this property is only permitted within the actor
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:178:8: warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
176 | b5.title = "Visible content with no header"
177 |
178 | self.addPane(title: "Basic default", view: b1)
| `- warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
179 | self.addPane(title: "No Header", view: b5, showsHeader: false)
180 | self.addPane(title: "Expanded by default", view: b2)
:
200 | /// - Parameter expansionType: Can the pane be expanded, and if so what is its default expansion state
201 | @discardableResult
202 | func addPane(
| `- note: calls to instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' from outside of its actor context are implicitly asynchronous
203 | title: String,
204 | view: NSView,
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:179:8: warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
177 |
178 | self.addPane(title: "Basic default", view: b1)
179 | self.addPane(title: "No Header", view: b5, showsHeader: false)
| `- warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
180 | self.addPane(title: "Expanded by default", view: b2)
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
:
200 | /// - Parameter expansionType: Can the pane be expanded, and if so what is its default expansion state
201 | @discardableResult
202 | func addPane(
| `- note: calls to instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' from outside of its actor context are implicitly asynchronous
203 | title: String,
204 | view: NSView,
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:180:8: warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
178 | self.addPane(title: "Basic default", view: b1)
179 | self.addPane(title: "No Header", view: b5, showsHeader: false)
180 | self.addPane(title: "Expanded by default", view: b2)
| `- warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
182 |
:
200 | /// - Parameter expansionType: Can the pane be expanded, and if so what is its default expansion state
201 | @discardableResult
202 | func addPane(
| `- note: calls to instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' from outside of its actor context are implicitly asynchronous
203 | title: String,
204 | view: NSView,
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:181:8: warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
179 | self.addPane(title: "No Header", view: b5, showsHeader: false)
180 | self.addPane(title: "Expanded by default", view: b2)
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
| `- warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | let bv = NSButton(frame: CGRect(x: 0, y: 0, width: 40, height: 20))
:
200 | /// - Parameter expansionType: Can the pane be expanded, and if so what is its default expansion state
201 | @discardableResult
202 | func addPane(
| `- note: calls to instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' from outside of its actor context are implicitly asynchronous
203 | title: String,
204 | view: NSView,
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:183:12: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
182 |
183 | let bv = NSButton(frame: CGRect(x: 0, y: 0, width: 40, height: 20))
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
184 | bv.title = ">🐶<"
185 | self.addPane(title: "Collapsed", view: b4, headerAccessoryView: bv, expansionType: .collapsed)
AppKit.NSButton:86:23: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
84 | @available(macOS 10.13, *)
85 | @NSCopying open var activeCompressionOptions: NSUserInterfaceCompressionOptions { get }
86 | @MainActor public init(frame frameRect: NSRect)
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
87 | public init?(coder: NSCoder)
88 | public convenience init()
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:184:6: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
182 |
183 | let bv = NSButton(frame: CGRect(x: 0, y: 0, width: 40, height: 20))
184 | bv.title = ">🐶<"
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
185 | self.addPane(title: "Collapsed", view: b4, headerAccessoryView: bv, expansionType: .collapsed)
186 |
AppKit.NSButton:28:14: note: mutation of this property is only permitted within the actor
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | open var title: String { get set }
| `- note: mutation of this property is only permitted within the actor
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:185:8: warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
183 | let bv = NSButton(frame: CGRect(x: 0, y: 0, width: 40, height: 20))
184 | bv.title = ">🐶<"
185 | self.addPane(title: "Collapsed", view: b4, headerAccessoryView: bv, expansionType: .collapsed)
| `- warning: call to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 |
187 | self.layout()
:
200 | /// - Parameter expansionType: Can the pane be expanded, and if so what is its default expansion state
201 | @discardableResult
202 | func addPane(
| `- note: calls to instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' from outside of its actor context are implicitly asynchronous
203 | title: String,
204 | view: NSView,
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:187:8: warning: call to main actor-isolated instance method 'layout()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
185 | self.addPane(title: "Collapsed", view: b4, headerAccessoryView: bv, expansionType: .collapsed)
186 |
187 | self.layout()
| `- warning: call to main actor-isolated instance method 'layout()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
188 | }
189 | }
AppKit.NSView:282:26: note: calls to instance method 'layout()' from outside of its actor context are implicitly asynchronous
280 | open func layoutSubtreeIfNeeded()
281 | @available(macOS 10.7, *)
282 | @MainActor open func layout()
| `- note: calls to instance method 'layout()' from outside of its actor context are implicitly asynchronous
283 | @available(macOS 10.7, *)
284 | @MainActor open var needsLayout: Bool { get set }
[12/16] Compiling DSFInspectorPanes DSFInspectorPanesView+pane.swift
AppKit.NSView:357:25: warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
357 | @MainActor open var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
358 | @available(macOS 10.9, *)
359 | open var appearance: NSAppearance? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:588:39: note: add '@preconcurrency' to the 'DSFInspectorPane' conformance to defer isolation checking to run time
586 | // MARK: - Conformance to public protocol
587 |
588 | extension DSFInspectorPanesView.Pane: DSFInspectorPane {
| `- note: add '@preconcurrency' to the 'DSFInspectorPane' conformance to defer isolation checking to run time
589 | var inspector: NSView? {
590 | return self.inspectorView
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:44:12: note: 'identifier' declared here
42 | @objc public protocol DSFInspectorPane {
43 | /// A unique identifier for the inspector panel
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- note: 'identifier' declared here
45 | /// The inspector panes title
46 | @objc var title: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:142:16: warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
140 | }
141 |
142 | override var title: String {
| `- warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
143 | didSet {
144 | self.titleTextView?.stringValue = self.title
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:46:12: note: 'title' declared here
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
45 | /// The inspector panes title
46 | @objc var title: String { get set }
| `- note: 'title' declared here
47 | /// The actual inspector pane
48 | @objc var inspector: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:589:6: warning: main actor-isolated property 'inspector' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
587 |
588 | extension DSFInspectorPanesView.Pane: DSFInspectorPane {
589 | var inspector: NSView? {
| `- warning: main actor-isolated property 'inspector' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
590 | return self.inspectorView
591 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:48:12: note: 'inspector' declared here
46 | @objc var title: String { get set }
47 | /// The actual inspector pane
48 | @objc var inspector: NSView? { get }
| `- note: 'inspector' declared here
49 | /// An optional header view for the inspector pane
50 | @objc var header: NSView? { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:593:6: warning: main actor-isolated property 'header' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
591 | }
592 |
593 | var header: NSView? {
| `- warning: main actor-isolated property 'header' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
594 | let headerContainer = self.headerAccessoryViewContainer
595 | if headerContainer.subviews.count == 1 {
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:50:12: note: 'header' declared here
48 | @objc var inspector: NSView? { get }
49 | /// An optional header view for the inspector pane
50 | @objc var header: NSView? { get }
| `- note: 'header' declared here
51 | /// When is the header view visible?
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:601:6: warning: main actor-isolated property 'headerVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
599 | }
600 |
601 | var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility {
| `- warning: main actor-isolated property 'headerVisibility' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
602 | get {
603 | return self.headerAccessoryVisibility
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:52:12: note: 'headerVisibility' declared here
50 | @objc var header: NSView? { get }
51 | /// When is the header view visible?
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
| `- note: 'headerVisibility' declared here
53 | /// Can the user expand and contract the pane?
54 | @objc var canExpand: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:92:7: warning: main actor-isolated property 'canExpand' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
90 |
91 | // Can the pane be contracted/expanded
92 | var canExpand: Bool {
| `- warning: main actor-isolated property 'canExpand' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
93 | return !(self.disclosureButton?.isHidden ?? true)
94 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:54:12: note: 'canExpand' declared here
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
53 | /// Can the user expand and contract the pane?
54 | @objc var canExpand: Bool { get }
| `- note: 'canExpand' declared here
55 | /// Is the panel expanded?
56 | @objc var isExpanded: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:608:6: warning: main actor-isolated property 'isExpanded' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
606 |
607 | /// Is the pane expanded?
608 | var isExpanded: Bool {
| `- warning: main actor-isolated property 'isExpanded' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
609 | get { return _expanded }
610 | set { self.setExpanded(newValue, animated: self.animated) }
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:56:12: note: 'isExpanded' declared here
54 | @objc var canExpand: Bool { get }
55 | /// Is the panel expanded?
56 | @objc var isExpanded: Bool { get set }
| `- note: 'isExpanded' declared here
57 |
58 | /// Change the visibility overriding the inspector's built-in animation settings
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:617:7: warning: main actor-isolated instance method 'setExpanded(_:animated:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
615 | }
616 |
617 | func setExpanded(_ state: Bool, animated: Bool) {
| |- warning: main actor-isolated instance method 'setExpanded(_:animated:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setExpanded(_:animated:)' to make this instance method not isolated to the actor
618 | if self._expanded != state {
619 | self._expanded = state
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPane.swift:63:13: note: mark the protocol requirement 'setExpanded(_:animated:)' 'async' to allow actor-isolated conformances
61 | /// - expanded: true to expand, false to collapse
62 | /// - animated: should the change be animated?
63 | @objc func setExpanded(_ expanded: Bool, animated: Bool)
| `- note: mark the protocol requirement 'setExpanded(_:animated:)' 'async' to allow actor-isolated conformances
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:406:23: warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
403 | // MARK: - Open and close
404 |
405 | @inlinable func isOptionKeyPressed() -> Bool {
| `- note: add '@MainActor' to make global function 'isOptionKeyPressed()' part of global actor 'MainActor'
406 | if let flags = NSApp.currentEvent?.modifierFlags, flags.contains(NSEvent.ModifierFlags.option) {
| `- warning: main actor-isolated property 'currentEvent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
407 | return true
408 | }
AppKit.NSApplication:4:25: note: property declared here
2 | open func sendEvent(_ event: NSEvent)
3 | open func postEvent(_ event: NSEvent, atStart: Bool)
4 | @MainActor open var currentEvent: NSEvent? { get }
| `- note: property declared here
5 | open func nextEvent(matching mask: NSEvent.EventTypeMask, until expiration: Date?, inMode mode: RunLoop.Mode, dequeue deqFlag: Bool) -> NSEvent?
6 | @available(swift, obsoleted: 3, renamed: "nextEvent(matching:until:inMode:dequeue:)")
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+pane.swift:406:17: warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
403 | // MARK: - Open and close
404 |
405 | @inlinable func isOptionKeyPressed() -> Bool {
| `- note: add '@MainActor' to make global function 'isOptionKeyPressed()' part of global actor 'MainActor'
406 | if let flags = NSApp.currentEvent?.modifierFlags, flags.contains(NSEvent.ModifierFlags.option) {
| `- warning: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
407 | return true
408 | }
AppKit.NSApp:1:23: note: var declared here
1 | @MainActor public var NSApp: NSApplication!
| `- note: var declared here
[12/16] Write Objects.LinkFileList
[14/16] Archiving libDSFInspectorPanes-static.a
[15/16] Linking libDSFInspectorPanes-shared.dylib
Build complete! (13.83s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DSFInspectorPanes",
"name" : "DSFInspectorPanes",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "DSFInspectorPanes",
"targets" : [
"DSFInspectorPanes"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "DSFInspectorPanes-static",
"targets" : [
"DSFInspectorPanes"
],
"type" : {
"library" : [
"static"
]
}
},
{
"name" : "DSFInspectorPanes-shared",
"targets" : [
"DSFInspectorPanes"
],
"type" : {
"library" : [
"dynamic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFInspectorPanesTests",
"module_type" : "SwiftTarget",
"name" : "DSFInspectorPanesTests",
"path" : "Tests/DSFInspectorPanesTests",
"sources" : [
"DSFInspectorPanesTests.swift"
],
"target_dependencies" : [
"DSFInspectorPanes"
],
"type" : "test"
},
{
"c99name" : "DSFInspectorPanes",
"module_type" : "SwiftTarget",
"name" : "DSFInspectorPanes",
"path" : "Sources/DSFInspectorPanes",
"product_memberships" : [
"DSFInspectorPanes",
"DSFInspectorPanes-static",
"DSFInspectorPanes-shared"
],
"sources" : [
"DSFInspectorPane.swift",
"DSFInspectorPanesView.swift",
"private/3rd-party/DraggingStackView.swift",
"private/3rd-party/RSVerticallyCenteredTextFieldCell.swift",
"private/DSFInspectorPanes+utilities.swift",
"private/DSFInspectorPanesView+layout.swift",
"private/DSFInspectorPanesView+pane.swift",
"private/DSFInspectorPanesView+private.swift",
"private/DSFInspectorPanesView+touchbar.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.