Build Information
Successful build of FluidMenuBarExtra, reference 1.5.1 (3ce81b
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 03:18:33 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wadetregaskis/FluidMenuBarExtra.git
Reference: 1.5.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wadetregaskis/FluidMenuBarExtra
* tag 1.5.1 -> FETCH_HEAD
HEAD is now at 3ce81bd Clipping against the left edge of the screen is now handled correctly too (in addition to the right edge).
Cloned https://github.com/wadetregaskis/FluidMenuBarExtra.git
Revision (git rev-parse @):
3ce81bd0e5ab0ae5b027076482f4bd86be30162c
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wadetregaskis/FluidMenuBarExtra.git at 1.5.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": "fluidmenubarextra",
"name": "FluidMenuBarExtra",
"url": "https://github.com/wadetregaskis/FluidMenuBarExtra.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FluidMenuBarExtra",
"dependencies": [
]
}
]
}
Fetching https://github.com/wadetregaskis/FluidMenuBarExtra.git
[1/338] Fetching fluidmenubarextra
Fetched https://github.com/wadetregaskis/FluidMenuBarExtra.git from cache (0.74s)
Creating working copy for https://github.com/wadetregaskis/FluidMenuBarExtra.git
Working copy of https://github.com/wadetregaskis/FluidMenuBarExtra.git resolved at 1.5.1 (3ce81bd)
warning: '.resolve-product-dependencies': dependency 'fluidmenubarextra' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/wadetregaskis/FluidMenuBarExtra.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/9] Compiling FluidMenuBarExtra RootViewModifier.swift
[4/9] Emitting module FluidMenuBarExtra
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:36:25: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | ///
34 | /// See also the bundled demo application for a more detailed example.
35 | public struct FluidMenuBarExtra<Content: View>: Scene {
| `- note: 'Content' previously declared here
36 | private class State<Content: View>: ObservableObject {
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | var statusItem: FluidMenuBarExtraStatusItem? = nil
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/UpdateSizeAction.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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 nonisolated 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 |
[5/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 nonisolated 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 nonisolated 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 |
[6/9] Compiling FluidMenuBarExtra EventMonitor.swift
[7/9] Compiling FluidMenuBarExtra FluidMenuBarExtra.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:36:25: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | ///
34 | /// See also the bundled demo application for a more detailed example.
35 | public struct FluidMenuBarExtra<Content: View>: Scene {
| `- note: 'Content' previously declared here
36 | private class State<Content: View>: ObservableObject {
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | var statusItem: FluidMenuBarExtraStatusItem? = nil
38 | }
[8/9] Compiling FluidMenuBarExtra FluidMenuBarExtraStatusItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:67: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
65 | statusItem.behavior = .removalAllowed
66 | statusItem.isVisible = foo.wrappedValue
67 | 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
68 |
69 | if let image = image.asNSImage(accessibilityDescription: title) {
AppKit.NSView:473:26: 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 | @MainActor 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:70:32: warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
68 |
69 | if let image = image.asNSImage(accessibilityDescription: title) {
70 | statusItem.button?.image = image
| `- warning: main actor-isolated property 'image' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
71 | } else {
72 | statusItem.button?.title = title
AppKit.NSButton:56:25: 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 | @MainActor 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:72:32: warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
70 | statusItem.button?.image = image
71 | } else {
72 | statusItem.button?.title = title
| `- warning: main actor-isolated property 'title' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
73 | }
74 |
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:80:30: warning: main actor-isolated property 'statusItem' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
78 | super.init()
79 |
80 | assert(nil == window.statusItem)
| `- warning: main actor-isolated property 'statusItem' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
81 | window.statusItem = self
82 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraWindow.swift:18:14: note: property declared here
16 | final class FluidMenuBarExtraWindow<Content: View>: NSPanel {
17 | private let content: () -> Content
18 | weak var statusItem: FluidMenuBarExtraStatusItem? = nil
| `- note: property declared here
19 |
20 | private lazy var visualEffectView: NSVisualEffectView = {
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:81:16: warning: main actor-isolated property 'statusItem' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
79 |
80 | assert(nil == window.statusItem)
81 | window.statusItem = self
| `- warning: main actor-isolated property 'statusItem' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
82 |
83 | statusItemVisibilityObservation = observe(\.statusItem.isVisible, options: .new) {
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraWindow.swift:18:14: note: mutation of this property is only permitted within the actor
16 | final class FluidMenuBarExtraWindow<Content: View>: NSPanel {
17 | private let content: () -> Content
18 | weak var statusItem: FluidMenuBarExtraStatusItem? = nil
| `- note: mutation of this property is only permitted within the actor
19 |
20 | private lazy var visualEffectView: NSVisualEffectView = {
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:86:13: warning: capture of 'self' with non-sendable type 'FluidMenuBarExtraStatusItem?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
12 | /// An individual element displayed in the system menu bar that displays a window
13 | /// when triggered.
14 | final class FluidMenuBarExtraStatusItem: NSObject, NSWindowDelegate {
| `- note: class 'FluidMenuBarExtraStatusItem' does not conform to the 'Sendable' protocol
15 | let window: NSWindow
16 | var menu: NSMenu?
:
84 | [weak self] _, change in
85 | guard let newValue = change.newValue else { return }
86 | self?.isInserted = newValue
| `- warning: capture of 'self' with non-sendable type 'FluidMenuBarExtraStatusItem?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
87 | }
88 |
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:92: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
90 | if let self,
91 | let button = self.statusItem.button,
92 | event.window == button.window
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
93 | {
94 | switch (event.type, self.menu, event.modifierFlags.contains(.control)) {
AppKit.NSView:4:30: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | 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:106:78: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
104 | fallthrough
105 | case (.rightMouseDown, let menu?, _):
106 | menu.popUp(positioning: nil, at: CGPoint(x: 0, y: button.bounds.maxY + 5), in: button)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 | return nil
108 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:118:50: warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
116 |
117 | globalEventMonitor = GlobalEventMonitor(mask: [.leftMouseDown, .rightMouseDown]) { [weak self] event in
118 | if let window = self?.window, window.isKeyWindow {
| `- warning: main actor-isolated property 'isKeyWindow' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
119 | // Resign key window status if a external non-activating event is triggered,
120 | // such as other system status bar menus.
AppKit.NSWindow:162:25: note: property declared here
160 | @available(swift, obsoleted: 3, renamed: "isVisible")
161 | open var visible: Bool { get }
162 | @MainActor open var isKeyWindow: Bool { get }
| `- note: property declared here
163 | @available(swift, obsoleted: 3, renamed: "isKeyWindow")
164 | open var keyWindow: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:121: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
119 | // Resign key window status if a external non-activating event is triggered,
120 | // such as other system status bar menus.
121 | 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
122 | }
123 | }
AppKit.NSWindow:183:26: note: calls to instance method 'resignKey()' from outside of its actor context are implicitly asynchronous
181 | @available(swift, obsoleted: 3, renamed: "becomeKey()")
182 | open func becomeKeyWindow()
183 | @MainActor open func resignKey()
| `- note: calls to instance method 'resignKey()' from outside of its actor context are implicitly asynchronous
184 | @available(swift, obsoleted: 3, renamed: "resignKey()")
185 | open func resignKeyWindow()
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:125:16: warning: main actor-isolated property 'delegate' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 |
125 | window.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
126 | localEventMonitor?.start()
127 | }
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:135:19: warning: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
132 | }
133 |
134 | private func didPressStatusBarButton(_ sender: NSStatusBarButton) {
| `- note: add '@MainActor' to make instance method 'didPressStatusBarButton' part of global actor 'MainActor'
135 | if window.isVisible {
| `- warning: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
136 | dismissWindow()
137 | return
AppKit.NSWindow:159:14: note: property declared here
157 | @available(swift, obsoleted: 3, renamed: "isDocumentEdited")
158 | open var documentEdited: Bool { get set }
159 | open var isVisible: Bool { get }
| `- note: property declared here
160 | @available(swift, obsoleted: 3, renamed: "isVisible")
161 | open var visible: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:144: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
132 | }
133 |
134 | private func didPressStatusBarButton(_ sender: NSStatusBarButton) {
| `- note: add '@MainActor' to make instance method 'didPressStatusBarButton' part of global actor 'MainActor'
135 | if window.isVisible {
136 | dismissWindow()
:
142 | // Tells the system to persist the menu bar in full screen mode.
143 | DistributedNotificationCenter.default().post(name: .beginMenuTracking, object: nil)
144 | 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
145 | }
146 |
AppKit.NSWindow:144:15: 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 | open func makeKeyAndOrderFront(_ sender: Any?)
| `- note: calls to instance method 'makeKeyAndOrderFront' from outside of its actor context are implicitly asynchronous
145 | open func orderFront(_ sender: Any?)
146 | open func orderBack(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:167:23: warning: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
164 | }
165 |
166 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
167 | guard !window.isVisible,
| `- warning: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
168 | let button = statusItem.button
169 | else { return }
AppKit.NSWindow:159:14: note: property declared here
157 | @available(swift, obsoleted: 3, renamed: "isDocumentEdited")
158 | open var documentEdited: Bool { get set }
159 | open var isVisible: Bool { get }
| `- note: property declared here
160 | @available(swift, obsoleted: 3, renamed: "isVisible")
161 | open var visible: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:182: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
180 | context.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
181 |
182 | window.animator().alphaValue = 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
183 |
184 | } completionHandler: { [weak self] 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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:182: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
180 | context.timingFunction = CAMediaTimingFunction(name: .easeInEaseOut)
181 |
182 | 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
183 |
184 | } completionHandler: { [weak self] in
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:185: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
183 |
184 | } completionHandler: { [weak self] in
185 | 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
186 | self?.window.alphaValue = 1
187 | self?.setButtonHighlighted(to: false)
AppKit.NSWindow:147:15: 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 | 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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:186:26: warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
184 | } completionHandler: { [weak self] in
185 | self?.window.orderOut(nil)
186 | self?.window.alphaValue = 1
| `- warning: main actor-isolated property 'alphaValue' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
187 | self?.setButtonHighlighted(to: false)
188 | }
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:192: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
189 | }
190 |
191 | private func setButtonHighlighted(to highlight: Bool) {
| `- note: add '@MainActor' to make instance method 'setButtonHighlighted(to:)' part of global actor 'MainActor'
192 | 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
193 | }
194 |
AppKit.NSButton:68:15: 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 | 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:197:57: warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
| `- warning: main actor-isolated property 'window' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
198 | // If we don't know where the status item is, just place the window in the center.
199 | if let size {
AppKit.NSView:4:30: note: property declared here
2 | public init(frame frameRect: NSRect)
3 | public init?(coder: NSCoder)
4 | 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:200:24: 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
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
198 | // If we don't know where the status item is, just place the window in the center.
199 | if let size {
200 | window.setFrame(NSRect(origin: window.frame.origin, size: size), 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
201 | }
202 |
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:200:55: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
198 | // If we don't know where the status item is, just place the window in the center.
199 | if let size {
200 | window.setFrame(NSRect(origin: window.frame.origin, size: size), display: true, animate: false)
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
201 | }
202 |
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:203: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
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
:
201 | }
202 |
203 | 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
204 | return
205 | }
AppKit.NSWindow:143:15: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
141 | open var hidesOnDeactivate: Bool { get set }
142 | open var canHide: Bool { get set }
143 | open func center()
| `- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
144 | open func makeKeyAndOrderFront(_ sender: Any?)
145 | open func orderFront(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:207:48: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
:
205 | }
206 |
207 | let statusItemFrame = statusItemWindow.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
208 | var newFrame = CGRect(origin: statusItemFrame.origin, size: size ?? window.frame.size)
209 |
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:208:84: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
206 |
207 | let statusItemFrame = statusItemWindow.frame
208 | var newFrame = CGRect(origin: statusItemFrame.origin, size: size ?? window.frame.size)
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
209 |
210 | newFrame.origin.y -= newFrame.height
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:223:42: warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
:
221 | }
222 |
223 | if let screen = statusItemWindow.screen {
| `- warning: main actor-isolated property 'screen' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
224 | if newFrame.maxX > screen.visibleFrame.maxX {
225 | switch (alignment, screenClippingBehaviour) {
AppKit.NSWindow:249:14: note: property declared here
247 | open func setDynamicDepthLimit(_ flag: Bool)
248 | open var hasDynamicDepthLimit: Bool { get }
249 | open var screen: NSScreen? { get }
| `- note: property declared here
250 | open var deepestScreen: NSScreen? { get }
251 | open var hasShadow: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:247:34: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
:
245 | }
246 |
247 | guard newFrame != window.frame else {
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
248 | return
249 | }
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/FluidMenuBarExtra/FluidMenuBarExtraStatusItem.swift:251: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
193 | }
194 |
195 | func setWindowFrame(size: CGSize? = nil,
| `- note: add '@MainActor' to make instance method 'setWindowFrame(size:animate:)' part of global actor 'MainActor'
196 | animate: Bool = false) {
197 | guard let statusItemWindow = statusItem.button?.window else {
:
249 | }
250 |
251 | window.setFrame(newFrame, display: true, animate: animate)
| `- 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
252 | }
253 | }
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 }
[9/9] Compiling FluidMenuBarExtra FluidMenuBarExtraWindow.swift
Build complete! (14.09s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FluidMenuBarExtra",
"name" : "FluidMenuBarExtra",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/wadetregaskis/fluidmenubarextra/1.5.1
Repository: wadetregaskis/FluidMenuBarExtra
Swift version used: 6.0
Target: FluidMenuBarExtra
Extracting symbol information for 'FluidMenuBarExtra'...
Finished extracting symbol information for 'FluidMenuBarExtra'. (5.49s)
Building documentation for 'FluidMenuBarExtra'...
warning: 'SwiftUI.MenuBarExtra' doesn't exist at '/FluidMenuBarExtra/FluidMenuBarExtra'
--> Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:13:44-13:64
11 | /// A class you use to create a menubar extra in SwiftUI.
12 | ///
13 + /// This is by design similar to Apple's ``SwiftUI.MenuBarExtra`` provided in SwiftUI itself, but with additional functionality and better behaviour (Apple's `MenuBarExtra` doesn't follow macOS standards regarding how it responds to user interaction).
| ╰─suggestion: Replace 'SwiftUI.MenuBarExtra' with 'menuBarExtraStyle(_:)'
14 | ///
15 | /// Typically you use this in your @main body where you spell out your app's various scenes (e.g. WindowGroups, Settings, etc). e.g.:
warning: 'NSImage(named:)' doesn't exist at '/FluidMenuBarExtra/FluidMenuBarExtra/init(_:image:isInserted:animation:menu:alignment:screenClippingBehaviour:content:)'
--> Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:126:50-126:65
124 | /// - Parameters:
125 | /// - title: This is not shown in the menubar directly (only `image` is) but this is used as the accessibility title (e.g. for screen readers).
126 + /// - image: The name of the image (a la ``NSImage(named:)``) to use as the icon for the menubar item, in the menubar.
127 | /// - isInserted: An optional binding to a boolean that controls whether the menubar item is visible or not. Typically this is tied to a Toggle in your app's settings, or similar. Note that this has no effect on the visiblity of the pop-up window (e.g. changing this to false while the window is shown won't hide the window, even though the menubar item itself disappears).
128 | ///
warning: Parameter 'image' not found in initializer declaration
--> Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:196:11-196:130
194 | /// - Parameters:
195 | /// - title: This is not shown in the menubar directly (only `image` is) but this is used as the accessibility title (e.g. for screen readers).
196 + /// - image: The name of the system symbol image (a la SF Symbols) to use as the icon for the menubar item, in the menubar.
| ╰─suggestion: Remove 'image' parameter documentation
197 | /// - isInserted: An optional binding to a boolean that controls whether the menubar item is visible or not. Typically this is tied to a Toggle in your app's settings, or similar. Note that this has no effect on the visiblity of the pop-up window (e.g. changing this to false while the window is shown won't hide the window, even though the menubar item itself disappears).
198 | ///
warning: Parameter 'systemImage' is missing documentation
--> Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:210:111-210:111
208 | /// - alignment: Specifies how the pop-up window is aligned relative to the menubar item.
209 | /// - screenClippingBehaviour: Specifies how the pop-up window's position is adjusted when it runs up against the edges of the screen.
210 + /// - content: The contents of the pop-up window that is shown when the user clicks on the menubar item.
211 | public init(_ title: String,
212 | systemImage: String,
warning: 'FluidMenuBarExtraPopUpAlignment' doesn't exist at '/FluidMenuBarExtra/ScreenClippingBehaviour/reverseAlignment'
--> Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:273:96-273:127
271 | /// Controls how the pop-up window's position is adapted to space constraints from encountering the left or right edges of the screen.
272 | public enum ScreenClippingBehaviour: Hashable {
273 + /// If there isn't enough space to use the normal alignment, switch to its reverse (e.g. ``FluidMenuBarExtraPopUpAlignment/right`` instead of ``FluidMenuBarExtraPopUpAlignment/left``). If this still isn't sufficient to resolve the problem, the behaviour falls back to ``hugEdge``.
274 | case reverseAlignment
275 |
warning: 'FluidMenuBarExtraPopUpAlignment' doesn't exist at '/FluidMenuBarExtra/ScreenClippingBehaviour/reverseAlignment'
--> Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:273:149-273:180
271 | /// Controls how the pop-up window's position is adapted to space constraints from encountering the left or right edges of the screen.
272 | public enum ScreenClippingBehaviour: Hashable {
273 + /// If there isn't enough space to use the normal alignment, switch to its reverse (e.g. ``FluidMenuBarExtraPopUpAlignment/right`` instead of ``FluidMenuBarExtraPopUpAlignment/left``). If this still isn't sufficient to resolve the problem, the behaviour falls back to ``hugEdge``.
274 | case reverseAlignment
275 |
warning: 'FluidMenuBarExtraPopUpAlignment' doesn't exist at '/FluidMenuBarExtra/ScreenClippingBehaviour/hugEdge'
--> Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:276:213-276:244
274 | case reverseAlignment
275 |
276 + /// Nudge the pop-up window in from the edge just enough to make it fully visible. This may mean an otherwise unnatural alignment of the pop-up window and the menubar item, not corresponding to any of the ``FluidMenuBarExtraPopUpAlignment`` options.
277 | case hugEdge
278 | }Finished building documentation for 'FluidMenuBarExtra' (0.17s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/wadetregaskis/fluidmenubarextra/1.5.1
Fetching https://github.com/swiftlang/swift-docc-plugin
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.64s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit Mixin+Equals.swift
[12/57] Compiling SymbolKit Mixin+Hash.swift
[13/57] Compiling SymbolKit Mixin.swift
[14/57] Compiling SymbolKit LineList.swift
[15/57] Compiling SymbolKit Position.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Emitting module Snippets
[21/57] Compiling Snippets SnippetParser.swift
[22/57] Compiling Snippets Snippet.swift
[23/57] Compiling SymbolKit SourceRange.swift
[24/57] Compiling SymbolKit Metadata.swift
[25/57] Compiling SymbolKit Module.swift
[26/57] Compiling SymbolKit OperatingSystem.swift
[27/57] Compiling SymbolKit Platform.swift
[28/57] Compiling SymbolKit Relationship.swift
[29/57] Compiling SymbolKit RelationshipKind.swift
[30/57] Compiling SymbolKit SourceOrigin.swift
[31/57] Compiling SymbolKit GenericConstraints.swift
[32/57] Compiling SymbolKit Swift.swift
[33/57] Compiling SymbolKit Names.swift
[34/57] Compiling SymbolKit SPI.swift
[35/57] Compiling SymbolKit Snippet.swift
[36/57] Compiling SymbolKit Extension.swift
[37/57] Compiling SymbolKit Symbol.swift
[38/57] Compiling SymbolKit SymbolKind.swift
[39/57] Compiling SymbolKit SymbolGraph.swift
[40/57] Compiling SymbolKit GraphCollector.swift
[41/57] Compiling SymbolKit GenericConstraint.swift
[42/57] Compiling SymbolKit GenericParameter.swift
[43/57] Compiling SymbolKit Generics.swift
[44/57] Compiling SymbolKit Namespace.swift
[45/57] Emitting module SymbolKit
[46/57] Compiling SymbolKit SemanticVersion.swift
[47/57] Compiling SymbolKit AccessControl.swift
[48/57] Compiling SymbolKit Availability.swift
[49/57] Compiling SymbolKit AvailabilityItem.swift
[50/57] Compiling SymbolKit Domain.swift
[51/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[52/57] Compiling SymbolKit UnifiedSymbol.swift
[53/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[54/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.51s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/8] Compiling FluidMenuBarExtra RootViewModifier.swift
[3/8] Compiling FluidMenuBarExtra FluidMenuBarExtraWindow.swift
[4/8] Compiling FluidMenuBarExtra UpdateSizeAction.swift
[5/8] Emitting module FluidMenuBarExtra
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:36:25: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | ///
34 | /// See also the bundled demo application for a more detailed example.
35 | public struct FluidMenuBarExtra<Content: View>: Scene {
| `- note: 'Content' previously declared here
36 | private class State<Content: View>: ObservableObject {
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | var statusItem: FluidMenuBarExtraStatusItem? = nil
38 | }
[6/8] Compiling FluidMenuBarExtra FluidMenuBarExtra.swift
/Users/admin/builder/spi-builder-workspace/Sources/FluidMenuBarExtra/FluidMenuBarExtra.swift:36:25: warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
33 | ///
34 | /// See also the bundled demo application for a more detailed example.
35 | public struct FluidMenuBarExtra<Content: View>: Scene {
| `- note: 'Content' previously declared here
36 | private class State<Content: View>: ObservableObject {
| `- warning: generic parameter 'Content' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
37 | var statusItem: FluidMenuBarExtraStatusItem? = nil
38 | }
[7/8] Compiling FluidMenuBarExtra EventMonitor.swift
[8/8] Compiling FluidMenuBarExtra FluidMenuBarExtraStatusItem.swift
Build of target: 'FluidMenuBarExtra' complete! (1.02s)
172
2 /Users/admin/builder/spi-builder-workspace/.docs/wadetregaskis/fluidmenubarextra/1.5.1
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/wadetregaskis/fluidmenubarextra/1.5.1
File count: 172
Doc size: 2.0MB
Preparing doc bundle ...
Uploading prod-wadetregaskis-fluidmenubarextra-1.5.1-dc0823b6.zip to s3://spi-docs-inbox/prod-wadetregaskis-fluidmenubarextra-1.5.1-dc0823b6.zip
Copying... [14%]
Copying... [28%]
Copying... [41%]
Copying... [55%]
Copying... [69%]
Copying... [83%]
Copying... [96%]
Copying... [100%]
Done.