Build Information
Successful build of DSFInspectorPanes, reference 3.0.0 (a612f8
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 04:28:55 UTC.
Swift 6 data race errors: 19
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFInspectorPanes.git
Reference: 3.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFInspectorPanes
* tag 3.0.0 -> FETCH_HEAD
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 3.0.0
========================================
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
[1/727] Fetching dsfinspectorpanes
Fetched https://github.com/dagronf/DSFInspectorPanes.git from cache (0.79s)
Creating working copy for https://github.com/dagronf/DSFInspectorPanes.git
Working copy of https://github.com/dagronf/DSFInspectorPanes.git resolved at 3.0.0 (a612f82)
warning: '.resolve-product-dependencies': dependency 'dsfinspectorpanes' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/dagronf/DSFInspectorPanes.git
https://github.com/dagronf/DSFInspectorPanes.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/6] Write sources
[1/6] Write swift-version-2F0A5646E1D333AE.txt
[3/16] Compiling DSFInspectorPanes DSFInspectorPanesView+touchbar.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:31:11: 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:11: 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:11: 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 DSFInspectorPane.swift
[5/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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DraggingStackViewProtocol'; 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 requirement from protocol 'DraggingStackViewProtocol'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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+pane.swift
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSUserInterfaceItemIdentification.h:26:58: warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated requirement from protocol 'DSFInspectorPane'; this is an error in the Swift 6 language mode
24 | The slash '/', backslash '\', and colon ':' characters are reserved and should not be used in identifiers.
25 | */
26 | @property (nullable, copy) NSUserInterfaceItemIdentifier identifier;
| `- warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated requirement from protocol 'DSFInspectorPane'; this is an error in the Swift 6 language mode
27 |
28 | @end
/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: requirement 'identifier' declared here
42 | @objc public protocol DSFInspectorPane {
43 | /// A unique identifier for the inspector panel
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'title' declared here
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
45 | /// The inspector panes title
46 | @objc var title: String { get set }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'inspector' declared here
46 | @objc var title: String { get set }
47 | /// The actual inspector pane
48 | @objc var inspector: NSView? { get }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement '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: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'headerVisibility' declared here
50 | @objc var header: NSView? { get }
51 | /// When is the header view visible?
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement '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: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'isExpanded' declared here
54 | @objc var canExpand: Bool { get }
55 | /// Is the panel expanded?
56 | @objc var isExpanded: Bool { get set }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
| `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
[7/16] Compiling DSFInspectorPanes DSFInspectorPanesView+layout.swift
[8/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSResponder.h:23:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
21 | @interface NSResponder : NSObject <NSCoding>
22 |
23 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
24 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
25 |
/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:129:47: note: mutation of this property is only permitted within the actor
127 | @property (class, nullable) Class cellClass;
128 |
129 | @property (nullable, strong) __kindof NSCell *cell;
| `- note: mutation of this property is only permitted within the actor
130 |
131 | - (nullable __kindof NSCell *)selectedCell;
/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSCell.h:101:1: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
99 | @interface NSCell : NSObject <NSCopying, NSCoding, NSUserInterfaceItemIdentification, NSAccessibilityElement, NSAccessibility>
100 |
101 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSActionCell'
102 | - (instancetype)initTextCell:(NSString *)string NS_DESIGNATED_INITIALIZER;
103 | - (instancetype)initImageCell:(nullable NSImage *)image NS_DESIGNATED_INITIALIZER;
[9/16] Compiling DSFInspectorPanes RSVerticallyCenteredTextFieldCell.swift
[10/16] Emitting module DSFInspectorPanes
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/private/DSFInspectorPanesView+touchbar.swift:31:11: 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:11: 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:11: 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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSUserInterfaceItemIdentification.h:26:58: warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated requirement from protocol 'DSFInspectorPane'; this is an error in the Swift 6 language mode
24 | The slash '/', backslash '\', and colon ':' characters are reserved and should not be used in identifiers.
25 | */
26 | @property (nullable, copy) NSUserInterfaceItemIdentifier identifier;
| `- warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated requirement from protocol 'DSFInspectorPane'; this is an error in the Swift 6 language mode
27 |
28 | @end
/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: requirement 'identifier' declared here
42 | @objc public protocol DSFInspectorPane {
43 | /// A unique identifier for the inspector panel
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'title' declared here
44 | @objc var identifier: NSUserInterfaceItemIdentifier? { get set }
45 | /// The inspector panes title
46 | @objc var title: String { get set }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'inspector' declared here
46 | @objc var title: String { get set }
47 | /// The actual inspector pane
48 | @objc var inspector: NSView? { get }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement '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: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'headerVisibility' declared here
50 | @objc var header: NSView? { get }
51 | /// When is the header view visible?
52 | @objc var headerVisibility: DSFInspectorPaneHeaderAccessoryVisibility { get }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement '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: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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: requirement 'isExpanded' declared here
54 | @objc var canExpand: Bool { get }
55 | /// Is the panel expanded?
56 | @objc var isExpanded: Bool { get set }
| `- note: requirement '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 requirement from protocol 'DSFInspectorPane'; 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 requirement from protocol 'DSFInspectorPane'; 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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:349:49: note: property declared here
347 | - (void)sendEvent:(NSEvent *)event;
348 | - (void)postEvent:(NSEvent *)event atStart:(BOOL)atStart;
349 | @property (nullable, readonly, strong) NSEvent *currentEvent;
| `- note: property declared here
350 | - (nullable NSEvent *)nextEventMatchingMask:(NSEventMask)mask untilDate:(nullable NSDate *)expiration inMode:(NSRunLoopMode)mode dequeue:(BOOL)deqFlag;
351 | - (void)discardEventsMatchingMask:(NSEventMask)mask beforeEvent:(nullable NSEvent *)lastEvent;
/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DSFInspectorPanesAction'; 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 requirement from protocol 'DraggingStackViewProtocol'; 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 requirement from protocol 'DraggingStackViewProtocol'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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 requirement from protocol 'DSFInspectorPaneViewDelegate'; 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 |
[11/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.bitmapImageRepForCachingDisplay:2:22: note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep?}
| |- note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/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.cacheDisplay:2:22: note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:129:18: note: property declared here
127 | - (void)setFrameOrigin:(NSPoint)newOrigin;
128 | - (void)setFrameSize:(NSSize)newSize;
129 | @property NSRect frame;
| `- note: property declared here
130 | @property CGFloat frameRotation;
131 | @property CGFloat frameCenterRotation API_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 '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 |
[12/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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:21:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
19 | @interface NSControl : NSView
20 |
21 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
/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"
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/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))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:21:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
19 | @interface NSControl : NSView
20 |
21 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
/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"
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/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))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:21:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
19 | @interface NSControl : NSView
20 |
21 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
/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)"
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/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))
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:21:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
19 | @interface NSControl : NSView
20 |
21 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
/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"
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:21:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
19 | @interface NSControl : NSView
20 |
21 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSControl.h:21:1: note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
19 | @interface NSControl : NSView
20 |
21 | - (instancetype)initWithFrame:(NSRect)frameRect NS_DESIGNATED_INITIALIZER;
| |- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSControl'
22 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
23 |
/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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSButton.h:75:28: note: mutation of this property is only permitted within the actor
73 |
74 | /*! The title displayed on the button when it’s in an off state, or an empty string if the button does not display a title. By default, a button's title is "Button". */
75 | @property (copy) NSString *title;
| `- note: mutation of this property is only permitted within the actor
76 |
77 | /*! The button's title, expressed as an attributed string. */
/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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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.layout:3:24: note: calls to instance method 'layout()' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layout()}
| |- note: calls to instance method 'layout()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:178:8: warning: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
179 | self.addPane(title: "No Header", view: b5, showsHeader: false)
180 | self.addPane(title: "Expanded by default", view: b2)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:178:8: warning: sending value of non-Sendable type 'DSFInspectorPaneExpansionType' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneExpansionType' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneExpansionType' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
179 | self.addPane(title: "No Header", view: b5, showsHeader: false)
180 | self.addPane(title: "Expanded by default", view: b2)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:179:8: warning: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
180 | self.addPane(title: "Expanded by default", view: b2)
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:179:8: warning: sending value of non-Sendable type 'DSFInspectorPaneExpansionType' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneExpansionType' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneExpansionType' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
180 | self.addPane(title: "Expanded by default", view: b2)
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:180:8: warning: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
182 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:180:8: warning: sending value of non-Sendable type 'DSFInspectorPaneExpansionType' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneExpansionType' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneExpansionType' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
181 | self.addPane(title: "No collapsing", view: b3, expansionType: .none)
182 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:181:8: warning: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
182 |
183 | let bv = NSButton(frame: CGRect(x: 0, y: 0, width: 40, height: 20))
/Users/admin/builder/spi-builder-workspace/Sources/DSFInspectorPanes/DSFInspectorPanesView.swift:185:8: warning: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; 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: sending value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated value of non-Sendable type 'DSFInspectorPaneHeaderAccessoryVisibility' to main actor-isolated instance method 'addPane(title:view:showsHeader:headerAccessoryView:headerAccessoryVisibility:expansionType:)' risks causing races in between main actor-isolated and main actor-isolated uses
186 |
187 | self.layout()
[12/16] Write Objects.LinkFileList
[14/16] Archiving libDSFInspectorPanes-static.a
[15/16] Linking libDSFInspectorPanes-shared.dylib
Build complete! (8.10s)
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.