Build Information
Failed to build Luminare, reference main (71de40
), with Swift 6.1 for macOS (SPM) on 16 Jun 2025 15:05:36 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
200 | }
201 |
202 | var centerRect: CGRect {
| `- note: property declared here
203 | .init(origin: direction.point(from: (scrollableLength - length) / 2), size: size)
204 | }
:
500 |
501 | // Snaps to the nearest available page anchor
502 | private func snapScrollViewPosition(_ clipView: NSClipView) {
| `- note: add '@MainActor' to make instance method 'snapScrollViewPosition' part of global actor 'MainActor'
503 | let center = parent.direction.offset(of: parent.centerRect.origin)
| `- error: main actor-isolated property 'centerRect' can not be referenced from a nonisolated context
504 | let offset = parent.direction.offset(of: clipView.bounds.origin)
505 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/InfiniteScrollView.swift:504:63: error: main actor-isolated property 'bounds' can not be referenced from a nonisolated context
500 |
501 | // Snaps to the nearest available page anchor
502 | private func snapScrollViewPosition(_ clipView: NSClipView) {
| `- note: add '@MainActor' to make instance method 'snapScrollViewPosition' part of global actor 'MainActor'
503 | let center = parent.direction.offset(of: parent.centerRect.origin)
504 | let offset = parent.direction.offset(of: clipView.bounds.origin)
| `- error: main actor-isolated property 'bounds' can not be referenced from a nonisolated context
505 |
506 | let relativeOffset = offset - center
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:70:21: error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
17 |
18 | @State private var updatedValue: Bool // IMPORTANT: refer to this instead of `value`
19 | @State private var debouncedValue: Bool
| `- note: mutation of this property is only permitted within the actor
20 |
21 | @State private var timer: Timer?
:
68 | // Schedules to flip on
69 | timer = .scheduledTimer(withTimeInterval: flipOnDelay, repeats: false) { _ in
70 | debouncedValue = true
| `- error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
71 | timer?.invalidate()
72 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:71:21: error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: property declared here
22 |
23 | public init(
:
69 | timer = .scheduledTimer(withTimeInterval: flipOnDelay, repeats: false) { _ in
70 | debouncedValue = true
71 | timer?.invalidate()
| `- error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
72 |
73 | if throttleDelay > .zero {
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:75:25: error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: mutation of this property is only permitted within the actor
22 |
23 | public init(
:
73 | if throttleDelay > .zero {
74 | // In case immediately receives a flip off signal
75 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
| `- error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
76 | debouncedValue = updatedValue
77 | timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:76:29: error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
17 |
18 | @State private var updatedValue: Bool // IMPORTANT: refer to this instead of `value`
19 | @State private var debouncedValue: Bool
| `- note: mutation of this property is only permitted within the actor
20 |
21 | @State private var timer: Timer?
:
74 | // In case immediately receives a flip off signal
75 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
76 | debouncedValue = updatedValue
| `- error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
77 | timer?.invalidate()
78 | timer = nil
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:76:46: error: main actor-isolated property 'updatedValue' can not be referenced from a Sendable closure
16 | private let action: (Bool) -> ()
17 |
18 | @State private var updatedValue: Bool // IMPORTANT: refer to this instead of `value`
| `- note: property declared here
19 | @State private var debouncedValue: Bool
20 |
:
74 | // In case immediately receives a flip off signal
75 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
76 | debouncedValue = updatedValue
| `- error: main actor-isolated property 'updatedValue' can not be referenced from a Sendable closure
77 | timer?.invalidate()
78 | timer = nil
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:77:29: error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: property declared here
22 |
23 | public init(
:
75 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
76 | debouncedValue = updatedValue
77 | timer?.invalidate()
| `- error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
78 | timer = nil
79 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:78:29: error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: mutation of this property is only permitted within the actor
22 |
23 | public init(
:
76 | debouncedValue = updatedValue
77 | timer?.invalidate()
78 | timer = nil
| `- error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
79 | }
80 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:81:25: error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: mutation of this property is only permitted within the actor
22 |
23 | public init(
:
79 | }
80 | } else {
81 | timer = nil
| `- error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
82 | }
83 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:101:21: error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
17 |
18 | @State private var updatedValue: Bool // IMPORTANT: refer to this instead of `value`
19 | @State private var debouncedValue: Bool
| `- note: mutation of this property is only permitted within the actor
20 |
21 | @State private var timer: Timer?
:
99 | // Schedules to flip off
100 | timer = .scheduledTimer(withTimeInterval: flipOffDelay, repeats: false) { _ in
101 | debouncedValue = false
| `- error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
102 | timer?.invalidate()
103 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:102:21: error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: property declared here
22 |
23 | public init(
:
100 | timer = .scheduledTimer(withTimeInterval: flipOffDelay, repeats: false) { _ in
101 | debouncedValue = false
102 | timer?.invalidate()
| `- error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
103 |
104 | if throttleDelay > .zero {
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:106:25: error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: mutation of this property is only permitted within the actor
22 |
23 | public init(
:
104 | if throttleDelay > .zero {
105 | // In case immediately receives a flip on signal
106 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
| `- error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
107 | debouncedValue = updatedValue
108 | timer?.invalidate()
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:107:29: error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
17 |
18 | @State private var updatedValue: Bool // IMPORTANT: refer to this instead of `value`
19 | @State private var debouncedValue: Bool
| `- note: mutation of this property is only permitted within the actor
20 |
21 | @State private var timer: Timer?
:
105 | // In case immediately receives a flip on signal
106 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
107 | debouncedValue = updatedValue
| `- error: main actor-isolated property 'debouncedValue' can not be mutated from a Sendable closure
108 | timer?.invalidate()
109 | timer = nil
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:107:46: error: main actor-isolated property 'updatedValue' can not be referenced from a Sendable closure
16 | private let action: (Bool) -> ()
17 |
18 | @State private var updatedValue: Bool // IMPORTANT: refer to this instead of `value`
| `- note: property declared here
19 | @State private var debouncedValue: Bool
20 |
:
105 | // In case immediately receives a flip on signal
106 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
107 | debouncedValue = updatedValue
| `- error: main actor-isolated property 'updatedValue' can not be referenced from a Sendable closure
108 | timer?.invalidate()
109 | timer = nil
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:108:29: error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: property declared here
22 |
23 | public init(
:
106 | timer = .scheduledTimer(withTimeInterval: throttleDelay, repeats: false) { _ in
107 | debouncedValue = updatedValue
108 | timer?.invalidate()
| `- error: main actor-isolated property 'timer' can not be referenced from a Sendable closure
109 | timer = nil
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:109:29: error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: mutation of this property is only permitted within the actor
22 |
23 | public init(
:
107 | debouncedValue = updatedValue
108 | timer?.invalidate()
109 | timer = nil
| `- error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
110 | }
111 | } else {
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/BooleanThrottleDebouncedModifier.swift:112:25: error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
19 | @State private var debouncedValue: Bool
20 |
21 | @State private var timer: Timer?
| `- note: mutation of this property is only permitted within the actor
22 |
23 | public init(
:
110 | }
111 | } else {
112 | timer = nil
| `- error: main actor-isolated property 'timer' can not be mutated from a Sendable closure
113 | }
114 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:211:13: warning: capture of 'event' with non-sendable type 'ForceTouchGesture.Event' in a '@Sendable' closure
17 |
18 | /// The event context of a ``ForceTouchGesture``.
19 | public struct Event: Equatable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
20 | public var state: NSPressGestureRecognizer.State
21 | public var stage: Int
:
209 | longPressTimer = .scheduledTimer(withTimeInterval: threshold + 0.1, repeats: false) { _ in
210 | timestamp = .now
211 | event.stage = 1
| `- warning: capture of 'event' with non-sendable type 'ForceTouchGesture.Event' in a '@Sendable' closure
212 |
213 | longPressTimer = .scheduledTimer(withTimeInterval: 0.1, repeats: true) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:210:13: error: main actor-isolated property 'timestamp' can not be mutated from a Sendable closure
117 | @ViewBuilder private var content: () -> Content
118 |
119 | @State private var timestamp: Date?
| `- note: mutation of this property is only permitted within the actor
120 | @State private var state: NSPressGestureRecognizer.State = .ended
121 |
:
208 |
209 | longPressTimer = .scheduledTimer(withTimeInterval: threshold + 0.1, repeats: false) { _ in
210 | timestamp = .now
| `- error: main actor-isolated property 'timestamp' can not be mutated from a Sendable closure
211 | event.stage = 1
212 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:211:13: warning: mutation of captured var 'event' in concurrently-executing code
209 | longPressTimer = .scheduledTimer(withTimeInterval: threshold + 0.1, repeats: false) { _ in
210 | timestamp = .now
211 | event.stage = 1
| `- warning: mutation of captured var 'event' in concurrently-executing code
212 |
213 | longPressTimer = .scheduledTimer(withTimeInterval: 0.1, repeats: true) { _ in
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:213:13: error: main actor-isolated property 'longPressTimer' can not be mutated from a Sendable closure
120 | @State private var state: NSPressGestureRecognizer.State = .ended
121 |
122 | @State private var longPressTimer: Timer?
| `- note: mutation of this property is only permitted within the actor
123 |
124 | private let id = UUID()
:
211 | event.stage = 1
212 |
213 | longPressTimer = .scheduledTimer(withTimeInterval: 0.1, repeats: true) { _ in
| `- error: main actor-isolated property 'longPressTimer' can not be mutated from a Sendable closure
214 | let pressure = event.pressure + 0.1
215 | let isOverflowing = pressure > 1
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:214:32: warning: capture of 'event' with non-sendable type 'ForceTouchGesture.Event' in a '@Sendable' closure
17 |
18 | /// The event context of a ``ForceTouchGesture``.
19 | public struct Event: Equatable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
20 | public var state: NSPressGestureRecognizer.State
21 | public var stage: Int
:
212 |
213 | longPressTimer = .scheduledTimer(withTimeInterval: 0.1, repeats: true) { _ in
214 | let pressure = event.pressure + 0.1
| `- warning: capture of 'event' with non-sendable type 'ForceTouchGesture.Event' in a '@Sendable' closure
215 | let isOverflowing = pressure > 1
216 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:214:32: warning: reference to captured var 'event' in concurrently-executing code
212 |
213 | longPressTimer = .scheduledTimer(withTimeInterval: 0.1, repeats: true) { _ in
214 | let pressure = event.pressure + 0.1
| `- warning: reference to captured var 'event' in concurrently-executing code
215 | let isOverflowing = pressure > 1
216 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:217:17: warning: mutation of captured var 'event' in concurrently-executing code
215 | let isOverflowing = pressure > 1
216 |
217 | event.pressure = pressure.truncatingRemainder(dividingBy: 1)
| `- warning: mutation of captured var 'event' in concurrently-executing code
218 | if isOverflowing {
219 | event.stage += 1
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:219:21: warning: mutation of captured var 'event' in concurrently-executing code
217 | event.pressure = pressure.truncatingRemainder(dividingBy: 1)
218 | if isOverflowing {
219 | event.stage += 1
| `- warning: mutation of captured var 'event' in concurrently-executing code
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:222:17: error: main actor-isolated property 'gesture' can not be mutated from a Sendable closure
113 | private let configuration: NSPressureConfiguration
114 | private let threshold: CGFloat
115 | @Binding private var gesture: ForceTouchGesture
| `- note: mutation of this property is only permitted within the actor
116 |
117 | @ViewBuilder private var content: () -> Content
:
220 | }
221 |
222 | gesture = .active(event)
| `- error: main actor-isolated property 'gesture' can not be mutated from a Sendable closure
223 | }
224 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/Modifiers/ForceTouchModifier.swift:222:35: warning: reference to captured var 'event' in concurrently-executing code
220 | }
221 |
222 | gesture = .active(event)
| `- warning: reference to captured var 'event' in concurrently-executing code
223 | }
224 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[100/142] Emitting module Luminare
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Auxiliary/DividedVStack.swift:139:16: error: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state
137 | struct DisableDividedStackInnerPaddingKey: PreferenceKey {
138 | typealias Value = Bool?
139 | static var defaultValue: Value = nil
| |- error: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
140 |
141 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/Composes/LuminareCompose.swift:189:16: error: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state
187 | struct LuminareComposeIgnoreSafeAreaEdgesKey: PreferenceKey {
188 | typealias Value = Edge.Set?
189 | static var defaultValue: Value = nil
| |- error: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
190 |
191 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EventMonitorManager.swift:11:16: error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EventMonitorManager' may have shared mutable state
8 | import AppKit
9 |
10 | final class EventMonitorManager {
| `- note: class 'EventMonitorManager' does not conform to the 'Sendable' protocol
11 | static let shared = EventMonitorManager()
| |- error: static property 'shared' is not concurrency-safe because non-'Sendable' type 'EventMonitorManager' may have shared mutable state
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | private var monitors: [AnyHashable: NSObject] = [:]
13 |
[101/142] Compiling Luminare VisualEffectView.swift
[102/142] Compiling Luminare LuminareButtonStyle.swift
[103/142] Compiling Luminare LuminareCompactButtonStyle.swift
[104/142] Compiling Luminare LuminareCosmeticButtonStyle.swift
[105/142] Compiling Luminare LuminareProminentButtonStyle.swift
[106/142] Compiling Luminare ColorHueSliderView.swift
[107/142] Compiling Luminare ColorPickerModalView.swift
[108/142] Compiling Luminare LuminareBorderedModifier.swift
[109/142] Compiling Luminare LuminareCroppedSectionItemModifier.swift
[110/142] Compiling Luminare LuminareFilledModifier.swift
[111/142] Compiling Luminare LuminareHoverableModifier.swift
[112/142] Compiling Luminare LuminarePopoverModifier.swift
[113/142] Compiling Luminare LuminarePopupModifier.swift
[114/142] Compiling Luminare ScreenView.swift
[115/142] Compiling Luminare Text+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:23:19: error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
21 | public extension LuminareCoordinator {
22 | var isVisible: Bool {
23 | luminare?.isVisible ?? false
| `- error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
24 | }
25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:435:45: note: property declared here
433 |
434 | @property (getter=isDocumentEdited) BOOL documentEdited;
435 | @property (getter=isVisible, readonly) BOOL visible;
| `- note: property declared here
436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:28:24: error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
| `- error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
29 | self.body
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:18:12: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
16 | /// - Parameters:
17 | /// - content: the content view of the window, wrapped in a ``LuminareView``.
18 | public init(content: @escaping () -> some View) {
| |- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
19 | super.init(
20 | contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:33:19: error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
31 | }
32 |
33 | luminare?.layoutIfNeeded()
| `- error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
AppKit.NSWindow.layoutIfNeeded:3:24: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layoutIfNeeded()}
| |- note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:34:19: error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
32 |
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
| `- error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
35 | luminare?.orderFrontRegardless()
36 | }
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:35:19: error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
| `- error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
36 | }
37 |
AppKit.NSWindow.orderFrontRegardless:2:22: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func orderFrontRegardless()}
| |- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:39:19: error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
36 | }
37 |
38 | func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
39 | luminare?.close()
| `- error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
40 | luminare = nil
41 | }
AppKit.NSWindow.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[116/142] Compiling Luminare View+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:23:19: error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
21 | public extension LuminareCoordinator {
22 | var isVisible: Bool {
23 | luminare?.isVisible ?? false
| `- error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
24 | }
25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:435:45: note: property declared here
433 |
434 | @property (getter=isDocumentEdited) BOOL documentEdited;
435 | @property (getter=isVisible, readonly) BOOL visible;
| `- note: property declared here
436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:28:24: error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
| `- error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
29 | self.body
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:18:12: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
16 | /// - Parameters:
17 | /// - content: the content view of the window, wrapped in a ``LuminareView``.
18 | public init(content: @escaping () -> some View) {
| |- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
19 | super.init(
20 | contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:33:19: error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
31 | }
32 |
33 | luminare?.layoutIfNeeded()
| `- error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
AppKit.NSWindow.layoutIfNeeded:3:24: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layoutIfNeeded()}
| |- note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:34:19: error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
32 |
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
| `- error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
35 | luminare?.orderFrontRegardless()
36 | }
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:35:19: error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
| `- error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
36 | }
37 |
AppKit.NSWindow.orderFrontRegardless:2:22: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func orderFrontRegardless()}
| |- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:39:19: error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
36 | }
37 |
38 | func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
39 | luminare?.close()
| `- error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
40 | luminare = nil
41 | }
AppKit.NSWindow.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[117/142] Compiling Luminare LuminareSection+Initializers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:23:19: error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
21 | public extension LuminareCoordinator {
22 | var isVisible: Bool {
23 | luminare?.isVisible ?? false
| `- error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
24 | }
25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:435:45: note: property declared here
433 |
434 | @property (getter=isDocumentEdited) BOOL documentEdited;
435 | @property (getter=isVisible, readonly) BOOL visible;
| `- note: property declared here
436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:28:24: error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
| `- error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
29 | self.body
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:18:12: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
16 | /// - Parameters:
17 | /// - content: the content view of the window, wrapped in a ``LuminareView``.
18 | public init(content: @escaping () -> some View) {
| |- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
19 | super.init(
20 | contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:33:19: error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
31 | }
32 |
33 | luminare?.layoutIfNeeded()
| `- error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
AppKit.NSWindow.layoutIfNeeded:3:24: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layoutIfNeeded()}
| |- note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:34:19: error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
32 |
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
| `- error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
35 | luminare?.orderFrontRegardless()
36 | }
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:35:19: error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
| `- error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
36 | }
37 |
AppKit.NSWindow.orderFrontRegardless:2:22: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func orderFrontRegardless()}
| |- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:39:19: error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
36 | }
37 |
38 | func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
39 | luminare?.close()
| `- error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
40 | luminare = nil
41 | }
AppKit.NSWindow.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[118/142] Compiling Luminare LuminareCoordinator.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:23:19: error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
21 | public extension LuminareCoordinator {
22 | var isVisible: Bool {
23 | luminare?.isVisible ?? false
| `- error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
24 | }
25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:435:45: note: property declared here
433 |
434 | @property (getter=isDocumentEdited) BOOL documentEdited;
435 | @property (getter=isVisible, readonly) BOOL visible;
| `- note: property declared here
436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:28:24: error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
| `- error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
29 | self.body
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:18:12: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
16 | /// - Parameters:
17 | /// - content: the content view of the window, wrapped in a ``LuminareView``.
18 | public init(content: @escaping () -> some View) {
| |- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
19 | super.init(
20 | contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:33:19: error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
31 | }
32 |
33 | luminare?.layoutIfNeeded()
| `- error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
AppKit.NSWindow.layoutIfNeeded:3:24: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layoutIfNeeded()}
| |- note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:34:19: error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
32 |
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
| `- error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
35 | luminare?.orderFrontRegardless()
36 | }
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:35:19: error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
| `- error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
36 | }
37 |
AppKit.NSWindow.orderFrontRegardless:2:22: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func orderFrontRegardless()}
| |- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:39:19: error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
36 | }
37 |
38 | func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
39 | luminare?.close()
| `- error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
40 | luminare = nil
41 | }
AppKit.NSWindow.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[119/142] Compiling Luminare LuminareSelectionData.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:23:19: error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
21 | public extension LuminareCoordinator {
22 | var isVisible: Bool {
23 | luminare?.isVisible ?? false
| `- error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
24 | }
25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:435:45: note: property declared here
433 |
434 | @property (getter=isDocumentEdited) BOOL documentEdited;
435 | @property (getter=isVisible, readonly) BOOL visible;
| `- note: property declared here
436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:28:24: error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
| `- error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
29 | self.body
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:18:12: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
16 | /// - Parameters:
17 | /// - content: the content view of the window, wrapped in a ``LuminareView``.
18 | public init(content: @escaping () -> some View) {
| |- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
19 | super.init(
20 | contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:33:19: error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
31 | }
32 |
33 | luminare?.layoutIfNeeded()
| `- error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
AppKit.NSWindow.layoutIfNeeded:3:24: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layoutIfNeeded()}
| |- note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:34:19: error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
32 |
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
| `- error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
35 | luminare?.orderFrontRegardless()
36 | }
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:35:19: error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
| `- error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
36 | }
37 |
AppKit.NSWindow.orderFrontRegardless:2:22: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func orderFrontRegardless()}
| |- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:39:19: error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
36 | }
37 |
38 | func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
39 | luminare?.close()
| `- error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
40 | luminare = nil
41 | }
AppKit.NSWindow.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[120/142] Compiling Luminare LuminareButtonStyle+Previews.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:23:19: error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
21 | public extension LuminareCoordinator {
22 | var isVisible: Bool {
23 | luminare?.isVisible ?? false
| `- error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
24 | }
25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:435:45: note: property declared here
433 |
434 | @property (getter=isDocumentEdited) BOOL documentEdited;
435 | @property (getter=isVisible, readonly) BOOL visible;
| `- note: property declared here
436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:28:24: error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
| `- error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
29 | self.body
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:18:12: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
16 | /// - Parameters:
17 | /// - content: the content view of the window, wrapped in a ``LuminareView``.
18 | public init(content: @escaping () -> some View) {
| |- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
19 | super.init(
20 | contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:33:19: error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
31 | }
32 |
33 | luminare?.layoutIfNeeded()
| `- error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
AppKit.NSWindow.layoutIfNeeded:3:24: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layoutIfNeeded()}
| |- note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:34:19: error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
32 |
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
| `- error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
35 | luminare?.orderFrontRegardless()
36 | }
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:35:19: error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
| `- error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
36 | }
37 |
AppKit.NSWindow.orderFrontRegardless:2:22: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func orderFrontRegardless()}
| |- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:39:19: error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
36 | }
37 |
38 | func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
39 | luminare?.close()
| `- error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
40 | luminare = nil
41 | }
AppKit.NSWindow.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[121/142] Compiling Luminare StringFormatStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:23:19: error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
21 | public extension LuminareCoordinator {
22 | var isVisible: Bool {
23 | luminare?.isVisible ?? false
| `- error: main actor-isolated property 'isVisible' can not be referenced from a nonisolated context
24 | }
25 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:435:45: note: property declared here
433 |
434 | @property (getter=isDocumentEdited) BOOL documentEdited;
435 | @property (getter=isVisible, readonly) BOOL visible;
| `- note: property declared here
436 | @property (getter=isKeyWindow, readonly) BOOL keyWindow;
437 | @property (getter=isMainWindow, readonly) BOOL mainWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:28:24: error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
| `- error: call to main actor-isolated initializer 'init(content:)' in a synchronous nonisolated context
29 | self.body
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:18:12: note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
16 | /// - Parameters:
17 | /// - content: the content view of the window, wrapped in a ``LuminareView``.
18 | public init(content: @escaping () -> some View) {
| |- note: calls to initializer 'init(content:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
19 | super.init(
20 | contentRect: .zero,
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:33:19: error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
31 | }
32 |
33 | luminare?.layoutIfNeeded()
| `- error: call to main actor-isolated instance method 'layoutIfNeeded()' in a synchronous nonisolated context
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
AppKit.NSWindow.layoutIfNeeded:3:24: note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @available(macOS 10.7, *)
3 | @MainActor open func layoutIfNeeded()}
| |- note: calls to instance method 'layoutIfNeeded()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
4 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:34:19: error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
32 |
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
| `- error: call to main actor-isolated instance method 'center()' in a synchronous nonisolated context
35 | luminare?.orderFrontRegardless()
36 | }
AppKit.NSWindow.center:2:22: note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func center()}
| |- note: calls to instance method 'center()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:35:19: error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
24 | }
25 |
26 | func showWindow() {
| `- note: add '@MainActor' to make instance method 'showWindow()' part of global actor 'MainActor'
27 | if luminare == nil {
28 | luminare = LuminareWindow {
:
33 | luminare?.layoutIfNeeded()
34 | luminare?.center()
35 | luminare?.orderFrontRegardless()
| `- error: call to main actor-isolated instance method 'orderFrontRegardless()' in a synchronous nonisolated context
36 | }
37 |
AppKit.NSWindow.orderFrontRegardless:2:22: note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func orderFrontRegardless()}
| |- note: calls to instance method 'orderFrontRegardless()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/LuminareCoordinator.swift:39:19: error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
36 | }
37 |
38 | func closeWindow() {
| `- note: add '@MainActor' to make instance method 'closeWindow()' part of global actor 'MainActor'
39 | luminare?.close()
| `- error: call to main actor-isolated instance method 'close()' in a synchronous nonisolated context
40 | luminare = nil
41 | }
AppKit.NSWindow.close:2:22: note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func close()}
| |- note: calls to instance method 'close()' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
[122/142] Compiling Luminare LuminareToggle.swift
[123/142] Compiling Luminare LuminareCompactPicker.swift
[124/142] Compiling Luminare LuminareList.swift
[125/142] Compiling Luminare LuminarePicker.swift
[126/142] Compiling Luminare LuminareSection.swift
[127/142] Compiling Luminare LuminareTextEditor.swift
[128/142] Compiling Luminare LuminareTextField.swift
[129/142] Compiling Luminare LuminareWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Sidebar/LuminareTabItem.swift:52:9: error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
50 |
51 | var decoratedImageView: some View {
52 | DecoratedImageView(tab: self)
| `- error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
53 | }
54 | }
:
56 | // MARK: Image View
57 |
58 | fileprivate struct DecoratedImageView<Tab>: View where Tab: LuminareTabItem {
| |- note: calls to initializer 'init(tab:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
59 | @Environment(\.luminareMinHeight) private var minHeight
60 | let tab: Tab
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:38: error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:201:48: note: property declared here
199 | - (nullable NSWindow *)windowWithWindowNumber:(NSInteger)windowNum;
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
| `- note: property declared here
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
203 | @property (getter=isActive, readonly) BOOL active;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:32: error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:92:38: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
90 | }
91 |
92 | let windowFrame = window.frame
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
93 |
94 | return switch alignment {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
[130/142] Compiling Luminare LuminareSidebar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Sidebar/LuminareTabItem.swift:52:9: error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
50 |
51 | var decoratedImageView: some View {
52 | DecoratedImageView(tab: self)
| `- error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
53 | }
54 | }
:
56 | // MARK: Image View
57 |
58 | fileprivate struct DecoratedImageView<Tab>: View where Tab: LuminareTabItem {
| |- note: calls to initializer 'init(tab:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
59 | @Environment(\.luminareMinHeight) private var minHeight
60 | let tab: Tab
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:38: error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:201:48: note: property declared here
199 | - (nullable NSWindow *)windowWithWindowNumber:(NSInteger)windowNum;
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
| `- note: property declared here
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
203 | @property (getter=isActive, readonly) BOOL active;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:32: error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:92:38: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
90 | }
91 |
92 | let windowFrame = window.frame
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
93 |
94 | return switch alignment {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
[131/142] Compiling Luminare LuminareSidebarSection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Sidebar/LuminareTabItem.swift:52:9: error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
50 |
51 | var decoratedImageView: some View {
52 | DecoratedImageView(tab: self)
| `- error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
53 | }
54 | }
:
56 | // MARK: Image View
57 |
58 | fileprivate struct DecoratedImageView<Tab>: View where Tab: LuminareTabItem {
| |- note: calls to initializer 'init(tab:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
59 | @Environment(\.luminareMinHeight) private var minHeight
60 | let tab: Tab
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:38: error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:201:48: note: property declared here
199 | - (nullable NSWindow *)windowWithWindowNumber:(NSInteger)windowNum;
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
| `- note: property declared here
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
203 | @property (getter=isActive, readonly) BOOL active;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:32: error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:92:38: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
90 | }
91 |
92 | let windowFrame = window.frame
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
93 |
94 | return switch alignment {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
[132/142] Compiling Luminare LuminareSidebarTab.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Sidebar/LuminareTabItem.swift:52:9: error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
50 |
51 | var decoratedImageView: some View {
52 | DecoratedImageView(tab: self)
| `- error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
53 | }
54 | }
:
56 | // MARK: Image View
57 |
58 | fileprivate struct DecoratedImageView<Tab>: View where Tab: LuminareTabItem {
| |- note: calls to initializer 'init(tab:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
59 | @Environment(\.luminareMinHeight) private var minHeight
60 | let tab: Tab
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:38: error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:201:48: note: property declared here
199 | - (nullable NSWindow *)windowWithWindowNumber:(NSInteger)windowNum;
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
| `- note: property declared here
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
203 | @property (getter=isActive, readonly) BOOL active;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:32: error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:92:38: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
90 | }
91 |
92 | let windowFrame = window.frame
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
93 |
94 | return switch alignment {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
[133/142] Compiling Luminare LuminareTabItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Sidebar/LuminareTabItem.swift:52:9: error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
50 |
51 | var decoratedImageView: some View {
52 | DecoratedImageView(tab: self)
| `- error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
53 | }
54 | }
:
56 | // MARK: Image View
57 |
58 | fileprivate struct DecoratedImageView<Tab>: View where Tab: LuminareTabItem {
| |- note: calls to initializer 'init(tab:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
59 | @Environment(\.luminareMinHeight) private var minHeight
60 | let tab: Tab
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:38: error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:201:48: note: property declared here
199 | - (nullable NSWindow *)windowWithWindowNumber:(NSInteger)windowNum;
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
| `- note: property declared here
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
203 | @property (getter=isActive, readonly) BOOL active;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:32: error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:92:38: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
90 | }
91 |
92 | let windowFrame = window.frame
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
93 |
94 | return switch alignment {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
[134/142] Compiling Luminare LuminareModalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Sidebar/LuminareTabItem.swift:52:9: error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
50 |
51 | var decoratedImageView: some View {
52 | DecoratedImageView(tab: self)
| `- error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
53 | }
54 | }
:
56 | // MARK: Image View
57 |
58 | fileprivate struct DecoratedImageView<Tab>: View where Tab: LuminareTabItem {
| |- note: calls to initializer 'init(tab:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
59 | @Environment(\.luminareMinHeight) private var minHeight
60 | let tab: Tab
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:38: error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:201:48: note: property declared here
199 | - (nullable NSWindow *)windowWithWindowNumber:(NSInteger)windowNum;
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
| `- note: property declared here
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
203 | @property (getter=isActive, readonly) BOOL active;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:32: error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:92:38: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
90 | }
91 |
92 | let windowFrame = window.frame
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
93 |
94 | return switch alignment {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
[135/142] Compiling Luminare LuminareModalWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:108:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
106 |
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:27: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:109:75: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
107 | let currentFrame = NSRect(
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:31: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:110:73: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
108 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
112 | )
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:32: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:111:76: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
109 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
110 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
111 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
112 | )
113 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareWindow.swift:114:20: error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
112 | )
113 |
114 | window.setFrame(currentFrame, display: false)
| `- error: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context
115 | }
116 | }
AppKit.NSWindow.setFrame:2:22: note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
1 | class NSWindow {
2 | @MainActor open func setFrame(_ frameRect: NSRect, display flag: Bool)}
| |- note: calls to instance method 'setFrame(_:display:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Sidebar/LuminareTabItem.swift:52:9: error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
50 |
51 | var decoratedImageView: some View {
52 | DecoratedImageView(tab: self)
| `- error: call to main actor-isolated initializer 'init(tab:)' in a synchronous nonisolated context
53 | }
54 | }
:
56 | // MARK: Image View
57 |
58 | fileprivate struct DecoratedImageView<Tab>: View where Tab: LuminareTabItem {
| |- note: calls to initializer 'init(tab:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
59 | @Environment(\.luminareMinHeight) private var minHeight
60 | let tab: Tab
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:38: error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated property 'mainWindow' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:201:48: note: property declared here
199 | - (nullable NSWindow *)windowWithWindowNumber:(NSInteger)windowNum;
200 |
201 | @property (nullable, readonly, weak) NSWindow *mainWindow;
| `- note: property declared here
202 | @property (nullable, readonly, weak) NSWindow *keyWindow;
203 | @property (getter=isActive, readonly) BOOL active;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:87:32: error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
85 | }
86 | case .window:
87 | guard let window = NSApp.mainWindow else {
| `- error: main actor-isolated var 'NSApp' can not be referenced from a nonisolated context
88 | // Fallback to screen center
89 | return Self.screenCenter.origin(of: frame)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSApplication.h:191:58: note: var declared here
189 | @interface NSApplication : NSResponder <NSUserInterfaceValidations, NSMenuItemValidation, NSAccessibilityElement, NSAccessibility>
190 |
191 | APPKIT_EXTERN __kindof NSApplication * _Null_unspecified NSApp NS_SWIFT_UI_ACTOR;
| `- note: var declared here
192 |
193 | @property (class, readonly, strong) __kindof NSApplication *sharedApplication;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:92:38: error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
67 | }
68 |
69 | func origin(of frame: CGRect) -> CGPoint {
| `- note: add '@MainActor' to make instance method 'origin(of:)' part of global actor 'MainActor'
70 | switch target {
71 | case .screen:
:
90 | }
91 |
92 | let windowFrame = window.frame
| `- error: main actor-isolated property 'frame' can not be referenced from a nonisolated context
93 |
94 | return switch alignment {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:359:29: note: property declared here
357 | @property (readonly) NSRect cascadingReferenceFrame API_AVAILABLE(macos(15.0));
358 |
359 | @property (readonly) NSRect frame;
| `- note: property declared here
360 |
361 | /*! Subclasses can override \c animationResizeTime: to control the total time for the frame change.
[136/142] Compiling Luminare LuminareStepper.swift
[137/142] Compiling Luminare LuminareStepperAlignment.swift
[138/142] Compiling Luminare LuminareStepperDirection.swift
[139/142] Compiling Luminare LuminareStepperSource.swift
[140/142] Compiling Luminare LuminareDividedStack.swift
[141/142] Compiling Luminare LuminarePane.swift
[142/142] Compiling Luminare LuminareView.swift
BUILD FAILURE 6.1 macosSpm