Build Information
Successful build of DSFActionBar, reference 1.0.0 (962010
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 01:09:42 UTC.
Swift 6 data race errors: 16
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dagronf/DSFActionBar.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dagronf/DSFActionBar
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 9620109 Fix for issue when dragging tab OFF the bar was not releasing the cursor correctly.
Cloned https://github.com/dagronf/DSFActionBar.git
Revision (git rev-parse @):
96201090ce126ab8426f0ee06a1f3a55cf0dc143
SUCCESS checkout https://github.com/dagronf/DSFActionBar.git at 1.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": "dsfactionbar",
"name": "DSFActionBar",
"url": "https://github.com/dagronf/DSFActionBar.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/DSFActionBar",
"dependencies": [
]
}
]
}
Fetching https://github.com/dagronf/DSFActionBar.git
[1/326] Fetching dsfactionbar
Fetched https://github.com/dagronf/DSFActionBar.git from cache (0.72s)
Creating working copy for https://github.com/dagronf/DSFActionBar.git
Working copy of https://github.com/dagronf/DSFActionBar.git resolved at 1.0.0 (9620109)
warning: '.resolve-product-dependencies': dependency 'dsfactionbar' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/dagronf/DSFActionBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/10] Compiling DSFActionBar Utilities.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/Utilities.swift:30:30: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
26 |
27 | /// Perform the supplied block using the appearance settings of the specified view
28 | @inlinable func UsingEffectiveAppearance<T>(of view: NSView, perform block: () throws -> T) rethrows -> T {
| `- note: add '@MainActor' to make global function 'UsingEffectiveAppearance(of:perform:)' part of global actor 'MainActor'
29 | let saved = NSAppearance.current
30 | NSAppearance.current = view.effectiveAppearance
| `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | let result = try block()
32 | NSAppearance.current = saved
AppKit.NSView:361:25: note: property declared here
359 | open var appearance: NSAppearance? { get set }
360 | @available(macOS 10.9, *)
361 | @MainActor open var effectiveAppearance: NSAppearance { get }
| `- note: property declared here
362 | @available(macOS 10.5, *)
363 | open func animator() -> Self
[4/10] Compiling DSFActionBar DraggingStackView.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:206: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
204 | super.init()
205 |
206 | 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
207 | view.cacheDisplay(in: view.bounds, to: bitmap)
208 |
AppKit.NSView:212:26: note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
210 | @available(swift, obsoleted: 3, renamed: "displayIgnoringOpacity(_:in:)")
211 | open func displayRectIgnoringOpacity(_ rect: NSRect, inContext context: NSGraphicsContext)
212 | @MainActor open func bitmapImageRepForCachingDisplay(in rect: NSRect) -> NSBitmapImageRep?
| `- note: calls to instance method 'bitmapImageRepForCachingDisplay(in:)' from outside of its actor context are implicitly asynchronous
213 | @available(swift, obsoleted: 3, renamed: "bitmapImageRepForCachingDisplay(in:)")
214 | open func bitmapImageRepForCachingDisplayInRect(_ rect: NSRect) -> NSBitmapImageRep?
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:206: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
204 | super.init()
205 |
206 | 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
207 | view.cacheDisplay(in: view.bounds, to: bitmap)
208 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:207: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
205 |
206 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
207 | 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
208 |
209 | frame = view.frame
AppKit.NSView:215:26: note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
213 | @available(swift, obsoleted: 3, renamed: "bitmapImageRepForCachingDisplay(in:)")
214 | open func bitmapImageRepForCachingDisplayInRect(_ rect: NSRect) -> NSBitmapImageRep?
215 | @MainActor open func cacheDisplay(in rect: NSRect, to bitmapImageRep: NSBitmapImageRep)
| `- note: calls to instance method 'cacheDisplay(in:to:)' from outside of its actor context are implicitly asynchronous
216 | @available(swift, obsoleted: 3, renamed: "cacheDisplay(in:to:)")
217 | open func cacheDisplayInRect(_ rect: NSRect, toBitmapImageRep bitmapImageRep: NSBitmapImageRep)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:207: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
205 |
206 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
207 | 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
208 |
209 | frame = view.frame
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:209: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
207 | view.cacheDisplay(in: view.bounds, to: bitmap)
208 |
209 | 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
210 | contents = bitmap.cgImage
211 | }
AppKit.NSView:60:25: note: property declared here
58 | open func setFrameOrigin(_ newOrigin: NSPoint)
59 | open func setFrameSize(_ newSize: NSSize)
60 | @MainActor open var frame: NSRect { get set }
| `- note: property declared here
61 | open var frameRotation: CGFloat { get set }
62 | @available(macOS 10.5, *)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:207:9: warning: sending 'bitmap' risks causing data races; this is an error in the Swift 6 language mode
205 |
206 | guard let bitmap = view.bitmapImageRepForCachingDisplay(in: view.bounds) else { throw CacheError.bitmapCreationFailed }
207 | view.cacheDisplay(in: view.bounds, to: bitmap)
| |- warning: sending 'bitmap' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'bitmap' to main actor-isolated instance method 'cacheDisplay(in:to:)' risks causing data races between main actor-isolated and local nonisolated uses
208 |
209 | frame = view.frame
210 | contents = bitmap.cgImage
| `- note: access can happen concurrently
211 | }
212 |
[5/10] Compiling DSFActionBar DSFActionBar+private.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:314:7: warning: main actor-isolated instance method 'rect(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 | internal protocol DSFActionBarProtocol {
29 | // Retrieve the current position (in Action Bar coordinates) of the specified iten
30 | func rect(for child: DSFActionBarButton) -> CGRect
| `- note: mark the protocol requirement 'rect(for:)' 'async' to allow actor-isolated conformances
31 | // Notify the bar that the user right-clicked on a bar item
32 | func rightClick(for child: DSFActionBarButton)
:
311 | }
312 |
313 | extension DSFActionBar: DSFActionBarProtocol {
| `- note: add '@preconcurrency' to the 'DSFActionBarProtocol' conformance to defer isolation checking to run time
314 | func rect(for child: DSFActionBarButton) -> CGRect {
| |- warning: main actor-isolated instance method 'rect(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'rect(for:)' to make this instance method not isolated to the actor
315 | if child.isHidden {
316 | /// If the child is hidden, it won't be visible in the UI.
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:323:7: warning: main actor-isolated instance method 'rightClick(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | func rect(for child: DSFActionBarButton) -> CGRect
31 | // Notify the bar that the user right-clicked on a bar item
32 | func rightClick(for child: DSFActionBarButton)
| `- note: mark the protocol requirement 'rightClick(for:)' 'async' to allow actor-isolated conformances
33 | // Returns the current background color set for the bar
34 | var backgroundColor: NSColor { get }
:
321 | }
322 |
323 | func rightClick(for child: DSFActionBarButton) {
| |- warning: main actor-isolated instance method 'rightClick(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'rightClick(for:)' to make this instance method not isolated to the actor
324 | self.actionDelegate?.actionBar?(self, didRightClickOnItem: child)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar.swift:43:28: warning: main actor-isolated property 'backgroundColor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 |
42 | /// The background color for the control (defaults to clear)
43 | @IBInspectable public var backgroundColor: NSColor = .clear {
| `- warning: main actor-isolated property 'backgroundColor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
44 | didSet {
45 | self.needsDisplay = true
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:34:6: note: 'backgroundColor' declared here
32 | func rightClick(for child: DSFActionBarButton)
33 | // Returns the current background color set for the bar
34 | var backgroundColor: NSColor { get }
| `- note: 'backgroundColor' declared here
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:331:7: warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
328 | // MARK: - DraggingStackView reorder events
329 |
330 | extension DSFActionBar: DraggingStackViewProtocol {
| `- note: add '@preconcurrency' to the 'DraggingStackViewProtocol' conformance to defer isolation checking to run time
331 | func stackViewDidReorder() {
| |- warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stackViewDidReorder()' to make this instance method not isolated to the actor
332 | self.updateTags()
333 | self.actionDelegate?.actionBar?(self, didReorderItems: self.items)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:37:7: note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
35 |
36 | internal protocol DraggingStackViewProtocol: NSObjectProtocol {
37 | func stackViewDidReorder()
| `- note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:219: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
38 |
39 | internal extension DSFActionBar {
40 | func setup() {
| `- note: calls to instance method 'setup()' from outside of its actor context are implicitly asynchronous
41 | self.translatesAutoresizingMaskIntoConstraints = false
42 |
:
217 | super.prepareForInterfaceBuilder()
218 |
219 | 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
220 |
221 | self.add("Item 1")
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:221:8: warning: call to main actor-isolated instance method 'add(_:identifier:menu:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
219 | self.setup()
220 |
221 | self.add("Item 1")
| `- warning: call to main actor-isolated instance method 'add(_:identifier:menu:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
222 | self.add("Item 2")
223 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar.swift:175:20: note: calls to instance method 'add(_:identifier:menu:)' from outside of its actor context are implicitly asynchronous
173 | /// Add an item with an (optional) menu
174 | @discardableResult
175 | @objc public func add(_ title: String,
| `- note: calls to instance method 'add(_:identifier:menu:)' from outside of its actor context are implicitly asynchronous
176 | identifier: NSUserInterfaceItemIdentifier? = nil,
177 | menu: NSMenu? = nil) -> DSFActionBarItem {
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:222:8: warning: call to main actor-isolated instance method 'add(_:identifier:menu:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
220 |
221 | self.add("Item 1")
222 | self.add("Item 2")
| `- warning: call to main actor-isolated instance method 'add(_:identifier:menu:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 | }
224 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar.swift:175:20: note: calls to instance method 'add(_:identifier:menu:)' from outside of its actor context are implicitly asynchronous
173 | /// Add an item with an (optional) menu
174 | @discardableResult
175 | @objc public func add(_ title: String,
| `- note: calls to instance method 'add(_:identifier:menu:)' from outside of its actor context are implicitly asynchronous
176 | identifier: NSUserInterfaceItemIdentifier? = nil,
177 | menu: NSMenu? = nil) -> DSFActionBarItem {
[6/10] Compiling DSFActionBar DSFActionBarButton.swift
AppKit.NSButton:28:25: warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | @MainActor open var title: String { get set }
| `- warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:266:31: note: add '@preconcurrency' to the 'DSFActionBarItem' conformance to defer isolation checking to run time
264 | }
265 |
266 | extension DSFActionBarButton: DSFActionBarItem {
| `- note: add '@preconcurrency' to the 'DSFActionBarItem' conformance to defer isolation checking to run time
267 | var position: CGRect {
268 | return self.parent.rect(for: self)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:45:6: note: 'title' declared here
43 | @objc public protocol DSFActionBarItem {
44 | /// The item's title
45 | var title: String { get set }
| `- note: 'title' declared here
46 |
47 | /// Is the item disabled?
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:285:6: warning: main actor-isolated property 'disabled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
283 | }
284 |
285 | var disabled: Bool {
| `- warning: main actor-isolated property 'disabled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
286 | get {
287 | return !super.isEnabled
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:48:6: note: 'disabled' declared here
46 |
47 | /// Is the item disabled?
48 | var disabled: Bool { get set }
| `- note: 'disabled' declared here
49 |
50 | /// The current position of the item (in DSFActionBar coordinates)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:267:6: warning: main actor-isolated property 'position' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
265 |
266 | extension DSFActionBarButton: DSFActionBarItem {
267 | var position: CGRect {
| `- warning: main actor-isolated property 'position' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
268 | return self.parent.rect(for: self)
269 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:51:6: note: 'position' declared here
49 |
50 | /// The current position of the item (in DSFActionBar coordinates)
51 | var position: CGRect { get }
| `- note: 'position' declared here
52 |
53 | /// Is the item currently hidden (ie. only available in the menu)
AppKit.NSView:14:25: warning: main actor-isolated property 'isHidden' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | open func ancestorSharedWithView(_ view: NSView) -> NSView?
13 | unowned(unsafe) open var opaqueAncestor: NSView? { get }
14 | @MainActor open var isHidden: Bool { get set }
| `- warning: main actor-isolated property 'isHidden' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | @available(swift, obsoleted: 3, renamed: "isHidden")
16 | open var hidden: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:54:6: note: 'isHidden' declared here
52 |
53 | /// Is the item currently hidden (ie. only available in the menu)
54 | var isHidden: Bool { get }
| `- note: 'isHidden' declared here
55 |
56 | /// The item's identifier
AppKit.NSView:357:14: warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
357 | open var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
358 | @available(macOS 10.9, *)
359 | open var appearance: NSAppearance? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:57:6: note: 'identifier' declared here
55 |
56 | /// The item's identifier
57 | var identifier: NSUserInterfaceItemIdentifier? { get }
| `- note: 'identifier' declared here
58 |
59 | /// The item's state
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:125:15: warning: main actor-isolated property 'state' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
123 | }
124 |
125 | override var state: NSControl.StateValue {
| `- warning: main actor-isolated property 'state' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
126 | get {
127 | return super.state
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:60:6: note: 'state' declared here
58 |
59 | /// The item's state
60 | var state: NSControl.StateValue { get set }
| `- note: 'state' declared here
61 |
62 | /// The menu to be displayed for the item
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:271:15: warning: main actor-isolated property 'menu' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
269 | }
270 |
271 | override var menu: NSMenu? {
| `- warning: main actor-isolated property 'menu' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
272 | get {
273 | super.menu
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:63:6: note: 'menu' declared here
61 |
62 | /// The menu to be displayed for the item
63 | var menu: NSMenu? { get set }
| `- note: 'menu' declared here
64 |
65 | /// The action to perform on 'target' when the item is clicked
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:294:7: warning: main actor-isolated instance method 'setAction(_:for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
292 | }
293 |
294 | func setAction(_ action: Selector, for target: AnyObject) {
| |- warning: main actor-isolated instance method 'setAction(_:for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setAction(_:for:)' to make this instance method not isolated to the actor
295 | self.action = action
296 | self.target = target
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:66:7: note: mark the protocol requirement 'setAction(_:for:)' 'async' to allow actor-isolated conformances
64 |
65 | /// The action to perform on 'target' when the item is clicked
66 | func setAction(_ action: Selector, for target: AnyObject)
| `- note: mark the protocol requirement 'setAction(_:for:)' 'async' to allow actor-isolated conformances
67 | /// The action associated with the item
68 | var action: Selector? { get }
AppKit.NSControl:5:25: warning: main actor-isolated property 'action' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | @MainActor public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
5 | @MainActor open var action: Selector? { get set }
| `- warning: main actor-isolated property 'action' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var tag: Int { get set }
7 | open var ignoresMultiClick: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:68:6: note: 'action' declared here
66 | func setAction(_ action: Selector, for target: AnyObject)
67 | /// The action associated with the item
68 | var action: Selector? { get }
| `- note: 'action' declared here
69 | /// The target for the action associated with the item
70 | var target: AnyObject? { get }
AppKit.NSControl:4:30: warning: main actor-isolated property 'target' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
| `- warning: main actor-isolated property 'target' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @MainActor open var action: Selector? { get set }
6 | open var tag: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:70:6: note: 'target' declared here
68 | var action: Selector? { get }
69 | /// The target for the action associated with the item
70 | var target: AnyObject? { get }
| `- note: 'target' declared here
71 |
72 | /// Block handling
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:33:6: warning: main actor-isolated property 'actionBlock' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
31 | var parent: DSFActionBarProtocol!
32 |
33 | var actionBlock: (() -> Void)? {
| `- warning: main actor-isolated property 'actionBlock' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
34 | didSet {
35 | self.action = nil
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:73:6: note: 'actionBlock' declared here
71 |
72 | /// Block handling
73 | var actionBlock: (() -> Void)? { get set }
| `- note: 'actionBlock' declared here
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:64:9: warning: call to main actor-isolated instance method 'removeTrackingArea' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
62 | deinit {
63 | if let t = self.trackingArea {
64 | self.removeTrackingArea(t)
| `- warning: call to main actor-isolated instance method 'removeTrackingArea' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 | self.trackingArea = nil
AppKit.NSView:5:26: note: calls to instance method 'removeTrackingArea' from outside of its actor context are implicitly asynchronous
3 | open func addTrackingArea(_ trackingArea: NSTrackingArea)
4 | @available(macOS 10.5, *)
5 | @MainActor open func removeTrackingArea(_ trackingArea: NSTrackingArea)
| `- note: calls to instance method 'removeTrackingArea' from outside of its actor context are implicitly asynchronous
6 | @available(macOS 10.5, *)
7 | open var trackingAreas: [NSTrackingArea] { get }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:67:8: warning: main actor-isolated property 'menu' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
65 | }
66 | self.trackingArea = nil
67 | self.menu = nil
| `- warning: main actor-isolated property 'menu' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 | self.target = nil
69 | }
:
269 | }
270 |
271 | override var menu: NSMenu? {
| `- note: mutation of this property is only permitted within the actor
272 | get {
273 | super.menu
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:68:8: warning: main actor-isolated property 'target' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
66 | self.trackingArea = nil
67 | self.menu = nil
68 | self.target = nil
| `- warning: main actor-isolated property 'target' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
69 | }
70 |
AppKit.NSControl:4:30: note: mutation of this property is only permitted within the actor
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
| `- note: mutation of this property is only permitted within the actor
5 | @MainActor open var action: Selector? { get set }
6 | open var tag: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:63:3: warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
61 |
62 | deinit {
63 | if let t = self.trackingArea {
| `- warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
64 | self.removeTrackingArea(t)
65 | }
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:66:21: warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
64 | self.removeTrackingArea(t)
65 | }
66 | self.trackingArea = nil
| `- warning: cannot access property 'trackingArea' with a non-sendable type 'NSTrackingArea?' from nonisolated deinit; this is an error in the Swift 6 language mode
67 | self.menu = nil
68 | self.target = nil
Swift.Optional:1:21: note: generic enum 'Optional' does not conform to the 'Sendable' protocol
1 | @frozen public enum Optional<Wrapped> : ~Copyable where Wrapped : ~Copyable {
| `- note: generic enum 'Optional' does not conform to the 'Sendable' protocol
2 | case none
3 | case some(Wrapped)
[7/10] Compiling DSFActionBar DSFActionTabBar.swift
[8/10] Compiling DSFActionBar DSFActionBar+protocols.swift
[9/10] Compiling DSFActionBar DSFActionBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar.swift:141:8: warning: call to main actor-isolated instance method 'removeAll()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 | deinit {
140 | self.actionDelegate = nil
141 | self.removeAll()
| `- warning: call to main actor-isolated instance method 'removeAll()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
142 | }
143 |
:
246 |
247 | /// Remove all the items from the action bar
248 | @objc public func removeAll() {
| `- note: calls to instance method 'removeAll()' from outside of its actor context are implicitly asynchronous
249 | self.stack.arrangedSubviews.forEach { $0.removeFromSuperview() }
250 | self.stack.needsLayout = true
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar.swift:140:23: warning: cannot access property 'actionDelegate' with a non-sendable type '(any DSFActionBarDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
138 |
139 | deinit {
140 | self.actionDelegate = nil
| `- warning: cannot access property 'actionDelegate' with a non-sendable type '(any DSFActionBarDelegate)?' from nonisolated deinit; this is an error in the Swift 6 language mode
141 | self.removeAll()
142 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:28:23: note: protocol 'DSFActionBarDelegate' does not conform to the 'Sendable' protocol
26 |
27 | /// ActionBar delegate callbacks
28 | @objc public protocol DSFActionBarDelegate {
| `- note: protocol 'DSFActionBarDelegate' does not conform to the 'Sendable' protocol
29 | /// Callback when the items within an action bar reordered
30 | @objc optional func actionBar(_ actionBar: DSFActionBar, didReorderItems items: [DSFActionBarItem])
[10/10] Emitting module DSFActionBar
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:314:7: warning: main actor-isolated instance method 'rect(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 | internal protocol DSFActionBarProtocol {
29 | // Retrieve the current position (in Action Bar coordinates) of the specified iten
30 | func rect(for child: DSFActionBarButton) -> CGRect
| `- note: mark the protocol requirement 'rect(for:)' 'async' to allow actor-isolated conformances
31 | // Notify the bar that the user right-clicked on a bar item
32 | func rightClick(for child: DSFActionBarButton)
:
311 | }
312 |
313 | extension DSFActionBar: DSFActionBarProtocol {
| `- note: add '@preconcurrency' to the 'DSFActionBarProtocol' conformance to defer isolation checking to run time
314 | func rect(for child: DSFActionBarButton) -> CGRect {
| |- warning: main actor-isolated instance method 'rect(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'rect(for:)' to make this instance method not isolated to the actor
315 | if child.isHidden {
316 | /// If the child is hidden, it won't be visible in the UI.
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:323:7: warning: main actor-isolated instance method 'rightClick(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | func rect(for child: DSFActionBarButton) -> CGRect
31 | // Notify the bar that the user right-clicked on a bar item
32 | func rightClick(for child: DSFActionBarButton)
| `- note: mark the protocol requirement 'rightClick(for:)' 'async' to allow actor-isolated conformances
33 | // Returns the current background color set for the bar
34 | var backgroundColor: NSColor { get }
:
321 | }
322 |
323 | func rightClick(for child: DSFActionBarButton) {
| |- warning: main actor-isolated instance method 'rightClick(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'rightClick(for:)' to make this instance method not isolated to the actor
324 | self.actionDelegate?.actionBar?(self, didRightClickOnItem: child)
325 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar.swift:43:28: warning: main actor-isolated property 'backgroundColor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
41 |
42 | /// The background color for the control (defaults to clear)
43 | @IBInspectable public var backgroundColor: NSColor = .clear {
| `- warning: main actor-isolated property 'backgroundColor' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
44 | didSet {
45 | self.needsDisplay = true
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:34:6: note: 'backgroundColor' declared here
32 | func rightClick(for child: DSFActionBarButton)
33 | // Returns the current background color set for the bar
34 | var backgroundColor: NSColor { get }
| `- note: 'backgroundColor' declared here
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBar+private.swift:331:7: warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
328 | // MARK: - DraggingStackView reorder events
329 |
330 | extension DSFActionBar: DraggingStackViewProtocol {
| `- note: add '@preconcurrency' to the 'DraggingStackViewProtocol' conformance to defer isolation checking to run time
331 | func stackViewDidReorder() {
| |- warning: main actor-isolated instance method 'stackViewDidReorder()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stackViewDidReorder()' to make this instance method not isolated to the actor
332 | self.updateTags()
333 | self.actionDelegate?.actionBar?(self, didReorderItems: self.items)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DraggingStackView.swift:37:7: note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
35 |
36 | internal protocol DraggingStackViewProtocol: NSObjectProtocol {
37 | func stackViewDidReorder()
| `- note: mark the protocol requirement 'stackViewDidReorder()' 'async' to allow actor-isolated conformances
38 | }
39 |
AppKit.NSButton:28:25: warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 | open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 | open func setButtonType(_ type: NSButton.ButtonType)
28 | @MainActor open var title: String { get set }
| `- warning: main actor-isolated property 'title' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | @NSCopying open var attributedTitle: NSAttributedString { get set }
30 | open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:266:31: note: add '@preconcurrency' to the 'DSFActionBarItem' conformance to defer isolation checking to run time
264 | }
265 |
266 | extension DSFActionBarButton: DSFActionBarItem {
| `- note: add '@preconcurrency' to the 'DSFActionBarItem' conformance to defer isolation checking to run time
267 | var position: CGRect {
268 | return self.parent.rect(for: self)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:45:6: note: 'title' declared here
43 | @objc public protocol DSFActionBarItem {
44 | /// The item's title
45 | var title: String { get set }
| `- note: 'title' declared here
46 |
47 | /// Is the item disabled?
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:285:6: warning: main actor-isolated property 'disabled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
283 | }
284 |
285 | var disabled: Bool {
| `- warning: main actor-isolated property 'disabled' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
286 | get {
287 | return !super.isEnabled
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:48:6: note: 'disabled' declared here
46 |
47 | /// Is the item disabled?
48 | var disabled: Bool { get set }
| `- note: 'disabled' declared here
49 |
50 | /// The current position of the item (in DSFActionBar coordinates)
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:267:6: warning: main actor-isolated property 'position' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
265 |
266 | extension DSFActionBarButton: DSFActionBarItem {
267 | var position: CGRect {
| `- warning: main actor-isolated property 'position' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
268 | return self.parent.rect(for: self)
269 | }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:51:6: note: 'position' declared here
49 |
50 | /// The current position of the item (in DSFActionBar coordinates)
51 | var position: CGRect { get }
| `- note: 'position' declared here
52 |
53 | /// Is the item currently hidden (ie. only available in the menu)
AppKit.NSView:14:25: warning: main actor-isolated property 'isHidden' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | open func ancestorSharedWithView(_ view: NSView) -> NSView?
13 | unowned(unsafe) open var opaqueAncestor: NSView? { get }
14 | @MainActor open var isHidden: Bool { get set }
| `- warning: main actor-isolated property 'isHidden' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 | @available(swift, obsoleted: 3, renamed: "isHidden")
16 | open var hidden: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:54:6: note: 'isHidden' declared here
52 |
53 | /// Is the item currently hidden (ie. only available in the menu)
54 | var isHidden: Bool { get }
| `- note: 'isHidden' declared here
55 |
56 | /// The item's identifier
AppKit.NSView:357:14: warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
357 | open var identifier: NSUserInterfaceItemIdentifier? { get set }
| `- warning: main actor-isolated property 'identifier' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
358 | @available(macOS 10.9, *)
359 | open var appearance: NSAppearance? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:57:6: note: 'identifier' declared here
55 |
56 | /// The item's identifier
57 | var identifier: NSUserInterfaceItemIdentifier? { get }
| `- note: 'identifier' declared here
58 |
59 | /// The item's state
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:125:15: warning: main actor-isolated property 'state' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
123 | }
124 |
125 | override var state: NSControl.StateValue {
| `- warning: main actor-isolated property 'state' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
126 | get {
127 | return super.state
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:60:6: note: 'state' declared here
58 |
59 | /// The item's state
60 | var state: NSControl.StateValue { get set }
| `- note: 'state' declared here
61 |
62 | /// The menu to be displayed for the item
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:271:15: warning: main actor-isolated property 'menu' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
269 | }
270 |
271 | override var menu: NSMenu? {
| `- warning: main actor-isolated property 'menu' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
272 | get {
273 | super.menu
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:63:6: note: 'menu' declared here
61 |
62 | /// The menu to be displayed for the item
63 | var menu: NSMenu? { get set }
| `- note: 'menu' declared here
64 |
65 | /// The action to perform on 'target' when the item is clicked
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:294:7: warning: main actor-isolated instance method 'setAction(_:for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
292 | }
293 |
294 | func setAction(_ action: Selector, for target: AnyObject) {
| |- warning: main actor-isolated instance method 'setAction(_:for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setAction(_:for:)' to make this instance method not isolated to the actor
295 | self.action = action
296 | self.target = target
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:66:7: note: mark the protocol requirement 'setAction(_:for:)' 'async' to allow actor-isolated conformances
64 |
65 | /// The action to perform on 'target' when the item is clicked
66 | func setAction(_ action: Selector, for target: AnyObject)
| `- note: mark the protocol requirement 'setAction(_:for:)' 'async' to allow actor-isolated conformances
67 | /// The action associated with the item
68 | var action: Selector? { get }
AppKit.NSControl:5:25: warning: main actor-isolated property 'action' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
3 | @MainActor public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
5 | @MainActor open var action: Selector? { get set }
| `- warning: main actor-isolated property 'action' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
6 | open var tag: Int { get set }
7 | open var ignoresMultiClick: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:68:6: note: 'action' declared here
66 | func setAction(_ action: Selector, for target: AnyObject)
67 | /// The action associated with the item
68 | var action: Selector? { get }
| `- note: 'action' declared here
69 | /// The target for the action associated with the item
70 | var target: AnyObject? { get }
AppKit.NSControl:4:30: warning: main actor-isolated property 'target' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
4 | @MainActor weak open var target: AnyObject? { get set }
| `- warning: main actor-isolated property 'target' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
5 | @MainActor open var action: Selector? { get set }
6 | open var tag: Int { get set }
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:70:6: note: 'target' declared here
68 | var action: Selector? { get }
69 | /// The target for the action associated with the item
70 | var target: AnyObject? { get }
| `- note: 'target' declared here
71 |
72 | /// Block handling
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/DSFActionBarButton.swift:33:6: warning: main actor-isolated property 'actionBlock' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
31 | var parent: DSFActionBarProtocol!
32 |
33 | var actionBlock: (() -> Void)? {
| `- warning: main actor-isolated property 'actionBlock' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
34 | didSet {
35 | self.action = nil
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/DSFActionBar+protocols.swift:73:6: note: 'actionBlock' declared here
71 |
72 | /// Block handling
73 | var actionBlock: (() -> Void)? { get set }
| `- note: 'actionBlock' declared here
74 | }
75 |
/Users/admin/builder/spi-builder-workspace/Sources/DSFActionBar/private/Utilities.swift:30:30: warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
26 |
27 | /// Perform the supplied block using the appearance settings of the specified view
28 | @inlinable func UsingEffectiveAppearance<T>(of view: NSView, perform block: () throws -> T) rethrows -> T {
| `- note: add '@MainActor' to make global function 'UsingEffectiveAppearance(of:perform:)' part of global actor 'MainActor'
29 | let saved = NSAppearance.current
30 | NSAppearance.current = view.effectiveAppearance
| `- warning: main actor-isolated property 'effectiveAppearance' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
31 | let result = try block()
32 | NSAppearance.current = saved
AppKit.NSView:361:14: note: property declared here
359 | open var appearance: NSAppearance? { get set }
360 | @available(macOS 10.9, *)
361 | open var effectiveAppearance: NSAppearance { get }
| `- note: property declared here
362 | @available(macOS 10.5, *)
363 | open func animator() -> Self
Build complete! (13.07s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "DSFActionBar",
"name" : "DSFActionBar",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
}
],
"products" : [
{
"name" : "DSFActionBar",
"targets" : [
"DSFActionBar"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DSFActionBarTests",
"module_type" : "SwiftTarget",
"name" : "DSFActionBarTests",
"path" : "Tests/DSFActionBarTests",
"sources" : [
"DSFActionBarTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"DSFActionBar"
],
"type" : "test"
},
{
"c99name" : "DSFActionBar",
"module_type" : "SwiftTarget",
"name" : "DSFActionBar",
"path" : "Sources/DSFActionBar",
"product_memberships" : [
"DSFActionBar"
],
"sources" : [
"DSFActionBar+protocols.swift",
"DSFActionBar.swift",
"DSFActionTabBar.swift",
"private/DSFActionBar+private.swift",
"private/DSFActionBarButton.swift",
"private/DraggingStackView.swift",
"private/Utilities.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.