The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Menu, reference 1.10.2 (e1950e), with Swift 6.0 for macOS (SPM) on 27 Nov 2024 06:54:53 UTC.

Swift 6 data race errors: 7

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/iSapozhnik/Menu.git
Reference: 1.10.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iSapozhnik/Menu
 * tag               1.10.2     -> FETCH_HEAD
HEAD is now at e1950e0 Merge pull request #17 from iSapozhnik/feature/hover-insets
Cloned https://github.com/iSapozhnik/Menu.git
Revision (git rev-parse @):
e1950e035259243bc3f180157d5297fefd27bfdf
SUCCESS checkout https://github.com/iSapozhnik/Menu.git at 1.10.2
Fetching https://github.com/iSapozhnik/EventMonitor
[1/33] Fetching eventmonitor
Fetched https://github.com/iSapozhnik/EventMonitor from cache (0.60s)
Computing version for https://github.com/iSapozhnik/EventMonitor
Computed https://github.com/iSapozhnik/EventMonitor at 1.0.1 (0.57s)
Creating working copy for https://github.com/iSapozhnik/EventMonitor
Working copy of https://github.com/iSapozhnik/EventMonitor resolved at 1.0.1
========================================
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": "menu",
      "name": "Menu",
      "url": "https://github.com/iSapozhnik/Menu.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Menu",
      "dependencies": [
        {
          "identity": "eventmonitor",
          "name": "EventMonitor",
          "url": "https://github.com/iSapozhnik/EventMonitor",
          "version": "1.0.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/EventMonitor",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/iSapozhnik/Menu.git
[3/275] Fetching menu
Fetched https://github.com/iSapozhnik/Menu.git from cache (1.15s)
Fetching https://github.com/iSapozhnik/EventMonitor from cache
Fetched https://github.com/iSapozhnik/EventMonitor from cache (0.47s)
Computing version for https://github.com/iSapozhnik/EventMonitor
Computed https://github.com/iSapozhnik/EventMonitor at 1.0.1 (0.02s)
Creating working copy for https://github.com/iSapozhnik/Menu.git
Working copy of https://github.com/iSapozhnik/Menu.git resolved at 1.10.2 (e1950e0)
Creating working copy for https://github.com/iSapozhnik/EventMonitor
Working copy of https://github.com/iSapozhnik/EventMonitor resolved at 1.0.1
warning: '.resolve-product-dependencies': dependency 'menu' is not used by any target
Found 1 product dependencies
  - EventMonitor
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/iSapozhnik/Menu.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/5] Compiling EventMonitor EventMonitor.swift
[5/5] Emitting module EventMonitor
[6/18] Compiling Menu ScrollView.swift
[7/18] Compiling Menu VerticallyCenteredTextFieldCell.swift
[8/19] Compiling Menu Window.swift
[9/19] Compiling Menu MenuScroller.swift
/Users/admin/builder/spi-builder-workspace/Sources/Menu/MenuScroller.swift:49:9: warning: call to main actor-isolated instance method 'commonInit()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 47 |     override func awakeFromNib() {
 48 |         super.awakeFromNib()
 49 |         commonInit()
    |         `- warning: call to main actor-isolated instance method 'commonInit()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 50 |     }
 51 |
 52 |     func commonInit() {
    |          `- note: calls to instance method 'commonInit()' from outside of its actor context are implicitly asynchronous
 53 |         trackingArea = NSTrackingArea.init(rect: bounds, options: [.mouseEnteredAndExited, .activeInActiveApp, .mouseMoved], owner: self, userInfo: nil)
 54 |         addTrackingArea(trackingArea)
[10/19] Compiling Menu MenuItem.swift
[11/19] Compiling Menu RoundedRectangleView.swift
[12/19] Compiling Menu MenuElement.swift
[13/19] Compiling Menu CheckmarkView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Menu/CheckmarkView.swift:88:10: warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
85 | }
86 |
87 | extension CheckmarkView: CAAnimationDelegate {
   |                          `- note: add '@preconcurrency' to the 'CAAnimationDelegate' conformance to defer isolation checking to run time
88 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
   |          |- warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |          `- note: add 'nonisolated' to 'animationDidStop(_:finished:)' to make this instance method not isolated to the actor
89 |         animationCompletion?()
90 |     }
QuartzCore.CAAnimationDelegate:4:19: note: 'animationDidStop(_:finished:)' declared here
2 | public protocol CAAnimationDelegate : NSObjectProtocol {
3 |     optional func animationDidStart(_ anim: CAAnimation)
4 |     optional func animationDidStop(_ anim: CAAnimation, finished flag: Bool)
  |                   `- note: 'animationDidStop(_:finished:)' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:166:16: warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
    |                |- warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeInEaseOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/ContentViewController.swift:176:10: warning: main actor-isolated instance method 'didClickMenuElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
173 | }
174 |
175 | extension ContentViewController: MenuElementDelegate {
    |                                  `- note: add '@preconcurrency' to the 'MenuElementDelegate' conformance to defer isolation checking to run time
176 |     func didClickMenuElement(_ menuElement: MenuElement) {
    |          |- warning: main actor-isolated instance method 'didClickMenuElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'didClickMenuElement' to make this instance method not isolated to the actor
177 |         guard let index = menuElements.firstIndex(of: menuElement) else { return }
178 |         guard menuItems.indices.contains(index) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/MenuElement.swift:11:10: note: mark the protocol requirement 'didClickMenuElement' 'async' to allow actor-isolated conformances
  9 |
 10 | protocol MenuElementDelegate: AnyObject {
 11 |     func didClickMenuElement(_ menuElement: MenuElement)
    |          `- note: mark the protocol requirement 'didClickMenuElement' 'async' to allow actor-isolated conformances
 12 | }
 13 |
[14/19] Compiling Menu ContentViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/Menu/CheckmarkView.swift:88:10: warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
85 | }
86 |
87 | extension CheckmarkView: CAAnimationDelegate {
   |                          `- note: add '@preconcurrency' to the 'CAAnimationDelegate' conformance to defer isolation checking to run time
88 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
   |          |- warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |          `- note: add 'nonisolated' to 'animationDidStop(_:finished:)' to make this instance method not isolated to the actor
89 |         animationCompletion?()
90 |     }
QuartzCore.CAAnimationDelegate:4:19: note: 'animationDidStop(_:finished:)' declared here
2 | public protocol CAAnimationDelegate : NSObjectProtocol {
3 |     optional func animationDidStart(_ anim: CAAnimation)
4 |     optional func animationDidStop(_ anim: CAAnimation, finished flag: Bool)
  |                   `- note: 'animationDidStop(_:finished:)' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:166:16: warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
    |                |- warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeInEaseOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/ContentViewController.swift:176:10: warning: main actor-isolated instance method 'didClickMenuElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
173 | }
174 |
175 | extension ContentViewController: MenuElementDelegate {
    |                                  `- note: add '@preconcurrency' to the 'MenuElementDelegate' conformance to defer isolation checking to run time
176 |     func didClickMenuElement(_ menuElement: MenuElement) {
    |          |- warning: main actor-isolated instance method 'didClickMenuElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'didClickMenuElement' to make this instance method not isolated to the actor
177 |         guard let index = menuElements.firstIndex(of: menuElement) else { return }
178 |         guard menuItems.indices.contains(index) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/MenuElement.swift:11:10: note: mark the protocol requirement 'didClickMenuElement' 'async' to allow actor-isolated conformances
  9 |
 10 | protocol MenuElementDelegate: AnyObject {
 11 |     func didClickMenuElement(_ menuElement: MenuElement)
    |          `- note: mark the protocol requirement 'didClickMenuElement' 'async' to allow actor-isolated conformances
 12 | }
 13 |
[15/19] Compiling Menu Control.swift
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:166:16: warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
    |                |- warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeInEaseOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:168:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
    |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | }
170 |
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:164:16: warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | public extension CAMediaTimingFunction {
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
    |                |- warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeIn' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:165:16: warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
163 | public extension CAMediaTimingFunction {
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
    |                |- warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:167:16: warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
    |                |- warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'linear' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     static let `default` = CAMediaTimingFunction(name: .default)
169 | }
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:43:35: warning: call to main actor-isolated instance method 'makeKey()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
    |                                   `- warning: call to main actor-isolated instance method 'makeKey()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
AppKit.NSWindow:174:26: note: calls to instance method 'makeKey()' from outside of its actor context are implicitly asynchronous
 172 |     @available(swift, obsoleted: 3, renamed: "canBecomeMain")
 173 |     open var canBecomeMainWindow: Bool { get }
 174 |     @MainActor open func makeKey()
     |                          `- note: calls to instance method 'makeKey()' from outside of its actor context are implicitly asynchronous
 175 |     @available(swift, obsoleted: 3, renamed: "makeKey()")
 176 |     open func makeKeyWindow()
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:44:48: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
    |                                                `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 45 |             case .orderFront: window.orderFront(sender)
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
AppKit.NSWindow:144:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 142 |     open var canHide: Bool { get set }
 143 |     open func center()
 144 |     @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
     |                          `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 145 |     @MainActor open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:45:38: warning: call to main actor-isolated instance method 'orderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
    |                                      `- warning: call to main actor-isolated instance method 'orderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
 47 |             }
AppKit.NSWindow:145:26: note: calls to instance method 'orderFront' from outside of its actor context are implicitly asynchronous
 143 |     open func center()
 144 |     @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
 145 |     @MainActor open func orderFront(_ sender: Any?)
     |                          `- note: calls to instance method 'orderFront' from outside of its actor context are implicitly asynchronous
 146 |     open func orderBack(_ sender: Any?)
 147 |     open func orderOut(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:46:48: warning: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
    |                                                `- warning: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 47 |             }
 48 |         }
AppKit.NSWindow:151:26: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
 149 |     @available(swift, obsoleted: 3, renamed: "order(_:relativeTo:)")
 150 |     open func orderWindow(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)
 151 |     @MainActor open func orderFrontRegardless()
     |                          `- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
 152 |     open var miniwindowImage: NSImage? { get set }
 153 |     open var miniwindowTitle: String! { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:68:36: warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 66 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
    |                                    `- warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
AppKit.NSWindow:147:15: note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 145 |     @MainActor open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
 147 |     open func orderOut(_ sender: Any?)
     |               `- note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 148 |     open func order(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)
 149 |     @available(swift, obsoleted: 3, renamed: "order(_:relativeTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:69:33: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 66 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
 69 |             case .close: window.close()
    |                                 `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |             case .performClose: window.performClose(sender)
 71 |             }
AppKit.NSWindow:95:15: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  93 |     weak open var firstResponder: NSResponder? { get }
  94 |     open var resizeFlags: NSEvent.ModifierFlags { get }
  95 |     open func close()
     |               `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  96 |     open var isReleasedWhenClosed: Bool { get set }
  97 |     @available(swift, obsoleted: 3, renamed: "isReleasedWhenClosed")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:70:40: warning: call to main actor-isolated instance method 'performClose' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 66 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
    |                                        `- warning: call to main actor-isolated instance method 'performClose' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 71 |             }
 72 |         }
AppKit.NSWindow:233:15: note: calls to instance method 'performClose' from outside of its actor context are implicitly asynchronous
 231 |     @available(macOS 10.7, *)
 232 |     open var backingScaleFactor: CGFloat { get }
 233 |     open func performClose(_ sender: Any?)
     |               `- note: calls to instance method 'performClose' from outside of its actor context are implicitly asynchronous
 234 |     open func performMiniaturize(_ sender: Any?)
 235 |     open func performZoom(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:44:48: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
    |                                                `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 45 |             case .orderFront: window.orderFront(sender)
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:45:38: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
    |                                      `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
 47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:68:36: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 66 |         public func run(on window: NSWindow, sender: Any?) {
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
    |                                    `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:70:40: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 68 |             case .orderOut: window.orderOut(sender)
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
    |                                        `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 71 |             }
 72 |         }
[16/19] Compiling Menu Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:166:16: warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
    |                |- warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeInEaseOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:168:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
    |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | }
170 |
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:164:16: warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | public extension CAMediaTimingFunction {
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
    |                |- warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeIn' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:165:16: warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
163 | public extension CAMediaTimingFunction {
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
    |                |- warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:167:16: warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
    |                |- warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'linear' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     static let `default` = CAMediaTimingFunction(name: .default)
169 | }
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:43:35: warning: call to main actor-isolated instance method 'makeKey()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
    |                                   `- warning: call to main actor-isolated instance method 'makeKey()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
AppKit.NSWindow:174:26: note: calls to instance method 'makeKey()' from outside of its actor context are implicitly asynchronous
 172 |     @available(swift, obsoleted: 3, renamed: "canBecomeMain")
 173 |     open var canBecomeMainWindow: Bool { get }
 174 |     @MainActor open func makeKey()
     |                          `- note: calls to instance method 'makeKey()' from outside of its actor context are implicitly asynchronous
 175 |     @available(swift, obsoleted: 3, renamed: "makeKey()")
 176 |     open func makeKeyWindow()
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:44:48: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
    |                                                `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 45 |             case .orderFront: window.orderFront(sender)
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
AppKit.NSWindow:144:26: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 142 |     open var canHide: Bool { get set }
 143 |     open func center()
 144 |     @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
     |                          `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
 145 |     @MainActor open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:45:38: warning: call to main actor-isolated instance method 'orderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
    |                                      `- warning: call to main actor-isolated instance method 'orderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
 47 |             }
AppKit.NSWindow:145:26: note: calls to instance method 'orderFront' from outside of its actor context are implicitly asynchronous
 143 |     open func center()
 144 |     @MainActor open func makeKeyAndOrderFront(_ sender: Any?)
 145 |     @MainActor open func orderFront(_ sender: Any?)
     |                          `- note: calls to instance method 'orderFront' from outside of its actor context are implicitly asynchronous
 146 |     open func orderBack(_ sender: Any?)
 147 |     open func orderOut(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:46:48: warning: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 41 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
    |                                                `- warning: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 47 |             }
 48 |         }
AppKit.NSWindow:151:26: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
 149 |     @available(swift, obsoleted: 3, renamed: "order(_:relativeTo:)")
 150 |     open func orderWindow(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)
 151 |     @MainActor open func orderFrontRegardless()
     |                          `- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
 152 |     open var miniwindowImage: NSImage? { get set }
 153 |     open var miniwindowTitle: String! { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:68:36: warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 66 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
    |                                    `- warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
AppKit.NSWindow:147:15: note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 145 |     @MainActor open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
 147 |     open func orderOut(_ sender: Any?)
     |               `- note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 148 |     open func order(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)
 149 |     @available(swift, obsoleted: 3, renamed: "order(_:relativeTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:69:33: warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 66 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
 69 |             case .close: window.close()
    |                                 `- warning: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 70 |             case .performClose: window.performClose(sender)
 71 |             }
AppKit.NSWindow:95:15: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  93 |     weak open var firstResponder: NSResponder? { get }
  94 |     open var resizeFlags: NSEvent.ModifierFlags { get }
  95 |     open func close()
     |               `- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
  96 |     open var isReleasedWhenClosed: Bool { get set }
  97 |     @available(swift, obsoleted: 3, renamed: "isReleasedWhenClosed")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:70:40: warning: call to main actor-isolated instance method 'performClose' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 64 |
 65 |         /// Runs the function represented by this case on the given window, passing the given selector if needed
 66 |         public func run(on window: NSWindow, sender: Any?) {
    |                     `- note: add '@MainActor' to make instance method 'run(on:sender:)' part of global actor 'MainActor'
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
    |                                        `- warning: call to main actor-isolated instance method 'performClose' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 71 |             }
 72 |         }
AppKit.NSWindow:233:15: note: calls to instance method 'performClose' from outside of its actor context are implicitly asynchronous
 231 |     @available(macOS 10.7, *)
 232 |     open var backingScaleFactor: CGFloat { get }
 233 |     open func performClose(_ sender: Any?)
     |               `- note: calls to instance method 'performClose' from outside of its actor context are implicitly asynchronous
 234 |     open func performMiniaturize(_ sender: Any?)
 235 |     open func performZoom(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:44:48: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 42 |             switch self {
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
    |                                                `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 45 |             case .orderFront: window.orderFront(sender)
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:45:38: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 43 |             case .makeKey: window.makeKey()
 44 |             case .makeKeyAndOrderFront: window.makeKeyAndOrderFront(sender)
 45 |             case .orderFront: window.orderFront(sender)
    |                                      `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 46 |             case .orderFrontRegardless: window.orderFrontRegardless()
 47 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:68:36: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 66 |         public func run(on window: NSWindow, sender: Any?) {
 67 |             switch self {
 68 |             case .orderOut: window.orderOut(sender)
    |                                    `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:70:40: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 68 |             case .orderOut: window.orderOut(sender)
 69 |             case .close: window.close()
 70 |             case .performClose: window.performClose(sender)
    |                                        `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 71 |             }
 72 |         }
[17/19] Emitting module Menu
/Users/admin/builder/spi-builder-workspace/Sources/Menu/CheckmarkView.swift:88:10: warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
85 | }
86 |
87 | extension CheckmarkView: CAAnimationDelegate {
   |                          `- note: add '@preconcurrency' to the 'CAAnimationDelegate' conformance to defer isolation checking to run time
88 |     func animationDidStop(_ anim: CAAnimation, finished flag: Bool) {
   |          |- warning: main actor-isolated instance method 'animationDidStop(_:finished:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |          `- note: add 'nonisolated' to 'animationDidStop(_:finished:)' to make this instance method not isolated to the actor
89 |         animationCompletion?()
90 |     }
QuartzCore.CAAnimationDelegate:4:19: note: 'animationDidStop(_:finished:)' declared here
2 | public protocol CAAnimationDelegate : NSObjectProtocol {
3 |     optional func animationDidStart(_ anim: CAAnimation)
4 |     optional func animationDidStop(_ anim: CAAnimation, finished flag: Bool)
  |                   `- note: 'animationDidStop(_:finished:)' declared here
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/ContentViewController.swift:176:10: warning: main actor-isolated instance method 'didClickMenuElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
173 | }
174 |
175 | extension ContentViewController: MenuElementDelegate {
    |                                  `- note: add '@preconcurrency' to the 'MenuElementDelegate' conformance to defer isolation checking to run time
176 |     func didClickMenuElement(_ menuElement: MenuElement) {
    |          |- warning: main actor-isolated instance method 'didClickMenuElement' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
    |          `- note: add 'nonisolated' to 'didClickMenuElement' to make this instance method not isolated to the actor
177 |         guard let index = menuElements.firstIndex(of: menuElement) else { return }
178 |         guard menuItems.indices.contains(index) else { return }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/MenuElement.swift:11:10: note: mark the protocol requirement 'didClickMenuElement' 'async' to allow actor-isolated conformances
  9 |
 10 | protocol MenuElementDelegate: AnyObject {
 11 |     func didClickMenuElement(_ menuElement: MenuElement)
    |          `- note: mark the protocol requirement 'didClickMenuElement' 'async' to allow actor-isolated conformances
 12 | }
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:168:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
    |                |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
169 | }
170 |
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:164:16: warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
162 |
163 | public extension CAMediaTimingFunction {
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
    |                |- warning: static property 'easeIn' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeIn' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:165:16: warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
163 | public extension CAMediaTimingFunction {
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
    |                |- warning: static property 'easeOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:166:16: warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
164 |     static let easeIn = CAMediaTimingFunction(name: .easeIn)
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
    |                |- warning: static property 'easeInEaseOut' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'easeInEaseOut' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 |     static let linear = CAMediaTimingFunction(name: .linear)
168 |     static let `default` = CAMediaTimingFunction(name: .default)
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Extensions.swift:167:16: warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
165 |     static let easeOut = CAMediaTimingFunction(name: .easeOut)
166 |     static let easeInEaseOut = CAMediaTimingFunction(name: .easeInEaseOut)
167 |     static let linear = CAMediaTimingFunction(name: .linear)
    |                |- warning: static property 'linear' is not concurrency-safe because non-'Sendable' type 'CAMediaTimingFunction' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'linear' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
168 |     static let `default` = CAMediaTimingFunction(name: .default)
169 | }
QuartzCore.CAMediaTimingFunction:2:12: note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 1 | @available(macOS 10.5, *)
 2 | open class CAMediaTimingFunction : NSObject, NSSecureCoding {
   |            `- note: class 'CAMediaTimingFunction' does not conform to the 'Sendable' protocol
 3 |     public convenience init(name: CAMediaTimingFunctionName)
 4 |     @available(*, unavailable, renamed: "init(name:)", message: "Not available in Swift")
[18/19] Compiling Menu Menu.swift
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:45:35: warning: call to main actor-isolated instance method 'removeChildWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 43 |     public func dismiss(animated: Bool = true) {
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
    |                                   `- warning: call to main actor-isolated instance method 'removeChildWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 46 |             self?.window?.orderOut(self)
 47 |             self?.window = nil
AppKit.NSWindow:328:26: note: calls to instance method 'removeChildWindow' from outside of its actor context are implicitly asynchronous
 326 |     open func standardWindowButton(_ b: NSWindow.ButtonType) -> NSButton?
 327 |     open func addChildWindow(_ childWin: NSWindow, ordered place: NSWindow.OrderingMode)
 328 |     @MainActor open func removeChildWindow(_ childWin: NSWindow)
     |                          `- note: calls to instance method 'removeChildWindow' from outside of its actor context are implicitly asynchronous
 329 |     open var childWindows: [NSWindow]? { get }
 330 |     weak open var parent: NSWindow? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:45:27: warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 43 |     public func dismiss(animated: Bool = true) {
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
    |                           `- warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 46 |             self?.window?.orderOut(self)
 47 |             self?.window = nil
AppKit.NSWindow:330:19: note: property declared here
 328 |     @MainActor open func removeChildWindow(_ childWin: NSWindow)
 329 |     open var childWindows: [NSWindow]? { get }
 330 |     weak open var parent: NSWindow? { get set }
     |                   `- note: property declared here
 331 |     @available(swift, obsoleted: 3, renamed: "parent")
 332 |     weak open var parentWindow: NSWindow? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:46:27: warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
 46 |             self?.window?.orderOut(self)
    |                           `- warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 47 |             self?.window = nil
 48 |             self?.stopMonitors()
AppKit.NSWindow:147:26: note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 145 |     open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
 147 |     @MainActor open func orderOut(_ sender: Any?)
     |                          `- note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 148 |     open func order(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)
 149 |     @available(swift, obsoleted: 3, renamed: "order(_:relativeTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:138:54: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 |     // MARK: - Private
137 |     private func show(_ items: [MenuItem], from view: NSView, animated: Bool) {
    |                  `- note: add '@MainActor' to make instance method 'show(_:from:animated:)' part of global actor 'MainActor'
138 |         guard window == nil, let parentWindow = view.window else { return }
    |                                                      `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |
140 |         let menuWindow = makeWindow(
AppKit.NSView:4:41: note: property declared here
  2 |     public init(frame frameRect: NSRect)
  3 |     public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:153:24: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 |     // MARK: - Private
137 |     private func show(_ items: [MenuItem], from view: NSView, animated: Bool) {
    |                  `- note: add '@MainActor' to make instance method 'show(_:from:animated:)' part of global actor 'MainActor'
138 |         guard window == nil, let parentWindow = view.window else { return }
139 |
    :
151 |             fadeIn(menuWindow)
152 |         } else {
153 |             menuWindow.alphaValue = 1.0
    |                        `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
154 |         }
155 |     }
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:158:16: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
155 |     }
156 |
157 |     private func fadeIn(_ window: NSWindow) {
    |                  `- note: add '@MainActor' to make instance method 'fadeIn' part of global actor 'MainActor'
158 |         window.alphaValue = 0.0
    |                `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
159 |
160 |         NSAnimationContext.runAnimationGroup { context in
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:163:31: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
161 |             context.duration = configuration.animationDuration
162 |             context.timingFunction = CAMediaTimingFunction(name: .easeIn)
163 |             window.animator().alphaValue = 1.0
    |                               `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |         }
165 |     }
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:163:20: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |             context.duration = configuration.animationDuration
162 |             context.timingFunction = CAMediaTimingFunction(name: .easeIn)
163 |             window.animator().alphaValue = 1.0
    |                    `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
164 |         }
165 |     }
AppKit.NSWindow:450:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 448 |     open var effectiveAppearance: NSAppearance { get }
 449 |     @available(macOS 10.5, *)
 450 |     open func animator() -> Self
     |               `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 451 |     @available(macOS 10.5, *)
 452 |     open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:171:31: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
169 |             context.duration = configuration.animationDuration
170 |             context.timingFunction = CAMediaTimingFunction(name: .easeOut)
171 |             window.animator().alphaValue = 0.0
    |                               `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
172 |         }, completionHandler: {
173 |             completion()
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:171:20: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
169 |             context.duration = configuration.animationDuration
170 |             context.timingFunction = CAMediaTimingFunction(name: .easeOut)
171 |             window.animator().alphaValue = 0.0
    |                    `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 |         }, completionHandler: {
173 |             completion()
AppKit.NSWindow:450:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 448 |     open var effectiveAppearance: NSAppearance { get }
 449 |     @available(macOS 10.5, *)
 450 |     open func animator() -> Self
     |               `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 451 |     @available(macOS 10.5, *)
 452 |     open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:179:13: warning: capture of 'self' with non-sendable type 'Menu?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 | import EventMonitor
 10 |
 11 | public final class Menu {
    |                    `- note: class 'Menu' does not conform to the 'Sendable' protocol
 12 |     public private(set) var items: [MenuItem]
 13 |     public var numberOfItems: Int {
    :
177 |     private func setupMonitors(for parentWindow: NSWindow, targetView: NSView) {
178 |         lostFocusObserver = NotificationCenter.default.addObserver(forName: NSWindow.didResignKeyNotification, object: parentWindow, queue: nil, using: { [weak self] (_ arg1: Notification) -> Void in
179 |             self?.dismiss(animated: false)
    |             `- warning: capture of 'self' with non-sendable type 'Menu?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
180 |         })
181 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:213:37: warning: call to main actor-isolated initializer 'init(with:menuItems:selectedId:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
    |                                     `- warning: call to main actor-isolated initializer 'init(with:menuItems:selectedId:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
214 |         contentViewController.delegate = self
215 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/ContentViewController.swift:41:5: note: calls to initializer 'init(with:menuItems:selectedId:configuration:)' from outside of its actor context are implicitly asynchronous
 39 |     }()
 40 |
 41 |     init(with titleString: String?, menuItems: [MenuItem], selectedId: UUID?, configuration: Configuration) {
    |     `- note: calls to initializer 'init(with:menuItems:selectedId:configuration:)' from outside of its actor context are implicitly asynchronous
 42 |         self.titleString = titleString
 43 |         self.menuItems = menuItems
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:214:31: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
    |                               `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
215 |
216 |         let window = Window.make(with: configuration)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/ContentViewController.swift:15:14: note: mutation of this property is only permitted within the actor
 13 |
 14 | class ContentViewController: NSViewController {
 15 |     weak var delegate: ContentViewControllerDelegate?
    |              `- note: mutation of this property is only permitted within the actor
 16 |
 17 |     private let titleString: String?
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:216:29: warning: call to main actor-isolated static method 'make(with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
215 |
216 |         let window = Window.make(with: configuration)
    |                             `- warning: call to main actor-isolated static method 'make(with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
217 |         window.contentViewController = contentViewController
218 |         parentWindow.addChildWindow(window, ordered: .above)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Window.swift:36:17: note: calls to static method 'make(with:)' from outside of its actor context are implicitly asynchronous
34 |     }
35 |
36 |     static func make(with configuration: Configuration) -> Window {
   |                 `- note: calls to static method 'make(with:)' from outside of its actor context are implicitly asynchronous
37 |         return Window.init(
38 |             contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:217:16: warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
215 |
216 |         let window = Window.make(with: configuration)
217 |         window.contentViewController = contentViewController
    |                `- warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
218 |         parentWindow.addChildWindow(window, ordered: .above)
219 |
AppKit.NSWindow:360:14: note: mutation of this property is only permitted within the actor
 358 |     open var titlebarSeparatorStyle: NSTitlebarSeparatorStyle { get set }
 359 |     @available(macOS 10.10, *)
 360 |     open var contentViewController: NSViewController? { get set }
     |              `- note: mutation of this property is only permitted within the actor
 361 |     @available(macOS 10.10, *)
 362 |     public convenience init(contentViewController: NSViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:218:22: warning: call to main actor-isolated instance method 'addChildWindow(_:ordered:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
    :
216 |         let window = Window.make(with: configuration)
217 |         window.contentViewController = contentViewController
218 |         parentWindow.addChildWindow(window, ordered: .above)
    |                      `- warning: call to main actor-isolated instance method 'addChildWindow(_:ordered:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
219 |
220 |         setFrame(for: window, relativeTo: targetView)
AppKit.NSWindow:327:15: note: calls to instance method 'addChildWindow(_:ordered:)' from outside of its actor context are implicitly asynchronous
 325 |     open class func standardWindowButton(_ b: NSWindow.ButtonType, forStyleMask styleMask: NSWindow.StyleMask) -> NSButton?
 326 |     open func standardWindowButton(_ b: NSWindow.ButtonType) -> NSButton?
 327 |     open func addChildWindow(_ childWin: NSWindow, ordered place: NSWindow.OrderingMode)
     |               `- note: calls to instance method 'addChildWindow(_:ordered:)' from outside of its actor context are implicitly asynchronous
 328 |     @MainActor open func removeChildWindow(_ childWin: NSWindow)
 329 |     open var childWindows: [NSWindow]? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:226:39: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
    |                                       `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
AppKit.NSView:4:41: note: property declared here
  2 |     public init(frame frameRect: NSRect)
  3 |     public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:226:83: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
    |                                                                                   `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
AppKit.NSWindow:56:14: note: property declared here
  54 |     @available(swift, obsoleted: 3, renamed: "isExcludedFromWindowsMenu")
  55 |     open var excludedFromWindowsMenu: Bool { get set }
  56 |     open var contentView: NSView? { get set }
     |              `- note: property declared here
  57 |     weak open var delegate: (any NSWindowDelegate)? { get set }
  58 |     open var windowNumber: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:228:37: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
    |                                     `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(view.frame)))
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
AppKit.NSView:92:15: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
 90 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
 91 |     open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
 92 |     open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
    |               `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
 93 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
 94 |     open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:228:62: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
    |                                                              `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(view.frame)))
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:229:94: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(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
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
231 |         let origin = rectInScreen.origin
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:229:124: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(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
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
231 |         let origin = rectInScreen.origin
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:230:41: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(view.frame)))
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
    |                                         `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
231 |         let origin = rectInScreen.origin
232 |         var additionalYOffset = configuration.appearsBelowSender ? NSHeight(view.frame) : 0
AppKit.NSWindow:196:15: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     open func convertToScreen(_ rect: NSRect) -> NSRect
     |               `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:232:82: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
231 |         let origin = rectInScreen.origin
232 |         var additionalYOffset = configuration.appearsBelowSender ? NSHeight(view.frame) : 0
    |                                                                                  `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
233 |         additionalYOffset += abs(configuration.presentingOffset)
234 |
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:238:74: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
236 |         switch configuration.appearancePosition {
237 |         case .rightBottom:
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:238:122: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
236 |         switch configuration.appearancePosition {
237 |         case .rightBottom:
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:238:154: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
236 |         switch configuration.appearancePosition {
237 |         case .rightBottom:
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:240:97: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:240:129: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:242:60: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:242:82: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:242:143: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:242:175: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:244:60: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:244:82: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:244:120: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:244:168: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:244:200: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:247:16: warning: call to main actor-isolated instance method 'setFrame(_:display:animate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
245 |         }
246 |
247 |         window.setFrame(newFrame, display: true, animate: false)
    |                `- warning: call to main actor-isolated instance method 'setFrame(_:display:animate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
248 |     }
249 | }
AppKit.NSWindow:80:15: note: calls to instance method 'setFrame(_:display:animate:)' from outside of its actor context are implicitly asynchronous
  78 |     open var frame: NSRect { get }
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
     |               `- note: calls to instance method 'setFrame(_:display:animate:)' from outside of its actor context are implicitly asynchronous
  81 |     @available(macOS 10.6, *)
  82 |     open var inLiveResize: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:213:37: warning: sending 'menuItems' risks causing data races; this is an error in the Swift 6 language mode
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
    |                                     |- warning: sending 'menuItems' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending task-isolated 'menuItems' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
214 |         contentViewController.delegate = self
215 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:213:37: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
    |                                     |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending task-isolated 'self.configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
214 |         contentViewController.delegate = self
215 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:216:29: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
214 |         contentViewController.delegate = self
215 |
216 |         let window = Window.make(with: configuration)
    |                             |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'self.configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
217 |         window.contentViewController = contentViewController
218 |         parentWindow.addChildWindow(window, ordered: .above)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:46:27: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
 46 |             self?.window?.orderOut(self)
    |                           `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 47 |             self?.window = nil
 48 |             self?.stopMonitors()
[19/19] Compiling Menu MenuConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:45:35: warning: call to main actor-isolated instance method 'removeChildWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 43 |     public func dismiss(animated: Bool = true) {
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
    |                                   `- warning: call to main actor-isolated instance method 'removeChildWindow' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 46 |             self?.window?.orderOut(self)
 47 |             self?.window = nil
AppKit.NSWindow:328:26: note: calls to instance method 'removeChildWindow' from outside of its actor context are implicitly asynchronous
 326 |     open func standardWindowButton(_ b: NSWindow.ButtonType) -> NSButton?
 327 |     open func addChildWindow(_ childWin: NSWindow, ordered place: NSWindow.OrderingMode)
 328 |     @MainActor open func removeChildWindow(_ childWin: NSWindow)
     |                          `- note: calls to instance method 'removeChildWindow' from outside of its actor context are implicitly asynchronous
 329 |     open var childWindows: [NSWindow]? { get }
 330 |     weak open var parent: NSWindow? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:45:27: warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 43 |     public func dismiss(animated: Bool = true) {
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
    |                           `- warning: main actor-isolated property 'parent' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
 46 |             self?.window?.orderOut(self)
 47 |             self?.window = nil
AppKit.NSWindow:330:19: note: property declared here
 328 |     @MainActor open func removeChildWindow(_ childWin: NSWindow)
 329 |     open var childWindows: [NSWindow]? { get }
 330 |     weak open var parent: NSWindow? { get set }
     |                   `- note: property declared here
 331 |     @available(swift, obsoleted: 3, renamed: "parent")
 332 |     weak open var parentWindow: NSWindow? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:46:27: warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
 46 |             self?.window?.orderOut(self)
    |                           `- warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 47 |             self?.window = nil
 48 |             self?.stopMonitors()
AppKit.NSWindow:147:26: note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 145 |     open func orderFront(_ sender: Any?)
 146 |     open func orderBack(_ sender: Any?)
 147 |     @MainActor open func orderOut(_ sender: Any?)
     |                          `- note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
 148 |     open func order(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)
 149 |     @available(swift, obsoleted: 3, renamed: "order(_:relativeTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:138:54: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 |     // MARK: - Private
137 |     private func show(_ items: [MenuItem], from view: NSView, animated: Bool) {
    |                  `- note: add '@MainActor' to make instance method 'show(_:from:animated:)' part of global actor 'MainActor'
138 |         guard window == nil, let parentWindow = view.window else { return }
    |                                                      `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
139 |
140 |         let menuWindow = makeWindow(
AppKit.NSView:4:41: note: property declared here
  2 |     public init(frame frameRect: NSRect)
  3 |     public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:153:24: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
135 |
136 |     // MARK: - Private
137 |     private func show(_ items: [MenuItem], from view: NSView, animated: Bool) {
    |                  `- note: add '@MainActor' to make instance method 'show(_:from:animated:)' part of global actor 'MainActor'
138 |         guard window == nil, let parentWindow = view.window else { return }
139 |
    :
151 |             fadeIn(menuWindow)
152 |         } else {
153 |             menuWindow.alphaValue = 1.0
    |                        `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
154 |         }
155 |     }
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:158:16: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
155 |     }
156 |
157 |     private func fadeIn(_ window: NSWindow) {
    |                  `- note: add '@MainActor' to make instance method 'fadeIn' part of global actor 'MainActor'
158 |         window.alphaValue = 0.0
    |                `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
159 |
160 |         NSAnimationContext.runAnimationGroup { context in
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:163:31: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
161 |             context.duration = configuration.animationDuration
162 |             context.timingFunction = CAMediaTimingFunction(name: .easeIn)
163 |             window.animator().alphaValue = 1.0
    |                               `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
164 |         }
165 |     }
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:163:20: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
161 |             context.duration = configuration.animationDuration
162 |             context.timingFunction = CAMediaTimingFunction(name: .easeIn)
163 |             window.animator().alphaValue = 1.0
    |                    `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
164 |         }
165 |     }
AppKit.NSWindow:450:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 448 |     open var effectiveAppearance: NSAppearance { get }
 449 |     @available(macOS 10.5, *)
 450 |     open func animator() -> Self
     |               `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 451 |     @available(macOS 10.5, *)
 452 |     open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:171:31: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
169 |             context.duration = configuration.animationDuration
170 |             context.timingFunction = CAMediaTimingFunction(name: .easeOut)
171 |             window.animator().alphaValue = 0.0
    |                               `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
172 |         }, completionHandler: {
173 |             completion()
AppKit.NSWindow:253:14: note: mutation of this property is only permitted within the actor
 251 |     open var hasShadow: Bool { get set }
 252 |     open func invalidateShadow()
 253 |     open var alphaValue: CGFloat { get set }
     |              `- note: mutation of this property is only permitted within the actor
 254 |     open var isOpaque: Bool { get set }
 255 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:171:20: warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
169 |             context.duration = configuration.animationDuration
170 |             context.timingFunction = CAMediaTimingFunction(name: .easeOut)
171 |             window.animator().alphaValue = 0.0
    |                    `- warning: call to main actor-isolated instance method 'animator()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
172 |         }, completionHandler: {
173 |             completion()
AppKit.NSWindow:450:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 448 |     open var effectiveAppearance: NSAppearance { get }
 449 |     @available(macOS 10.5, *)
 450 |     open func animator() -> Self
     |               `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
 451 |     @available(macOS 10.5, *)
 452 |     open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:179:13: warning: capture of 'self' with non-sendable type 'Menu?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
  9 | import EventMonitor
 10 |
 11 | public final class Menu {
    |                    `- note: class 'Menu' does not conform to the 'Sendable' protocol
 12 |     public private(set) var items: [MenuItem]
 13 |     public var numberOfItems: Int {
    :
177 |     private func setupMonitors(for parentWindow: NSWindow, targetView: NSView) {
178 |         lostFocusObserver = NotificationCenter.default.addObserver(forName: NSWindow.didResignKeyNotification, object: parentWindow, queue: nil, using: { [weak self] (_ arg1: Notification) -> Void in
179 |             self?.dismiss(animated: false)
    |             `- warning: capture of 'self' with non-sendable type 'Menu?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
180 |         })
181 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:213:37: warning: call to main actor-isolated initializer 'init(with:menuItems:selectedId:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
    |                                     `- warning: call to main actor-isolated initializer 'init(with:menuItems:selectedId:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
214 |         contentViewController.delegate = self
215 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/ContentViewController.swift:41:5: note: calls to initializer 'init(with:menuItems:selectedId:configuration:)' from outside of its actor context are implicitly asynchronous
 39 |     }()
 40 |
 41 |     init(with titleString: String?, menuItems: [MenuItem], selectedId: UUID?, configuration: Configuration) {
    |     `- note: calls to initializer 'init(with:menuItems:selectedId:configuration:)' from outside of its actor context are implicitly asynchronous
 42 |         self.titleString = titleString
 43 |         self.menuItems = menuItems
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:214:31: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
    |                               `- warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
215 |
216 |         let window = Window.make(with: configuration)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/ContentViewController.swift:15:14: note: mutation of this property is only permitted within the actor
 13 |
 14 | class ContentViewController: NSViewController {
 15 |     weak var delegate: ContentViewControllerDelegate?
    |              `- note: mutation of this property is only permitted within the actor
 16 |
 17 |     private let titleString: String?
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:216:29: warning: call to main actor-isolated static method 'make(with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
215 |
216 |         let window = Window.make(with: configuration)
    |                             `- warning: call to main actor-isolated static method 'make(with:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
217 |         window.contentViewController = contentViewController
218 |         parentWindow.addChildWindow(window, ordered: .above)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Window.swift:36:17: note: calls to static method 'make(with:)' from outside of its actor context are implicitly asynchronous
34 |     }
35 |
36 |     static func make(with configuration: Configuration) -> Window {
   |                 `- note: calls to static method 'make(with:)' from outside of its actor context are implicitly asynchronous
37 |         return Window.init(
38 |             contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:217:16: warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
215 |
216 |         let window = Window.make(with: configuration)
217 |         window.contentViewController = contentViewController
    |                `- warning: main actor-isolated property 'contentViewController' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
218 |         parentWindow.addChildWindow(window, ordered: .above)
219 |
AppKit.NSWindow:360:14: note: mutation of this property is only permitted within the actor
 358 |     open var titlebarSeparatorStyle: NSTitlebarSeparatorStyle { get set }
 359 |     @available(macOS 10.10, *)
 360 |     open var contentViewController: NSViewController? { get set }
     |              `- note: mutation of this property is only permitted within the actor
 361 |     @available(macOS 10.10, *)
 362 |     public convenience init(contentViewController: NSViewController)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:218:22: warning: call to main actor-isolated instance method 'addChildWindow(_:ordered:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
210 |     }
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
    |                  `- note: add '@MainActor' to make instance method 'makeWindow(with:menuItems:attachedTo:relativeTo:)' part of global actor 'MainActor'
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
214 |         contentViewController.delegate = self
    :
216 |         let window = Window.make(with: configuration)
217 |         window.contentViewController = contentViewController
218 |         parentWindow.addChildWindow(window, ordered: .above)
    |                      `- warning: call to main actor-isolated instance method 'addChildWindow(_:ordered:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
219 |
220 |         setFrame(for: window, relativeTo: targetView)
AppKit.NSWindow:327:15: note: calls to instance method 'addChildWindow(_:ordered:)' from outside of its actor context are implicitly asynchronous
 325 |     open class func standardWindowButton(_ b: NSWindow.ButtonType, forStyleMask styleMask: NSWindow.StyleMask) -> NSButton?
 326 |     open func standardWindowButton(_ b: NSWindow.ButtonType) -> NSButton?
 327 |     open func addChildWindow(_ childWin: NSWindow, ordered place: NSWindow.OrderingMode)
     |               `- note: calls to instance method 'addChildWindow(_:ordered:)' from outside of its actor context are implicitly asynchronous
 328 |     @MainActor open func removeChildWindow(_ childWin: NSWindow)
 329 |     open var childWindows: [NSWindow]? { get }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:226:39: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
    |                                       `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
AppKit.NSView:4:41: note: property declared here
  2 |     public init(frame frameRect: NSRect)
  3 |     public init?(coder: NSCoder)
  4 |     @MainActor unowned(unsafe) open var window: NSWindow? { get }
    |                                         `- note: property declared here
  5 |     unowned(unsafe) open var superview: NSView? { get }
  6 |     open var subviews: [NSView] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:226:83: warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
    |                                                                                   `- warning: main actor-isolated property 'contentView' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
AppKit.NSWindow:56:14: note: property declared here
  54 |     @available(swift, obsoleted: 3, renamed: "isExcludedFromWindowsMenu")
  55 |     open var excludedFromWindowsMenu: Bool { get set }
  56 |     open var contentView: NSView? { get set }
     |              `- note: property declared here
  57 |     weak open var delegate: (any NSWindowDelegate)? { get set }
  58 |     open var windowNumber: Int { get }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:228:37: warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
    |                                     `- warning: call to main actor-isolated instance method 'convert(_:to:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(view.frame)))
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
AppKit.NSView:92:15: note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
 90 |     @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
 91 |     open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
 92 |     open func convert(_ point: NSPoint, to view: NSView?) -> NSPoint
    |               `- note: calls to instance method 'convert(_:to:)' from outside of its actor context are implicitly asynchronous
 93 |     @available(swift, obsoleted: 3, renamed: "convert(_:to:)")
 94 |     open func convertPoint(_ point: NSPoint, toView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:228:62: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
    |                                                              `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(view.frame)))
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:229:94: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(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
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
231 |         let origin = rectInScreen.origin
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:229:124: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(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
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
231 |         let origin = rectInScreen.origin
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:230:41: warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
228 |         let locationInWindow = view.convert(topMostSuperView.frame.origin, to: nil)
229 |         let rectInWindow = NSRect(origin: locationInWindow, size: CGSize(width: NSWidth(view.frame), height: NSHeight(view.frame)))
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
    |                                         `- warning: call to main actor-isolated instance method 'convertToScreen' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
231 |         let origin = rectInScreen.origin
232 |         var additionalYOffset = configuration.appearsBelowSender ? NSHeight(view.frame) : 0
AppKit.NSWindow:196:15: note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 194 |     open var preventsApplicationTerminationWhenModal: Bool { get set }
 195 |     @available(macOS 10.7, *)
 196 |     open func convertToScreen(_ rect: NSRect) -> NSRect
     |               `- note: calls to instance method 'convertToScreen' from outside of its actor context are implicitly asynchronous
 197 |     @available(macOS 10.7, *)
 198 |     @available(swift, obsoleted: 3, renamed: "convertToScreen(_:)")
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:232:82: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
230 |         let rectInScreen = parentWindow.convertToScreen(rectInWindow)
231 |         let origin = rectInScreen.origin
232 |         var additionalYOffset = configuration.appearsBelowSender ? NSHeight(view.frame) : 0
    |                                                                                  `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
233 |         additionalYOffset += abs(configuration.presentingOffset)
234 |
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:238:74: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
236 |         switch configuration.appearancePosition {
237 |         case .rightBottom:
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:238:122: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
236 |         switch configuration.appearancePosition {
237 |         case .rightBottom:
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:238:154: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
236 |         switch configuration.appearancePosition {
237 |         case .rightBottom:
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:240:97: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:240:129: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
238 |             newFrame = NSRect(x: origin.x, y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
239 |         case .rightTop:
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:242:60: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:242:82: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:242:143: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:242:175: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
240 |             newFrame = NSRect(x: origin.x, y: origin.y + additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
241 |         case .leftTop:
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:244:60: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:244:82: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:244:120: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:244:168: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSView:60:14: note: property declared here
 58 |     open func setFrameOrigin(_ newOrigin: NSPoint)
 59 |     open func setFrameSize(_ newSize: NSSize)
 60 |     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/Menu/Menu.swift:244:200: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
242 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.frame))
243 |         case .leftBottom:
244 |             newFrame = NSRect(x: origin.x - NSWidth(window.frame) + NSWidth(view.frame), y: origin.y - NSHeight(window.frame) - additionalYOffset, width: NSWidth(view.frame), height: NSHeight(window.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
245 |         }
246 |
AppKit.NSWindow:78:14: note: property declared here
  76 |     @available(macOS 15.0, *)
  77 |     open var cascadingReferenceFrame: NSRect { get }
  78 |     open var frame: NSRect { get }
     |              `- note: property declared here
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:247:16: warning: call to main actor-isolated instance method 'setFrame(_:display:animate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
223 |     }
224 |
225 |     private func setFrame(for window: NSWindow, relativeTo view: NSView) {
    |                  `- note: add '@MainActor' to make instance method 'setFrame(for:relativeTo:)' part of global actor 'MainActor'
226 |         guard let parentWindow = view.window, let topMostSuperView = parentWindow.contentView else { return }
227 |
    :
245 |         }
246 |
247 |         window.setFrame(newFrame, display: true, animate: false)
    |                `- warning: call to main actor-isolated instance method 'setFrame(_:display:animate:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
248 |     }
249 | }
AppKit.NSWindow:80:15: note: calls to instance method 'setFrame(_:display:animate:)' from outside of its actor context are implicitly asynchronous
  78 |     open var frame: NSRect { get }
  79 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
  80 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
     |               `- note: calls to instance method 'setFrame(_:display:animate:)' from outside of its actor context are implicitly asynchronous
  81 |     @available(macOS 10.6, *)
  82 |     open var inLiveResize: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:213:37: warning: sending 'menuItems' risks causing data races; this is an error in the Swift 6 language mode
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
    |                                     |- warning: sending 'menuItems' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending task-isolated 'menuItems' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
214 |         contentViewController.delegate = self
215 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:213:37: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
211 |
212 |     private func makeWindow(with title: String?, menuItems: [MenuItem], attachedTo parentWindow: NSWindow, relativeTo targetView: NSView) -> Window {
213 |         let contentViewController = ContentViewController(with: title, menuItems: menuItems, selectedId: selectedId, configuration: configuration)
    |                                     |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                                     `- note: sending task-isolated 'self.configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
214 |         contentViewController.delegate = self
215 |
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:216:29: warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
214 |         contentViewController.delegate = self
215 |
216 |         let window = Window.make(with: configuration)
    |                             |- warning: sending 'self.configuration' risks causing data races; this is an error in the Swift 6 language mode
    |                             `- note: sending task-isolated 'self.configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
217 |         window.contentViewController = contentViewController
218 |         parentWindow.addChildWindow(window, ordered: .above)
/Users/admin/builder/spi-builder-workspace/Sources/Menu/Menu.swift:46:27: warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 44 |         let actualDismiss: (NSWindow) -> Void = { [weak self] menuWindow in
 45 |             self?.window?.parent?.removeChildWindow(menuWindow)
 46 |             self?.window?.orderOut(self)
    |                           `- warning: sending task-isolated value of type 'Any?' with later accesses to main actor-isolated context risks causing data races; this is an error in the Swift 6 language mode
 47 |             self?.window = nil
 48 |             self?.stopMonitors()
Build complete! (9.40s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "eventmonitor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/iSapozhnik/EventMonitor"
    }
  ],
  "manifest_display_name" : "Menu",
  "name" : "Menu",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.12"
    }
  ],
  "products" : [
    {
      "name" : "Menu",
      "targets" : [
        "Menu"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MenuTests",
      "module_type" : "SwiftTarget",
      "name" : "MenuTests",
      "path" : "Tests/MenuTests",
      "sources" : [
        "MenuTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Menu"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Menu",
      "module_type" : "SwiftTarget",
      "name" : "Menu",
      "path" : "Sources/Menu",
      "product_dependencies" : [
        "EventMonitor"
      ],
      "product_memberships" : [
        "Menu"
      ],
      "sources" : [
        "CheckmarkView.swift",
        "ContentViewController.swift",
        "Control.swift",
        "Extensions.swift",
        "Menu.swift",
        "MenuConfiguration.swift",
        "MenuElement.swift",
        "MenuItem.swift",
        "MenuScroller.swift",
        "RoundedRectangleView.swift",
        "ScrollView.swift",
        "VerticallyCenteredTextFieldCell.swift",
        "Window.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.