Build Information
Successful build of Luminare, reference v0.1.0 (611503
), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 10:39:20 UTC.
Swift 6 data race errors: 3
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: v0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/MrKai77/Luminare
* tag v0.1.0 -> FETCH_HEAD
HEAD is now at 6115039 ✨ Replace `ScreenView` startup screen with accent color
Cloned https://github.com/MrKai77/Luminare.git
Revision (git rev-parse @):
6115039d9d7bbd71ebbd2e38cab845cf5725bd52
SUCCESS checkout https://github.com/MrKai77/Luminare.git at v0.1.0
========================================
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.24s)
Creating working copy for https://github.com/MrKai77/Luminare.git
Working copy of https://github.com/MrKai77/Luminare.git resolved at v0.1.0 (6115039)
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",
"ContentView.swift",
"LuminareSettingsWindow.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindow.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindowView.swift",
"Modal Window/LuminareModalView.swift",
"Modal Window/LuminareModalWindow.swift",
"Storage/SettingsTab.swift",
"Storage/SettingsTabGroup.swift",
"Utilities/Color+Extensions.swift",
"Utilities/EnvironmentValues.swift",
"Utilities/NSWindow+Extensions.swift",
"Utilities/ScreenView.swift",
"Utilities/VisualEffectView.swift",
"Views - Main/TabHeaderView.swift",
"Views - Sidebar/LuminareSidebarGroupItem.swift",
"Views - Sidebar/LuminareSidebarView.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/33] Emitting module Luminare
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/ContentView.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | struct ScrollOffsetPreferenceKey: PreferenceKey {
81 | static var defaultValue: CGFloat = 0
| |- 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
82 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
83 | value += nextValue()
/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/36] Compiling Luminare TabHeaderView.swift
[5/36] Compiling Luminare LuminareSidebarGroupItem.swift
[6/36] Compiling Luminare LuminareSidebarView.swift
[7/36] Compiling Luminare LuminareSettingsWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:59:96: warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
57 | self.hidePreviewIcon = hidePreviewIcon
58 |
59 | showPreview = UserDefaults.standard.bool(forKey: "LuminareSettingsWindow.showPreview") ?? true
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
60 |
61 | super.init(
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:98:39: warning: main actor-isolated property 'childWindows' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
96 | queue: .main
97 | ) { _ in
98 | guard let children = self.childWindows else {
| `- warning: main actor-isolated property 'childWindows' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
99 | return
100 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:610:68: note: property declared here
608 | - (void)addChildWindow:(NSWindow *)childWin ordered:(NSWindowOrderingMode)place;
609 | - (void)removeChildWindow:(NSWindow *)childWin;
610 | @property (nullable, readonly, copy) NSArray<__kindof NSWindow *> *childWindows;
| `- note: property declared here
611 |
612 | @property (nullable, weak) NSWindow *parentWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:102:37: warning: call to main actor-isolated instance method 'relocatePreview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 | }
101 |
102 | children.forEach { self.relocatePreview($0) }
| `- warning: call to main actor-isolated instance method 'relocatePreview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
103 | }
104 | }
:
261 | }
262 |
263 | private func relocatePreview(_ panel: NSWindow) {
| |- note: calls to instance method 'relocatePreview' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
264 | let bounds = previewBounds
265 | let panelFrame = panel.frame
/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 | }
[8/36] Compiling Luminare LuminareTrafficLightedWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:59:96: warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
57 | self.hidePreviewIcon = hidePreviewIcon
58 |
59 | showPreview = UserDefaults.standard.bool(forKey: "LuminareSettingsWindow.showPreview") ?? true
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
60 |
61 | super.init(
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:98:39: warning: main actor-isolated property 'childWindows' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
96 | queue: .main
97 | ) { _ in
98 | guard let children = self.childWindows else {
| `- warning: main actor-isolated property 'childWindows' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
99 | return
100 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:610:68: note: property declared here
608 | - (void)addChildWindow:(NSWindow *)childWin ordered:(NSWindowOrderingMode)place;
609 | - (void)removeChildWindow:(NSWindow *)childWin;
610 | @property (nullable, readonly, copy) NSArray<__kindof NSWindow *> *childWindows;
| `- note: property declared here
611 |
612 | @property (nullable, weak) NSWindow *parentWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:102:37: warning: call to main actor-isolated instance method 'relocatePreview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 | }
101 |
102 | children.forEach { self.relocatePreview($0) }
| `- warning: call to main actor-isolated instance method 'relocatePreview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
103 | }
104 | }
:
261 | }
262 |
263 | private func relocatePreview(_ panel: NSWindow) {
| |- note: calls to instance method 'relocatePreview' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
264 | let bounds = previewBounds
265 | let panelFrame = panel.frame
/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 | }
[9/36] Compiling Luminare LuminareTrafficLightedWindowView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:59:96: warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
57 | self.hidePreviewIcon = hidePreviewIcon
58 |
59 | showPreview = UserDefaults.standard.bool(forKey: "LuminareSettingsWindow.showPreview") ?? true
| `- warning: left side of nil coalescing operator '??' has non-optional type 'Bool', so the right side is never used
60 |
61 | super.init(
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:98:39: warning: main actor-isolated property 'childWindows' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
96 | queue: .main
97 | ) { _ in
98 | guard let children = self.childWindows else {
| `- warning: main actor-isolated property 'childWindows' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
99 | return
100 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:610:68: note: property declared here
608 | - (void)addChildWindow:(NSWindow *)childWin ordered:(NSWindowOrderingMode)place;
609 | - (void)removeChildWindow:(NSWindow *)childWin;
610 | @property (nullable, readonly, copy) NSArray<__kindof NSWindow *> *childWindows;
| `- note: property declared here
611 |
612 | @property (nullable, weak) NSWindow *parentWindow;
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/LuminareSettingsWindow.swift:102:37: warning: call to main actor-isolated instance method 'relocatePreview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
100 | }
101 |
102 | children.forEach { self.relocatePreview($0) }
| `- warning: call to main actor-isolated instance method 'relocatePreview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
103 | }
104 | }
:
261 | }
262 |
263 | private func relocatePreview(_ panel: NSWindow) {
| |- note: calls to instance method 'relocatePreview' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSWindow'
264 | let bounds = previewBounds
265 | let panelFrame = panel.frame
/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 | }
[10/36] Compiling Luminare NSWindow+Extensions.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(LuminareSettingsWindow.fastAnimation) {
| `- warning: no 'async' operations occur within 'await' expression
81 | image = newImage
82 | }
[11/36] 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(LuminareSettingsWindow.fastAnimation) {
| `- warning: no 'async' operations occur within 'await' expression
81 | image = newImage
82 | }
[12/36] 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(LuminareSettingsWindow.fastAnimation) {
| `- warning: no 'async' operations occur within 'await' expression
81 | image = newImage
82 | }
[13/36] Compiling Luminare LuminareTextField.swift
[14/36] Compiling Luminare LuminareToggle.swift
[15/36] Compiling Luminare LuminareValueAdjuster.swift
[16/36] Compiling Luminare ColorHueSliderView.swift
[17/36] Compiling Luminare ColorPickerModalView.swift
[18/36] Compiling Luminare ColorSaturationBrightnessView.swift
[19/36] Compiling Luminare LuminareColorPicker.swift
[20/36] Compiling Luminare PopoverHolder.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/ContentView.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | struct ScrollOffsetPreferenceKey: PreferenceKey {
81 | static var defaultValue: CGFloat = 0
| |- 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
82 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
83 | value += nextValue()
[21/36] Compiling Luminare PopoverPanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/ContentView.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | struct ScrollOffsetPreferenceKey: PreferenceKey {
81 | static var defaultValue: CGFloat = 0
| |- 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
82 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
83 | value += nextValue()
[22/36] Compiling Luminare ContentView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/ContentView.swift:81:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | struct ScrollOffsetPreferenceKey: PreferenceKey {
81 | static var defaultValue: CGFloat = 0
| |- 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
82 | static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
83 | value += nextValue()
[23/36] Compiling Luminare LuminareList.swift
[24/36] Compiling Luminare LuminarePicker.swift
[25/36] Compiling Luminare LuminareSection.swift
[26/36] Compiling Luminare LuminareSliderPicker.swift
[27/36] 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 {
[28/36] 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 {
[29/36] 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 {
[30/36] 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 {
[31/36] Compiling Luminare LuminareModalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:61:67: warning: conditional cast from 'LuminareModal<Content>' to 'LuminareModal<Content>' always succeeds
59 | Color.clear
60 | .onChange(of: proxy.size) { _ in
61 | guard let modalWindow = floatingPanel as? LuminareModal<Content> else { return }
| `- warning: conditional cast from 'LuminareModal<Content>' to 'LuminareModal<Content>' always succeeds
62 | modalWindow.updateShadow(for: 0.5)
63 | }
[32/36] Compiling Luminare LuminareModalWindow.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:61:67: warning: conditional cast from 'LuminareModal<Content>' to 'LuminareModal<Content>' always succeeds
59 | Color.clear
60 | .onChange(of: proxy.size) { _ in
61 | guard let modalWindow = floatingPanel as? LuminareModal<Content> else { return }
| `- warning: conditional cast from 'LuminareModal<Content>' to 'LuminareModal<Content>' always succeeds
62 | modalWindow.updateShadow(for: 0.5)
63 | }
[33/36] Compiling Luminare SettingsTab.swift
/Users/admin/builder/spi-builder-workspace/Sources/Luminare/Modal Window/LuminareModalView.swift:61:67: warning: conditional cast from 'LuminareModal<Content>' to 'LuminareModal<Content>' always succeeds
59 | Color.clear
60 | .onChange(of: proxy.size) { _ in
61 | guard let modalWindow = floatingPanel as? LuminareModal<Content> else { return }
| `- warning: conditional cast from 'LuminareModal<Content>' to 'LuminareModal<Content>' always succeeds
62 | modalWindow.updateShadow(for: 0.5)
63 | }
[34/36] Compiling Luminare SettingsTabGroup.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/36] 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 |
[36/36] 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 |
Build complete! (11.70s)
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",
"ContentView.swift",
"LuminareSettingsWindow.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindow.swift",
"Modal Window - Traffic Lights/LuminareTrafficLightedWindowView.swift",
"Modal Window/LuminareModalView.swift",
"Modal Window/LuminareModalWindow.swift",
"Storage/SettingsTab.swift",
"Storage/SettingsTabGroup.swift",
"Utilities/Color+Extensions.swift",
"Utilities/EnvironmentValues.swift",
"Utilities/NSWindow+Extensions.swift",
"Utilities/ScreenView.swift",
"Utilities/VisualEffectView.swift",
"Views - Main/TabHeaderView.swift",
"Views - Sidebar/LuminareSidebarGroupItem.swift",
"Views - Sidebar/LuminareSidebarView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
Done.