Build Information
Successful build of Luminare, reference main (a9c1d6
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 10:40:52 UTC.
Swift 6 data race errors: 14
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MrKai77/Luminare.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MrKai77/Luminare
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a9c1d60 📄 Update LICENSE to BSD 3-Clause license
Cloned https://github.com/MrKai77/Luminare.git
Revision (git rev-parse @):
a9c1d600e972c5523c27eb7cd84637f4f05beaaa
SUCCESS checkout https://github.com/MrKai77/Luminare.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "luminare",
"name": "Luminare",
"url": "https://github.com/MrKai77/Luminare.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Luminare",
"dependencies": [
]
}
]
}
Fetching https://github.com/MrKai77/Luminare.git
[1/5709] Fetching luminare
Fetched https://github.com/MrKai77/Luminare.git from cache (1.28s)
Creating working copy for https://github.com/MrKai77/Luminare.git
Working copy of https://github.com/MrKai77/Luminare.git resolved at main (a9c1d60)
warning: '.resolve-product-dependencies': dependency 'luminare' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MrKai77/Luminare.git
https://github.com/MrKai77/Luminare.git
{
"dependencies" : [
],
"manifest_display_name" : "Luminare",
"name" : "Luminare",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Luminare",
"targets" : [
"Luminare"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LuminareTests",
"module_type" : "SwiftTarget",
"name" : "LuminareTests",
"path" : "Tests/LuminareTests",
"sources" : [
"LuminareTests.swift"
],
"target_dependencies" : [
"Luminare"
],
"type" : "test"
},
{
"c99name" : "Luminare",
"module_type" : "SwiftTarget",
"name" : "Luminare",
"path" : "Sources/Luminare",
"product_memberships" : [
"Luminare"
],
"sources" : [
"Components/Color Picker/ColorHueSliderView.swift",
"Components/Color Picker/ColorPickerModalView.swift",
"Components/Color Picker/ColorSaturationBrightnessView.swift",
"Components/Color Picker/LuminareColorPicker.swift",
"Components/Color Picker/RGBInputField.swift",
"Components/DividedVStack.swift",
"Components/LuminareButtonStyle.swift",
"Components/LuminareInfoView.swift",
"Components/LuminareList.swift",
"Components/LuminarePicker.swift",
"Components/LuminareSection.swift",
"Components/LuminareSliderPicker.swift",
"Components/LuminareTextField.swift",
"Components/LuminareToggle.swift",
"Components/LuminareValueAdjuster.swift",
"Components/Popover/PopoverHolder.swift",
"Components/Popover/PopoverPanel.swift",
"Main Window/Luminare.swift",
"Main Window/LuminareDividedStack.swift",
"Main Window/LuminarePane.swift",
"Main Window/LuminareTabItem.swift",
"Main Window/LuminareView.swift",
"Main Window/Sidebar/LuminareSidebar.swift",
"Main Window/Sidebar/LuminareSidebarSection.swift",
"Main Window/Sidebar/LuminareSidebarTab.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindow.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindowView.swift",
"Modal Window/LuminareModalView.swift",
"Modal Window/LuminareModalWindow.swift",
"Utilities/Color+Extensions.swift",
"Utilities/EnvironmentValues.swift",
"Utilities/LuminareBackgroundEffect.swift",
"Utilities/ScreenView.swift",
"Utilities/StringFormatStyle.swift",
"Utilities/VisualEffectView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/35] Emitting module Luminare
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:11:23: warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
| |- warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:12:23: warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
| |- warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'animation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:13:23: warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
| |- warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fastAnimation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fastAnimation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareView.swift:109:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:109:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:110:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:110:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:111:31: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:111:73: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:112:32: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:112:76: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:115:20: warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
115 | window.setFrame(currentFrame, display: false)
| `- warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | }
117 | }
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/EnvironmentValues.swift:15:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | // This is a custom environement value as an alternative implementation of it.
14 | public struct TintColorEnvironmentKey: EnvironmentKey {
15 | public static var defaultValue: () -> Color = { .accentColor }
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EnvironmentValues.swift:28:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public struct HoveringOverLuminareItem: EnvironmentKey {
28 | public static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
29 | }
30 |
[4/38] Compiling Luminare ScreenView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/ScreenView.swift:80:13: warning: no 'async' operations occur within 'await' expression
78 |
79 | if let newImage = NSImage.resize(url, width: 300) {
80 | await withAnimation(LuminareConstants.fastAnimation) {
| `- warning: no 'async' operations occur within 'await' expression
81 | image = newImage
82 | }
[5/38] Compiling Luminare StringFormatStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/ScreenView.swift:80:13: warning: no 'async' operations occur within 'await' expression
78 |
79 | if let newImage = NSImage.resize(url, width: 300) {
80 | await withAnimation(LuminareConstants.fastAnimation) {
| `- warning: no 'async' operations occur within 'await' expression
81 | image = newImage
82 | }
[6/38] Compiling Luminare VisualEffectView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/ScreenView.swift:80:13: warning: no 'async' operations occur within 'await' expression
78 |
79 | if let newImage = NSImage.resize(url, width: 300) {
80 | await withAnimation(LuminareConstants.fastAnimation) {
| `- warning: no 'async' operations occur within 'await' expression
81 | image = newImage
82 | }
[7/38] Compiling Luminare LuminareTextField.swift
[8/38] Compiling Luminare LuminareToggle.swift
[9/38] Compiling Luminare LuminareValueAdjuster.swift
[10/38] Compiling Luminare PopoverHolder.swift
[11/38] Compiling Luminare LuminareSidebarSection.swift
[12/38] Compiling Luminare LuminareSidebarTab.swift
[13/38] Compiling Luminare LuminareTrafficLightedWindow.swift
[14/38] Compiling Luminare RGBInputField.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/LuminareInfoView.swift:37:29: warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
11 | let color: Color
12 | let description: LocalizedStringKey
13 | @State var isShowingDescription: Bool = false
| `- note: mutation of this property is only permitted within the actor
14 | @State var isHovering: Bool = false
15 |
:
35 | if isHovering {
36 | hoverTimer = Timer.scheduledTimer(withTimeInterval: 0.25, repeats: false) { _ in
37 | isShowingDescription = true
| `- warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
38 | }
39 | } else {
[15/38] Compiling Luminare DividedVStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/LuminareInfoView.swift:37:29: warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
11 | let color: Color
12 | let description: LocalizedStringKey
13 | @State var isShowingDescription: Bool = false
| `- note: mutation of this property is only permitted within the actor
14 | @State var isHovering: Bool = false
15 |
:
35 | if isHovering {
36 | hoverTimer = Timer.scheduledTimer(withTimeInterval: 0.25, repeats: false) { _ in
37 | isShowingDescription = true
| `- warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
38 | }
39 | } else {
[16/38] Compiling Luminare LuminareButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/LuminareInfoView.swift:37:29: warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
11 | let color: Color
12 | let description: LocalizedStringKey
13 | @State var isShowingDescription: Bool = false
| `- note: mutation of this property is only permitted within the actor
14 | @State var isHovering: Bool = false
15 |
:
35 | if isHovering {
36 | hoverTimer = Timer.scheduledTimer(withTimeInterval: 0.25, repeats: false) { _ in
37 | isShowingDescription = true
| `- warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
38 | }
39 | } else {
[17/38] Compiling Luminare LuminareInfoView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Components/LuminareInfoView.swift:37:29: warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
11 | let color: Color
12 | let description: LocalizedStringKey
13 | @State var isShowingDescription: Bool = false
| `- note: mutation of this property is only permitted within the actor
14 | @State var isHovering: Bool = false
15 |
:
35 | if isHovering {
36 | hoverTimer = Timer.scheduledTimer(withTimeInterval: 0.25, repeats: false) { _ in
37 | isShowingDescription = true
| `- warning: main actor-isolated property 'isShowingDescription' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
38 | }
39 | } else {
[18/38] Compiling Luminare ColorHueSliderView.swift
[19/38] Compiling Luminare ColorPickerModalView.swift
[20/38] Compiling Luminare ColorSaturationBrightnessView.swift
[21/38] Compiling Luminare LuminareColorPicker.swift
[22/38] Compiling Luminare LuminareTrafficLightedWindowView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window - Traffic Lights/LuminareTrafficLightedWindowView.swift:54:67: warning: conditional cast from 'LuminareTrafficLightedWindow<Content>' to 'LuminareTrafficLightedWindow<Content>' always succeeds
52 | Color.clear
53 | .onChange(of: proxy.size) { _ in
54 | guard let modalWindow = floatingPanel as? LuminareTrafficLightedWindow<Content> else { return }
| `- warning: conditional cast from 'LuminareTrafficLightedWindow<Content>' to 'LuminareTrafficLightedWindow<Content>' always succeeds
55 | modalWindow.updateShadow(for: 0.5)
56 | }
[23/38] Compiling Luminare LuminareModalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window - Traffic Lights/LuminareTrafficLightedWindowView.swift:54:67: warning: conditional cast from 'LuminareTrafficLightedWindow<Content>' to 'LuminareTrafficLightedWindow<Content>' always succeeds
52 | Color.clear
53 | .onChange(of: proxy.size) { _ in
54 | guard let modalWindow = floatingPanel as? LuminareTrafficLightedWindow<Content> else { return }
| `- warning: conditional cast from 'LuminareTrafficLightedWindow<Content>' to 'LuminareTrafficLightedWindow<Content>' always succeeds
55 | modalWindow.updateShadow(for: 0.5)
56 | }
[24/38] Compiling Luminare LuminareModalWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window - Traffic Lights/LuminareTrafficLightedWindowView.swift:54:67: warning: conditional cast from 'LuminareTrafficLightedWindow<Content>' to 'LuminareTrafficLightedWindow<Content>' always succeeds
52 | Color.clear
53 | .onChange(of: proxy.size) { _ in
54 | guard let modalWindow = floatingPanel as? LuminareTrafficLightedWindow<Content> else { return }
| `- warning: conditional cast from 'LuminareTrafficLightedWindow<Content>' to 'LuminareTrafficLightedWindow<Content>' always succeeds
55 | modalWindow.updateShadow(for: 0.5)
56 | }
[25/38] Compiling Luminare LuminareTabItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareView.swift:109:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:109:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:110:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:110:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:111:31: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:111:73: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:112:32: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:112:76: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:115:20: warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
115 | window.setFrame(currentFrame, display: false)
| `- warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | }
117 | }
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 |
[26/38] Compiling Luminare LuminareView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareView.swift:109:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:109:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:110:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:110:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:111:31: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:111:73: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:112:32: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:112:76: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:115:20: warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
115 | window.setFrame(currentFrame, display: false)
| `- warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | }
117 | }
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 |
[27/38] Compiling Luminare LuminareSidebar.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareView.swift:109:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:109:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
107 |
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | 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/LuminareView.swift:110:27: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:110:75: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
108 | let currentFrame = NSRect(
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | 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/LuminareView.swift:111:31: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:111:73: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
109 | x: window.frame.origin.x + (targetFrame.origin.x - window.frame.origin.x) * progress,
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
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/LuminareView.swift:112:32: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:112:76: warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
110 | y: window.frame.origin.y + (targetFrame.origin.y - window.frame.origin.y) * progress,
111 | width: window.frame.width + (targetFrame.width - window.frame.width) * progress,
112 | height: window.frame.height + (targetFrame.height - window.frame.height) * progress
| `- warning: main actor-isolated property 'frame' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
/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/LuminareView.swift:115:20: warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
113 | )
114 |
115 | window.setFrame(currentFrame, display: false)
| `- warning: call to main actor-isolated instance method 'setFrame(_:display:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
116 | }
117 | }
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 |
[28/38] Compiling Luminare PopoverPanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:11:23: warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
| |- warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:12:23: warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
| |- warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'animation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:13:23: warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
| |- warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fastAnimation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fastAnimation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:51:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
49 | @ViewBuilder
50 | func body(children: _VariadicView.Children) -> some View {
51 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
52 | let last = children.last?.id
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:72:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
70 | @ViewBuilder
71 | func body(children: _VariadicView.Children) -> some View {
72 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
73 | let last = children.last?.id
74 |
[29/38] Compiling Luminare Luminare.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:11:23: warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
| |- warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:12:23: warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
| |- warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'animation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:13:23: warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
| |- warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fastAnimation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fastAnimation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:51:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
49 | @ViewBuilder
50 | func body(children: _VariadicView.Children) -> some View {
51 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
52 | let last = children.last?.id
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:72:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
70 | @ViewBuilder
71 | func body(children: _VariadicView.Children) -> some View {
72 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
73 | let last = children.last?.id
74 |
[30/38] Compiling Luminare LuminareDividedStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:11:23: warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
| |- warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:12:23: warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
| |- warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'animation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:13:23: warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
| |- warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fastAnimation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fastAnimation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:51:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
49 | @ViewBuilder
50 | func body(children: _VariadicView.Children) -> some View {
51 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
52 | let last = children.last?.id
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:72:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
70 | @ViewBuilder
71 | func body(children: _VariadicView.Children) -> some View {
72 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
73 | let last = children.last?.id
74 |
[31/38] Compiling Luminare LuminarePane.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:11:23: warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
| |- warning: static property 'tint' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'tint' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'tint' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:12:23: warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public enum LuminareConstants {
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
| |- warning: static property 'animation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'animation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'animation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
14 | }
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/Luminare.swift:13:23: warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var tint: () -> Color = { .accentColor }
12 | public static var animation: Animation = .smooth(duration: 0.2)
13 | public static var fastAnimation: Animation = .easeOut(duration: 0.1)
| |- warning: static property 'fastAnimation' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fastAnimation' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fastAnimation' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:51:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
49 | @ViewBuilder
50 | func body(children: _VariadicView.Children) -> some View {
51 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
52 | let last = children.last?.id
53 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Main Window/LuminareDividedStack.swift:72:13: warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
70 | @ViewBuilder
71 | func body(children: _VariadicView.Children) -> some View {
72 | let first = children.first?.id
| `- warning: initialization of immutable value 'first' was never used; consider replacing with assignment to '_' or removing it
73 | let last = children.last?.id
74 |
[32/38] Compiling Luminare Color+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EnvironmentValues.swift:15:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | // This is a custom environement value as an alternative implementation of it.
14 | public struct TintColorEnvironmentKey: EnvironmentKey {
15 | public static var defaultValue: () -> Color = { .accentColor }
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EnvironmentValues.swift:28:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public struct HoveringOverLuminareItem: EnvironmentKey {
28 | public static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
29 | }
30 |
[33/38] Compiling Luminare EnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EnvironmentValues.swift:15:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | // This is a custom environement value as an alternative implementation of it.
14 | public struct TintColorEnvironmentKey: EnvironmentKey {
15 | public static var defaultValue: () -> Color = { .accentColor }
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EnvironmentValues.swift:28:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public struct HoveringOverLuminareItem: EnvironmentKey {
28 | public static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
29 | }
30 |
[34/38] Compiling Luminare LuminareBackgroundEffect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EnvironmentValues.swift:15:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | // This is a custom environement value as an alternative implementation of it.
14 | public struct TintColorEnvironmentKey: EnvironmentKey {
15 | public static var defaultValue: () -> Color = { .accentColor }
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
16 | }
17 |
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Utilities/EnvironmentValues.swift:28:23: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public struct HoveringOverLuminareItem: EnvironmentKey {
28 | public static var defaultValue: Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: 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
29 | }
30 |
[35/38] Compiling Luminare LuminareList.swift
[36/38] Compiling Luminare LuminarePicker.swift
[37/38] Compiling Luminare LuminareSection.swift
[38/38] Compiling Luminare LuminareSliderPicker.swift
Build complete! (9.81s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Luminare",
"name" : "Luminare",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Luminare",
"targets" : [
"Luminare"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "LuminareTests",
"module_type" : "SwiftTarget",
"name" : "LuminareTests",
"path" : "Tests/LuminareTests",
"sources" : [
"LuminareTests.swift"
],
"target_dependencies" : [
"Luminare"
],
"type" : "test"
},
{
"c99name" : "Luminare",
"module_type" : "SwiftTarget",
"name" : "Luminare",
"path" : "Sources/Luminare",
"product_memberships" : [
"Luminare"
],
"sources" : [
"Components/Color Picker/ColorHueSliderView.swift",
"Components/Color Picker/ColorPickerModalView.swift",
"Components/Color Picker/ColorSaturationBrightnessView.swift",
"Components/Color Picker/LuminareColorPicker.swift",
"Components/Color Picker/RGBInputField.swift",
"Components/DividedVStack.swift",
"Components/LuminareButtonStyle.swift",
"Components/LuminareInfoView.swift",
"Components/LuminareList.swift",
"Components/LuminarePicker.swift",
"Components/LuminareSection.swift",
"Components/LuminareSliderPicker.swift",
"Components/LuminareTextField.swift",
"Components/LuminareToggle.swift",
"Components/LuminareValueAdjuster.swift",
"Components/Popover/PopoverHolder.swift",
"Components/Popover/PopoverPanel.swift",
"Main Window/Luminare.swift",
"Main Window/LuminareDividedStack.swift",
"Main Window/LuminarePane.swift",
"Main Window/LuminareTabItem.swift",
"Main Window/LuminareView.swift",
"Main Window/Sidebar/LuminareSidebar.swift",
"Main Window/Sidebar/LuminareSidebarSection.swift",
"Main Window/Sidebar/LuminareSidebarTab.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindow.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindowView.swift",
"Modal Window/LuminareModalView.swift",
"Modal Window/LuminareModalWindow.swift",
"Utilities/Color+Extensions.swift",
"Utilities/EnvironmentValues.swift",
"Utilities/LuminareBackgroundEffect.swift",
"Utilities/ScreenView.swift",
"Utilities/StringFormatStyle.swift",
"Utilities/VisualEffectView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.