This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

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 FluidMenuBarExtra with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lfroms/fluid-menu-bar-extra.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/lfroms/fluid-menu-bar-extra
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e152a3a Add support for macOS 12 (#13)
Cloned https://github.com/lfroms/fluid-menu-bar-extra.git
Revision (git rev-parse @):
e152a3a1a25aca24906217f8d4d63afbb08d7f97
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/lfroms/fluid-menu-bar-extra.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/lfroms/fluid-menu-bar-extra.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/9] Compiling FluidMenuBarExtra UpdateSizeAction.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/UpdateSizeAction.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private struct UpdateSizeKey: EnvironmentKey {
24 |     static var defaultValue: UpdateSizeAction?
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' 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
25 | }
26 |
[4/9] Compiling FluidMenuBarExtra RootViewModifier.swift
[5/9] Compiling FluidMenuBarExtra FluidMenuBarExtraWindow.swift
[6/9] Compiling FluidMenuBarExtra EventMonitor.swift
[7/9] Emitting module FluidMenuBarExtra
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/UpdateSizeAction.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | private struct UpdateSizeKey: EnvironmentKey {
24 |     static var defaultValue: UpdateSizeAction?
   |                |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: annotate 'defaultValue' 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
25 | }
26 |
[8/9] Compiling FluidMenuBarExtra FluidMenuBarExtraStatusItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:30:77: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 28 |
 29 |         localEventMonitor = LocalEventMonitor(mask: [.leftMouseDown]) { [weak self] event in
 30 |             if let button = self?.statusItem.button, event.window == button.window, !event.modifierFlags.contains(.command) {
    |                                                                             `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 31 |                 self?.didPressStatusBarButton(button)
 32 |
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:41:50: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 39 |
 40 |         globalEventMonitor = GlobalEventMonitor(mask: [.leftMouseDown, .rightMouseDown]) { [weak self] event in
 41 |             if let window = self?.window, window.isKeyWindow {
    |                                                  `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 42 |                 // Resign key window status if a external non-activating event is triggered,
 43 |                 // such as other system status bar menus.
AppKit.NSWindow:160:25: note: property declared here
158 |     @available(swift, obsoleted: 3, renamed: "isVisible")
159 |     open var visible: Bool { get }
160 |     @MainActor open var isKeyWindow: Bool { get }
    |                         `- note: property declared here
161 |     @available(swift, obsoleted: 3, renamed: "isKeyWindow")
162 |     open var keyWindow: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:44:24: warning: call to main actor-isolated instance method 'resignKey()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 42 |                 // Resign key window status if a external non-activating event is triggered,
 43 |                 // such as other system status bar menus.
 44 |                 window.resignKey()
    |                        `- warning: call to main actor-isolated instance method 'resignKey()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 45 |             }
 46 |         }
AppKit.NSWindow:181:26: note: calls to instance method 'resignKey()' from outside of its actor context are implicitly asynchronous
179 |     @available(swift, obsoleted: 3, renamed: "becomeKey()")
180 |     open func becomeKeyWindow()
181 |     @MainActor open func resignKey()
    |                          `- note: calls to instance method 'resignKey()' from outside of its actor context are implicitly asynchronous
182 |     @available(swift, obsoleted: 3, renamed: "resignKey()")
183 |     open func resignKeyWindow()
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:48:16: warning: main actor-isolated property 'delegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
 46 |         }
 47 |
 48 |         window.delegate = self
    |                `- warning: main actor-isolated property 'delegate' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
 49 |         localEventMonitor?.start()
 50 |     }
AppKit.NSWindow:57:19: note: mutation of this property is only permitted within the actor
 55 |     open var excludedFromWindowsMenu: Bool { get set }
 56 |     open var contentView: NSView? { get set }
 57 |     weak open var delegate: (any NSWindowDelegate)? { get set }
    |                   `- note: mutation of this property is only permitted within the actor
 58 |     open var windowNumber: Int { get }
 59 |     open var styleMask: NSWindow.StyleMask { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:57:19: warning: main actor-isolated property 'isVisible' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 54 |     }
 55 |
 56 |     private func didPressStatusBarButton(_ sender: NSStatusBarButton) {
    |                  `- note: add '@MainActor' to make instance method 'didPressStatusBarButton' part of global actor 'MainActor'
 57 |         if window.isVisible {
    |                   `- warning: main actor-isolated property 'isVisible' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 58 |             dismissWindow()
 59 |             return
AppKit.NSWindow:157:14: note: property declared here
155 |     @available(swift, obsoleted: 3, renamed: "isDocumentEdited")
156 |     open var documentEdited: Bool { get set }
157 |     open var isVisible: Bool { get }
    |              `- note: property declared here
158 |     @available(swift, obsoleted: 3, renamed: "isVisible")
159 |     open var visible: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:66:16: warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 54 |     }
 55 |
 56 |     private func didPressStatusBarButton(_ sender: NSStatusBarButton) {
    |                  `- note: add '@MainActor' to make instance method 'didPressStatusBarButton' part of global actor 'MainActor'
 57 |         if window.isVisible {
 58 |             dismissWindow()
    :
 64 |         // Tells the system to persist the menu bar in full screen mode.
 65 |         DistributedNotificationCenter.default().post(name: .beginMenuTracking, object: nil)
 66 |         window.makeKeyAndOrderFront(nil)
    |                `- warning: call to main actor-isolated instance method 'makeKeyAndOrderFront' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 67 |     }
 68 |
AppKit.NSWindow:142:15: note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
140 |     open var canHide: Bool { get set }
141 |     open func center()
142 |     open func makeKeyAndOrderFront(_ sender: Any?)
    |               `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
143 |     open func orderFront(_ sender: Any?)
144 |     open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:87:31: warning: main actor-isolated property 'alphaValue' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
 85 |             context.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
 86 |
 87 |             window.animator().alphaValue = 0
    |                               `- warning: main actor-isolated property 'alphaValue' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
 88 |
 89 |         } completionHandler: { [weak self] in
AppKit.NSWindow:251:14: note: mutation of this property is only permitted within the actor
249 |     open var hasShadow: Bool { get set }
250 |     open func invalidateShadow()
251 |     open var alphaValue: CGFloat { get set }
    |              `- note: mutation of this property is only permitted within the actor
252 |     open var isOpaque: Bool { get set }
253 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:87: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
 85 |             context.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
 86 |
 87 |             window.animator().alphaValue = 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
 88 |
 89 |         } completionHandler: { [weak self] in
AppKit.NSWindow:438:15: note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
436 |     open var effectiveAppearance: NSAppearance { get }
437 |     @available(macOS 10.5, *)
438 |     open func animator() -> Self
    |               `- note: calls to instance method 'animator()' from outside of its actor context are implicitly asynchronous
439 |     @available(macOS 10.5, *)
440 |     open func animation(forKey key: NSAnimatablePropertyKey) -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:90:26: warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 88 |
 89 |         } completionHandler: { [weak self] in
 90 |             self?.window.orderOut(nil)
    |                          `- warning: call to main actor-isolated instance method 'orderOut' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 91 |             self?.window.alphaValue = 1
 92 |             self?.setButtonHighlighted(to: false)
AppKit.NSWindow:145:15: note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
143 |     open func orderFront(_ sender: Any?)
144 |     open func orderBack(_ sender: Any?)
145 |     open func orderOut(_ sender: Any?)
    |               `- note: calls to instance method 'orderOut' from outside of its actor context are implicitly asynchronous
146 |     open func order(_ place: NSWindow.OrderingMode, relativeTo otherWin: Int)
147 |     @available(swift, obsoleted: 3, renamed: "order(_:relativeTo:)")
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:91:26: warning: main actor-isolated property 'alphaValue' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
 89 |         } completionHandler: { [weak self] in
 90 |             self?.window.orderOut(nil)
 91 |             self?.window.alphaValue = 1
    |                          `- warning: main actor-isolated property 'alphaValue' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
 92 |             self?.setButtonHighlighted(to: false)
 93 |         }
AppKit.NSWindow:251:14: note: mutation of this property is only permitted within the actor
249 |     open var hasShadow: Bool { get set }
250 |     open func invalidateShadow()
251 |     open var alphaValue: CGFloat { get set }
    |              `- note: mutation of this property is only permitted within the actor
252 |     open var isOpaque: Bool { get set }
253 |     @available(swift, obsoleted: 3, renamed: "isOpaque")
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:97:28: warning: call to main actor-isolated instance method 'highlight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 94 |     }
 95 |
 96 |     private func setButtonHighlighted(to highlight: Bool) {
    |                  `- note: add '@MainActor' to make instance method 'setButtonHighlighted(to:)' part of global actor 'MainActor'
 97 |         statusItem.button?.highlight(highlight)
    |                            `- warning: call to main actor-isolated instance method 'highlight' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
AppKit.NSButton:68:26: note: calls to instance method 'highlight' from outside of its actor context are implicitly asynchronous
66 |     open var allowsMixedState: Bool { get set }
67 |     open func setNextState()
68 |     @MainActor open func highlight(_ flag: Bool)
   |                          `- note: calls to instance method 'highlight' from outside of its actor context are implicitly asynchronous
69 |     open var keyEquivalent: String { get set }
70 |     open var keyEquivalentModifierMask: NSEvent.ModifierFlags { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:101:57: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
    |                                                         `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
102 |             // If we don't know where the status item is, just place the window in the center.
103 |             window.center()
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:103:20: warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
102 |             // If we don't know where the status item is, just place the window in the center.
103 |             window.center()
    |                    `- warning: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
104 |             return
105 |         }
AppKit.NSWindow:141:15: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
139 |     open var hidesOnDeactivate: Bool { get set }
140 |     open var canHide: Bool { get set }
141 |     open func center()
    |               `- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
142 |     open func makeKeyAndOrderFront(_ sender: Any?)
143 |     open func orderFront(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:107:43: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
102 |             // If we don't know where the status item is, just place the window in the center.
    :
105 |         }
106 |
107 |         var targetRect = statusItemWindow.frame
    |                                           `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
108 |
109 |         if let screen = statusItemWindow.screen {
AppKit.NSWindow:76:14: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
 75 |     open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
 76 |     open var frame: NSRect { get }
    |              `- note: property declared here
 77 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
 78 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:109:42: warning: main actor-isolated property 'screen' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
102 |             // If we don't know where the status item is, just place the window in the center.
    :
107 |         var targetRect = statusItemWindow.frame
108 |
109 |         if let screen = statusItemWindow.screen {
    |                                          `- warning: main actor-isolated property 'screen' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
110 |             let windowWidth = window.frame.width
111 |
AppKit.NSWindow:247:14: note: property declared here
245 |     open func setDynamicDepthLimit(_ flag: Bool)
246 |     open var hasDynamicDepthLimit: Bool { get }
247 |     open var screen: NSScreen? { get }
    |              `- note: property declared here
248 |     open var deepestScreen: NSScreen? { get }
249 |     open var hasShadow: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:110:38: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
102 |             // If we don't know where the status item is, just place the window in the center.
    :
108 |
109 |         if let screen = statusItemWindow.screen {
110 |             let windowWidth = window.frame.width
    |                                      `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
111 |
112 |             if statusItemWindow.frame.origin.x + windowWidth > screen.visibleFrame.width {
AppKit.NSWindow:76:14: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
 75 |     open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
 76 |     open var frame: NSRect { get }
    |              `- note: property declared here
 77 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
 78 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:112:33: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
102 |             // If we don't know where the status item is, just place the window in the center.
    :
110 |             let windowWidth = window.frame.width
111 |
112 |             if statusItemWindow.frame.origin.x + windowWidth > screen.visibleFrame.width {
    |                                 `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
113 |                 targetRect.origin.x += statusItemWindow.frame.width
114 |                 targetRect.origin.x -= windowWidth
AppKit.NSWindow:76:14: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
 75 |     open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
 76 |     open var frame: NSRect { get }
    |              `- note: property declared here
 77 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
 78 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:113:57: warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
102 |             // If we don't know where the status item is, just place the window in the center.
    :
111 |
112 |             if statusItemWindow.frame.origin.x + windowWidth > screen.visibleFrame.width {
113 |                 targetRect.origin.x += statusItemWindow.frame.width
    |                                                         `- warning: main actor-isolated property 'frame' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
114 |                 targetRect.origin.x -= windowWidth
115 |
AppKit.NSWindow:76:14: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
 75 |     open func cascadeTopLeftFromPoint(_ topLeftPoint: NSPoint) -> NSPoint
 76 |     open var frame: NSRect { get }
    |              `- note: property declared here
 77 |     open func animationResizeTime(_ newFrame: NSRect) -> TimeInterval
 78 |     open func setFrame(_ frameRect: NSRect, display displayFlag: Bool, animate animateFlag: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:128:16: warning: call to main actor-isolated instance method 'setFrameTopLeftPoint' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
 98 |     }
 99 |
100 |     private func setWindowPosition() {
    |                  `- note: add '@MainActor' to make instance method 'setWindowPosition()' part of global actor 'MainActor'
101 |         guard let statusItemWindow = statusItem.button?.window else {
102 |             // If we don't know where the status item is, just place the window in the center.
    :
126 |         }
127 |
128 |         window.setFrameTopLeftPoint(targetRect.origin)
    |                `- warning: call to main actor-isolated instance method 'setFrameTopLeftPoint' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |     }
130 | }
AppKit.NSWindow:72:15: note: calls to instance method 'setFrameTopLeftPoint' from outside of its actor context are implicitly asynchronous
 70 |     open func setContentSize(_ size: NSSize)
 71 |     open func setFrameOrigin(_ point: NSPoint)
 72 |     open func setFrameTopLeftPoint(_ point: NSPoint)
    |               `- note: calls to instance method 'setFrameTopLeftPoint' from outside of its actor context are implicitly asynchronous
 73 |     open func cascadeTopLeft(from topLeftPoint: NSPoint) -> NSPoint
 74 |     @available(swift, obsoleted: 3, renamed: "cascadeTopLeft(from:)")
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:136:28: warning: main actor-isolated property 'title' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
134 |         self.init(window: window)
135 |
136 |         statusItem.button?.title = title
    |                            `- warning: main actor-isolated property 'title' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
137 |         statusItem.button?.setAccessibilityTitle(title)
138 |     }
AppKit.NSButton:28:14: note: mutation of this property is only permitted within the actor
26 |     open class func radioButtonWithTitle(_ title: String, target: Any?, action: Selector?) -> Self
27 |     open func setButtonType(_ type: NSButton.ButtonType)
28 |     open var title: String { get set }
   |              `- note: mutation of this property is only permitted within the actor
29 |     @NSCopying open var attributedTitle: NSAttributedString { get set }
30 |     open var alternateTitle: String { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:137:28: warning: call to main actor-isolated instance method 'setAccessibilityTitle' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
135 |
136 |         statusItem.button?.title = title
137 |         statusItem.button?.setAccessibilityTitle(title)
    |                            `- warning: call to main actor-isolated instance method 'setAccessibilityTitle' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
138 |     }
139 |
AppKit.NSView:473:15: note: calls to instance method 'setAccessibilityTitle' from outside of its actor context are implicitly asynchronous
471 |     open func accessibilityTitle() -> String?
472 |     @available(macOS 10.10, *)
473 |     open func setAccessibilityTitle(_ accessibilityTitle: String?)
    |               `- note: calls to instance method 'setAccessibilityTitle' from outside of its actor context are implicitly asynchronous
474 |     @available(macOS 10.10, *)
475 |     open func accessibilityTitleUIElement() -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:143:28: warning: call to main actor-isolated instance method 'setAccessibilityTitle' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
141 |         self.init(window: window)
142 |
143 |         statusItem.button?.setAccessibilityTitle(title)
    |                            `- warning: call to main actor-isolated instance method 'setAccessibilityTitle' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
144 |         statusItem.button?.image = NSImage(named: image)
145 |     }
AppKit.NSView:473:15: note: calls to instance method 'setAccessibilityTitle' from outside of its actor context are implicitly asynchronous
471 |     open func accessibilityTitle() -> String?
472 |     @available(macOS 10.10, *)
473 |     open func setAccessibilityTitle(_ accessibilityTitle: String?)
    |               `- note: calls to instance method 'setAccessibilityTitle' from outside of its actor context are implicitly asynchronous
474 |     @available(macOS 10.10, *)
475 |     open func accessibilityTitleUIElement() -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:144:28: warning: main actor-isolated property 'image' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
142 |
143 |         statusItem.button?.setAccessibilityTitle(title)
144 |         statusItem.button?.image = NSImage(named: image)
    |                            `- warning: main actor-isolated property 'image' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
145 |     }
146 |
AppKit.NSButton:56:14: note: mutation of this property is only permitted within the actor
54 |     @available(macOS 10.14, *)
55 |     @NSCopying open var contentTintColor: NSColor? { get set }
56 |     open var image: NSImage? { get set }
   |              `- note: mutation of this property is only permitted within the actor
57 |     open var alternateImage: NSImage? { get set }
58 |     open var imagePosition: NSControl.ImagePosition { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:150:28: warning: call to main actor-isolated instance method 'setAccessibilityTitle' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
148 |         self.init(window: window)
149 |
150 |         statusItem.button?.setAccessibilityTitle(title)
    |                            `- warning: call to main actor-isolated instance method 'setAccessibilityTitle' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
151 |         statusItem.button?.image = NSImage(systemSymbolName: systemImage, accessibilityDescription: title)
152 |     }
AppKit.NSView:473:15: note: calls to instance method 'setAccessibilityTitle' from outside of its actor context are implicitly asynchronous
471 |     open func accessibilityTitle() -> String?
472 |     @available(macOS 10.10, *)
473 |     open func setAccessibilityTitle(_ accessibilityTitle: String?)
    |               `- note: calls to instance method 'setAccessibilityTitle' from outside of its actor context are implicitly asynchronous
474 |     @available(macOS 10.10, *)
475 |     open func accessibilityTitleUIElement() -> Any?
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:151:28: warning: main actor-isolated property 'image' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
149 |
150 |         statusItem.button?.setAccessibilityTitle(title)
151 |         statusItem.button?.image = NSImage(systemSymbolName: systemImage, accessibilityDescription: title)
    |                            `- warning: main actor-isolated property 'image' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
152 |     }
153 | }
AppKit.NSButton:56:14: note: mutation of this property is only permitted within the actor
54 |     @available(macOS 10.14, *)
55 |     @NSCopying open var contentTintColor: NSColor? { get set }
56 |     open var image: NSImage? { get set }
   |              `- note: mutation of this property is only permitted within the actor
57 |     open var alternateImage: NSImage? { get set }
58 |     open var imagePosition: NSControl.ImagePosition { get set }
[9/9] Compiling FluidMenuBarExtra FluidMenuBarExtra.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:40:22: warning: call to main actor-isolated initializer 'init(title:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
38 |
39 |     public init(title: String, @ViewBuilder content: @escaping () -> some View) {
40 |         let window = FluidMenuBarExtraWindow(title: title, content: content)
   |                      `- warning: call to main actor-isolated initializer 'init(title:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 |         statusItem = FluidMenuBarExtraStatusItem(title: title, window: window)
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraWindow.swift:48:5: note: calls to initializer 'init(title:content:)' from outside of its actor context are implicitly asynchronous
 46 |     }()
 47 |
 48 |     init(title: String, content: @escaping () -> Content) {
    |     `- note: calls to initializer 'init(title:content:)' from outside of its actor context are implicitly asynchronous
 49 |         self.content = content
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:45:22: warning: call to main actor-isolated initializer 'init(title:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
43 |
44 |     public init(title: String, image: String, @ViewBuilder content: @escaping () -> some View) {
45 |         let window = FluidMenuBarExtraWindow(title: title, content: content)
   |                      `- warning: call to main actor-isolated initializer 'init(title:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
46 |         statusItem = FluidMenuBarExtraStatusItem(title: title, image: image, window: window)
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraWindow.swift:48:5: note: calls to initializer 'init(title:content:)' from outside of its actor context are implicitly asynchronous
 46 |     }()
 47 |
 48 |     init(title: String, content: @escaping () -> Content) {
    |     `- note: calls to initializer 'init(title:content:)' from outside of its actor context are implicitly asynchronous
 49 |         self.content = content
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:50:22: warning: call to main actor-isolated initializer 'init(title:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 |
49 |     public init(title: String, systemImage: String, @ViewBuilder content: @escaping () -> some View) {
50 |         let window = FluidMenuBarExtraWindow(title: title, content: content)
   |                      `- warning: call to main actor-isolated initializer 'init(title:content:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 |         statusItem = FluidMenuBarExtraStatusItem(title: title, systemImage: systemImage, window: window)
52 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraWindow.swift:48:5: note: calls to initializer 'init(title:content:)' from outside of its actor context are implicitly asynchronous
 46 |     }()
 47 |
 48 |     init(title: String, content: @escaping () -> Content) {
    |     `- note: calls to initializer 'init(title:content:)' from outside of its actor context are implicitly asynchronous
 49 |         self.content = content
 50 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:40:22: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
38 |
39 |     public init(title: String, @ViewBuilder content: @escaping () -> some View) {
40 |         let window = FluidMenuBarExtraWindow(title: title, content: content)
   |                      |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: sending task-isolated 'content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
41 |         statusItem = FluidMenuBarExtraStatusItem(title: title, window: window)
42 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:45:22: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
43 |
44 |     public init(title: String, image: String, @ViewBuilder content: @escaping () -> some View) {
45 |         let window = FluidMenuBarExtraWindow(title: title, content: content)
   |                      |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: sending task-isolated 'content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
46 |         statusItem = FluidMenuBarExtraStatusItem(title: title, image: image, window: window)
47 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:50:22: warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
48 |
49 |     public init(title: String, systemImage: String, @ViewBuilder content: @escaping () -> some View) {
50 |         let window = FluidMenuBarExtraWindow(title: title, content: content)
   |                      |- warning: sending 'content' risks causing data races; this is an error in the Swift 6 language mode
   |                      `- note: sending task-isolated 'content' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 |         statusItem = FluidMenuBarExtraStatusItem(title: title, systemImage: systemImage, window: window)
52 |     }
Build complete! (33.60s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FluidMenuBarExtra",
  "name" : "FluidMenuBarExtra",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "FluidMenuBarExtra",
      "targets" : [
        "FluidMenuBarExtra"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FluidMenuBarExtra",
      "module_type" : "SwiftTarget",
      "name" : "FluidMenuBarExtra",
      "path" : "Sources/FluidMenuBarExtra",
      "product_memberships" : [
        "FluidMenuBarExtra"
      ],
      "sources" : [
        "EventMonitor.swift",
        "FluidMenuBarExtra.swift",
        "FluidMenuBarExtraStatusItem.swift",
        "FluidMenuBarExtraWindow.swift",
        "RootViewModifier.swift",
        "UpdateSizeAction.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.