Build Information
Successful build of PalicoEngine with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 103
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
AppKit.NSTextInputClient:9:10: note: 'markedRange()' declared here
7 | func unmarkText()
8 | func selectedRange() -> NSRange
9 | func markedRange() -> NSRange
| `- note: 'markedRange()' declared here
10 | func hasMarkedText() -> Bool
11 | @available(macOS 10.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:454:10: warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
452 | }
453 |
454 | func hasMarkedText() -> Bool {
| |- warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hasMarkedText()' to make this instance method not isolated to the actor
455 | return false
456 | }
AppKit.NSTextInputClient:10:10: note: 'hasMarkedText()' declared here
8 | func selectedRange() -> NSRange
9 | func markedRange() -> NSRange
10 | func hasMarkedText() -> Bool
| `- note: 'hasMarkedText()' declared here
11 | @available(macOS 10.0, *)
12 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:442:10: warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
440 | }
441 |
442 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString? {
| |- warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'attributedSubstring(forProposedRange:actualRange:)' to make this instance method not isolated to the actor
443 | return nil
444 | }
AppKit.NSTextInputClient:12:10: note: 'attributedSubstring(forProposedRange:actualRange:)' declared here
10 | func hasMarkedText() -> Bool
11 | @available(macOS 10.0, *)
12 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
| `- note: 'attributedSubstring(forProposedRange:actualRange:)' declared here
13 | @available(swift, obsoleted: 3, renamed: "attributedSubstring(forProposedRange:actualRange:)")
14 | func attributedSubstringForProposedRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:474:10: warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
472 | }
473 |
474 | func validAttributesForMarkedText() -> [NSAttributedString.Key] {
| |- warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'validAttributesForMarkedText()' to make this instance method not isolated to the actor
475 | return []
476 | }
AppKit.NSTextInputClient:16:10: note: 'validAttributesForMarkedText()' declared here
14 | func attributedSubstringForProposedRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
15 | @available(macOS 10.0, *)
16 | func validAttributesForMarkedText() -> [NSAttributedString.Key]
| `- note: 'validAttributesForMarkedText()' declared here
17 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect
18 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:450:10: warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
448 | }
449 |
450 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect {
| |- warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'firstRect(forCharacterRange:actualRange:)' to make this instance method not isolated to the actor
451 | return NSZeroRect
452 | }
AppKit.NSTextInputClient:17:10: note: 'firstRect(forCharacterRange:actualRange:)' declared here
15 | @available(macOS 10.0, *)
16 | func validAttributesForMarkedText() -> [NSAttributedString.Key]
17 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect
| `- note: 'firstRect(forCharacterRange:actualRange:)' declared here
18 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
19 | func firstRectForCharacterRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:446:10: warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
444 | }
445 |
446 | func characterIndex(for point: NSPoint) -> Int {
| |- warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'characterIndex(for:)' to make this instance method not isolated to the actor
447 | return 0
448 | }
AppKit.NSTextInputClient:20:10: note: 'characterIndex(for:)' declared here
18 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
19 | func firstRectForCharacterRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSRect
20 | func characterIndex(for point: NSPoint) -> Int
| `- note: 'characterIndex(for:)' declared here
21 | @available(swift, obsoleted: 3, renamed: "characterIndex(for:)")
22 | func characterIndexForPoint(_ point: NSPoint) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:143:27: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | // MARK: - Functions
35 | @discardableResult
36 | func ImGui_ImplOSX_Init(_ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_Init' part of global actor 'MainActor'
37 | let io = ImGuiGetIO()!
38 |
:
141 | // to receive keyboard events and translate them to input text.
142 |
143 | g_KeyEventResponder = KeyEventResponder(frame: NSZeroRect)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
144 | view.addSubview(g_KeyEventResponder!)
145 |
:
407 | https://github.com/glfw/glfw/blob/b55a517ae0c7b5127dffa79a64f5406021bf9076/src/cocoa_window.m#L722-L723
408 | */
409 | class KeyEventResponder: NSView { }
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
410 |
411 | extension KeyEventResponder: NSTextInputClient {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:144:10: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | // MARK: - Functions
35 | @discardableResult
36 | func ImGui_ImplOSX_Init(_ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_Init' part of global actor 'MainActor'
37 | let io = ImGuiGetIO()!
38 |
:
142 |
143 | g_KeyEventResponder = KeyEventResponder(frame: NSZeroRect)
144 | view.addSubview(g_KeyEventResponder!)
| `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
145 |
146 | return true
AppKit.NSView:29:26: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
27 | @available(macOS 10.5, *)
28 | open func viewDidUnhide()
29 | @MainActor open func addSubview(_ view: NSView)
| `- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
30 | open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
31 | open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:41: warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
158 | // Setup display size
159 | let ioRef = igGetIO()!
160 | var io: ImGuiIO = ioRef.pointee
161 |
162 | let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
| `- warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
163 | io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
AppKit.NSWindow:230:25: note: property declared here
228 | open func backingAlignedRect(_ rect: NSRect, options: AlignmentOptions = []) -> NSRect
229 | @available(macOS 10.7, *)
230 | @MainActor open var backingScaleFactor: CGFloat { get }
| `- note: property declared here
231 | open func performClose(_ sender: Any?)
232 | open func performMiniaturize(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:33: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
158 | // Setup display size
159 | let ioRef = igGetIO()!
160 | var io: ImGuiIO = ioRef.pointee
161 |
162 | let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
| `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
163 | io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
AppKit.NSView:4:30: note: property declared here
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
| `- note: property declared here
5 | unowned(unsafe) open var superview: NSView? { get }
6 | open var subviews: [NSView] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:43: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
158 | // Setup display size
159 | let ioRef = igGetIO()!
:
161 |
162 | let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
163 | io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
| `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
165 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:77: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
155 | }
156 |
157 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
158 | // Setup display size
159 | let ioRef = igGetIO()!
:
161 |
162 | let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
163 | io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
| `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
165 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:210:27: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 |
187 | @discardableResult
188 | func ImGui_ImplOSX_HandleEvent(_ event: NSEvent, _ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_HandleEvent' part of global actor 'MainActor'
189 | let io = ImGuiGetIO()!
190 |
:
208 | if event.type == .mouseMoved || event.type == .leftMouseDragged || event.type == .rightMouseDragged || event.type == .otherMouseDragged {
209 | var mousePoint = event.locationInWindow
210 | mousePoint = view.convert(mousePoint, from: nil)
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 | mousePoint = NSPoint(x: mousePoint.x, y: view.bounds.size.height - mousePoint.y)
212 | io.pointee.MousePos = ImVec2(x: Float(mousePoint.x), y: Float(mousePoint.y))
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:211:55: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
186 |
187 | @discardableResult
188 | func ImGui_ImplOSX_HandleEvent(_ event: NSEvent, _ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_HandleEvent' part of global actor 'MainActor'
189 | let io = ImGuiGetIO()!
190 |
:
209 | var mousePoint = event.locationInWindow
210 | mousePoint = view.convert(mousePoint, from: nil)
211 | mousePoint = NSPoint(x: mousePoint.x, y: view.bounds.size.height - mousePoint.y)
| `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
212 | io.pointee.MousePos = ImVec2(x: Float(mousePoint.x), y: Float(mousePoint.y))
213 | }
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:431:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
429 |
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
432 | self?.enqueueReusableBuffer(indexBuffer)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:431:45: warning: sending 'vertexBuffer' risks causing data races; this is an error in the Swift 6 language mode
429 |
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
| |- warning: sending 'vertexBuffer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'vertexBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
432 | self?.enqueueReusableBuffer(indexBuffer)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:432:45: warning: sending 'indexBuffer' risks causing data races; this is an error in the Swift 6 language mode
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
432 | self?.enqueueReusableBuffer(indexBuffer)
| |- warning: sending 'indexBuffer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'indexBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
433 | }
434 | }
[120/131] Compiling Palico SceneCamera.swift
[121/131] Compiling Palico SceneLight.swift
[122/131] Compiling Palico NativeScript.swift
[123/131] Compiling Palico FAIconEnum.swift
[124/131] Compiling Palico FileUtils.swift
[125/131] Compiling Palico resource_bundle_accessor.swift
[126/149] Emitting module Example
[127/149] Compiling Example main.swift
[127/149] Write Objects.LinkFileList
[129/149] Compiling Editor main.swift
[130/150] Compiling Editor FileUtils.swift
[131/150] Compiling Editor RotateScript.swift
[132/150] Compiling Editor resource_bundle_accessor.swift
[133/150] Emitting module Editor
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:12:17: warning: var 'dockspaceOpen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | import ImGuizmo
11 |
12 | fileprivate var dockspaceOpen: Bool = true
| |- warning: var 'dockspaceOpen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockspaceOpen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockspaceOpen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:13:17: warning: var 'optFullscreenPersistent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | fileprivate var dockspaceOpen: Bool = true
13 | fileprivate var optFullscreenPersistent: Bool = true
| |- warning: var 'optFullscreenPersistent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'optFullscreenPersistent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'optFullscreenPersistent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:14:17: warning: var 'dockspaceFlags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate var dockspaceOpen: Bool = true
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
| |- warning: var 'dockspaceFlags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockspaceFlags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockspaceFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Renderer/RenderPass.swift:16:27: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class RenderPass {
12 | public struct Target: OptionSet {
| `- note: consider making struct 'Target' conform to the 'Sendable' protocol
13 | public let rawValue: UInt8
14 | public init(rawValue: UInt8) { self.rawValue = rawValue }
15 |
16 | public static let color = Self(rawValue: 1 << 0)
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'color' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let depth = Self(rawValue: 1 << 1)
18 | public static let normal = Self(rawValue: 1 << 2)
[134/150] Compiling Editor ScenePanel+Hierarchy.swift
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiFontLibrary.swift:13:23: warning: static property 'largeIcon' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var defaultFont: UnsafeMutablePointer<ImFont>!
12 | public static var regularIcon: UnsafeMutablePointer<ImFont>!
13 | public static var largeIcon: UnsafeMutablePointer<ImFont>!
| |- warning: static property 'largeIcon' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largeIcon' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'largeIcon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:96:40: warning: reference to static property 'largeIcon' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | }
95 |
96 | ImGuiPushFont(ImGuiFontLibrary.largeIcon)
| `- warning: reference to static property 'largeIcon' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
97 | let iconItemSize: Float = 26
98 | var leftPaneWindowSize: ImVec2 = ImVec2(0, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiFontLibrary.swift:13:23: note: static property declared here
11 | public static var defaultFont: UnsafeMutablePointer<ImFont>!
12 | public static var regularIcon: UnsafeMutablePointer<ImFont>!
13 | public static var largeIcon: UnsafeMutablePointer<ImFont>!
| `- note: static property declared here
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| |- warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:200:61: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
198 | }
199 |
200 | ImGuiPushStyleColor(Im(ImGuiCol_Header), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderHovered), ImGuiTheme.normal)
202 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderActive), ImGuiTheme.normal)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:201:68: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
199 |
200 | ImGuiPushStyleColor(Im(ImGuiCol_Header), ImGuiTheme.normal)
201 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderHovered), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
202 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderActive), ImGuiTheme.normal)
203 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:202:67: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
200 | ImGuiPushStyleColor(Im(ImGuiCol_Header), ImGuiTheme.normal)
201 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderHovered), ImGuiTheme.normal)
202 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderActive), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |
204 | let component = gameObject.getComponent(type)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:227:61: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
225 | // Component Settings Button
226 | ImGuiSameLine(contentRegionAvailable.x - lineHeight + 4.0, -1) // -1.0 is default value
227 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
228 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.normal)
229 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.normal)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:228:68: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
226 | ImGuiSameLine(contentRegionAvailable.x - lineHeight + 4.0, -1) // -1.0 is default value
227 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.normal)
228 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
229 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.normal)
230 | if ImGuiButton("\(FAIcon.bars)", ImVec2(lineHeight, lineHeight)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:229:67: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
227 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.normal)
228 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.normal)
229 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
230 | if ImGuiButton("\(FAIcon.bars)", ImVec2(lineHeight, lineHeight)) {
231 | // fa-align-justify
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
[135/150] Compiling Editor ScenePanel+Inspector.swift
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiFontLibrary.swift:13:23: warning: static property 'largeIcon' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var defaultFont: UnsafeMutablePointer<ImFont>!
12 | public static var regularIcon: UnsafeMutablePointer<ImFont>!
13 | public static var largeIcon: UnsafeMutablePointer<ImFont>!
| |- warning: static property 'largeIcon' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'largeIcon' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'largeIcon' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:96:40: warning: reference to static property 'largeIcon' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | }
95 |
96 | ImGuiPushFont(ImGuiFontLibrary.largeIcon)
| `- warning: reference to static property 'largeIcon' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
97 | let iconItemSize: Float = 26
98 | var leftPaneWindowSize: ImVec2 = ImVec2(0, 0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiFontLibrary.swift:13:23: note: static property declared here
11 | public static var defaultFont: UnsafeMutablePointer<ImFont>!
12 | public static var regularIcon: UnsafeMutablePointer<ImFont>!
13 | public static var largeIcon: UnsafeMutablePointer<ImFont>!
| `- note: static property declared here
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| |- warning: static property 'normal' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'normal' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'normal' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:200:61: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
198 | }
199 |
200 | ImGuiPushStyleColor(Im(ImGuiCol_Header), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
201 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderHovered), ImGuiTheme.normal)
202 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderActive), ImGuiTheme.normal)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:201:68: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
199 |
200 | ImGuiPushStyleColor(Im(ImGuiCol_Header), ImGuiTheme.normal)
201 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderHovered), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
202 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderActive), ImGuiTheme.normal)
203 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:202:67: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
200 | ImGuiPushStyleColor(Im(ImGuiCol_Header), ImGuiTheme.normal)
201 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderHovered), ImGuiTheme.normal)
202 | ImGuiPushStyleColor(Im(ImGuiCol_HeaderActive), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
203 |
204 | let component = gameObject.getComponent(type)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:227:61: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
225 | // Component Settings Button
226 | ImGuiSameLine(contentRegionAvailable.x - lineHeight + 4.0, -1) // -1.0 is default value
227 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
228 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.normal)
229 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.normal)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:228:68: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
226 | ImGuiSameLine(contentRegionAvailable.x - lineHeight + 4.0, -1) // -1.0 is default value
227 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.normal)
228 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
229 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.normal)
230 | if ImGuiButton("\(FAIcon.bars)", ImVec2(lineHeight, lineHeight)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ScenePanel+Inspector.swift:229:67: warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
227 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.normal)
228 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.normal)
229 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.normal)
| `- warning: reference to static property 'normal' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
230 | if ImGuiButton("\(FAIcon.bars)", ImVec2(lineHeight, lineHeight)) {
231 | // fa-align-justify
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:34:23: note: static property declared here
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
35 | public static var hovered = ImVec4(0.30, 0.30, 0.30, 1.0)
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
[136/150] Compiling Editor ConsolePanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Console.swift:32:31: warning: static property 'numLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | "\(FAIcon.exclamationTriangle) WARN",
31 | "\(FAIcon.timesCircle) ERROR"]
32 | public static var numLevels: Int = levelStrings.count
| |- warning: static property 'numLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'numLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'numLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:55:48: warning: reference to static property 'numLevels' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 | ImGuiCombo("##OutputLevelCombo", ¤tMessageLevel,
54 | Console.Message.Level.levelStringsWithIcons,
55 | Int32(Console.Message.Level.numLevels), -1)
| `- warning: reference to static property 'numLevels' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | ImGuiPopItemWidth()
57 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Console.swift:32:31: note: static property declared here
30 | "\(FAIcon.exclamationTriangle) WARN",
31 | "\(FAIcon.timesCircle) ERROR"]
32 | public static var numLevels: Int = levelStrings.count
| `- note: static property declared here
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:32:23: warning: static property 'text' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var windowBg = ImVec4(0.15, 0.15, 0.15, 1.0)
31 | public static var popupBg = ImVec4(0.15, 0.15, 0.15, 0.95)
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
| |- warning: static property 'text' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'text' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:81:44: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | var color: ImVec4 = ImGuiTheme.text
| `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | switch message.level {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:32:23: note: static property declared here
30 | public static var windowBg = ImVec4(0.15, 0.15, 0.15, 1.0)
31 | public static var popupBg = ImVec4(0.15, 0.15, 0.15, 0.95)
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
| `- note: static property declared here
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:24:23: warning: static property 'consoleDebug' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
| |- warning: static property 'consoleDebug' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleDebug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:85:36: warning: reference to static property 'consoleDebug' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | switch message.level {
84 | case .debug:
85 | color = ImGuiTheme.consoleDebug
| `- warning: reference to static property 'consoleDebug' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | case .info:
87 | color = ImGuiTheme.consoleInfo
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:24:23: note: static property declared here
22 |
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
| `- note: static property declared here
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:25:23: warning: static property 'consoleInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
| |- warning: static property 'consoleInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:87:36: warning: reference to static property 'consoleInfo' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | color = ImGuiTheme.consoleDebug
86 | case .info:
87 | color = ImGuiTheme.consoleInfo
| `- warning: reference to static property 'consoleInfo' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
88 | case .warn:
89 | color = ImGuiTheme.consoleWarn
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:25:23: note: static property declared here
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
| `- note: static property declared here
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:26:23: warning: static property 'consoleWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
| |- warning: static property 'consoleWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:89:36: warning: reference to static property 'consoleWarn' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | color = ImGuiTheme.consoleInfo
88 | case .warn:
89 | color = ImGuiTheme.consoleWarn
| `- warning: reference to static property 'consoleWarn' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | case .error:
91 | color = ImGuiTheme.consoleError
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:26:23: note: static property declared here
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
| `- note: static property declared here
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:27:23: warning: static property 'consoleError' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
| |- warning: static property 'consoleError' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | // General
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:91:36: warning: reference to static property 'consoleError' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | color = ImGuiTheme.consoleWarn
90 | case .error:
91 | color = ImGuiTheme.consoleError
| `- warning: reference to static property 'consoleError' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:27:23: note: static property declared here
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
| `- note: static property declared here
28 |
29 | // General
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: warning: static property 'componentX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| |- warning: static property 'componentX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentX' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:26:57: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | // X
26 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
28 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:15:23: warning: static property 'componentHoveredX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
| |- warning: static property 'componentHoveredX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentHoveredX' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentHoveredX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:27:64: warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | // X
26 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
27 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
| `- warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
29 | if ImGuiButton("X", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:15:23: note: static property declared here
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
| `- note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:28:63: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
27 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
28 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | if ImGuiButton("X", ImVec2(0, 0)) {
30 | values.x = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: warning: static property 'componentY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| |- warning: static property 'componentY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:39:57: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | // Y
39 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
41 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:18:23: warning: static property 'componentHoveredY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
| |- warning: static property 'componentHoveredY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentHoveredY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentHoveredY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:40:64: warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | // Y
39 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
40 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
| `- warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
42 | if ImGuiButton("Y", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:18:23: note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
| `- note: static property declared here
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:41:63: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
40 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
41 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | if ImGuiButton("Y", ImVec2(0, 0)) {
43 | values.y = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:20:23: warning: static property 'componentZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
| |- warning: static property 'componentZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:52:57: warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | // Z
52 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentZ)
| `- warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredZ)
54 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentZ)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:20:23: note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
| `- note: static property declared here
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:21:23: warning: static property 'componentHoveredZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
| |- warning: static property 'componentHoveredZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentHoveredZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentHoveredZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | // Console
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:53:64: warning: reference to static property 'componentHoveredZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
51 | // Z
52 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentZ)
53 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredZ)
| `- warning: reference to static property 'componentHoveredZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentZ)
55 | if ImGuiButton("Z", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:21:23: note: static property declared here
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
| `- note: static property declared here
22 |
23 | // Console
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:54:63: warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentZ)
53 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredZ)
54 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentZ)
| `- warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | if ImGuiButton("Z", ImVec2(0, 0)) {
56 | values.z = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:20:23: note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
| `- note: static property declared here
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:81:57: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | // X
81 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
83 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:82:64: warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | // X
81 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
82 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
| `- warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
84 | if ImGuiButton("X", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:15:23: note: static property declared here
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
| `- note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:83:63: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
82 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
83 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | if ImGuiButton("X", ImVec2(0, 0)) {
85 | values.x = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:94:57: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | // Y
94 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
96 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:95:64: warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | // Y
94 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
95 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
| `- warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
97 | if ImGuiButton("Y", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:18:23: note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
| `- note: static property declared here
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:96:63: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
95 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
96 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
97 | if ImGuiButton("Y", ImVec2(0, 0)) {
98 | values.y = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
[137/150] Compiling Editor DrawControls.swift
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Console.swift:32:31: warning: static property 'numLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | "\(FAIcon.exclamationTriangle) WARN",
31 | "\(FAIcon.timesCircle) ERROR"]
32 | public static var numLevels: Int = levelStrings.count
| |- warning: static property 'numLevels' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'numLevels' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'numLevels' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:55:48: warning: reference to static property 'numLevels' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 | ImGuiCombo("##OutputLevelCombo", ¤tMessageLevel,
54 | Console.Message.Level.levelStringsWithIcons,
55 | Int32(Console.Message.Level.numLevels), -1)
| `- warning: reference to static property 'numLevels' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
56 | ImGuiPopItemWidth()
57 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Console.swift:32:31: note: static property declared here
30 | "\(FAIcon.exclamationTriangle) WARN",
31 | "\(FAIcon.timesCircle) ERROR"]
32 | public static var numLevels: Int = levelStrings.count
| `- note: static property declared here
33 | }
34 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:32:23: warning: static property 'text' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var windowBg = ImVec4(0.15, 0.15, 0.15, 1.0)
31 | public static var popupBg = ImVec4(0.15, 0.15, 0.15, 0.95)
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
| |- warning: static property 'text' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'text' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'text' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:81:44: warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | var color: ImVec4 = ImGuiTheme.text
| `- warning: reference to static property 'text' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 |
83 | switch message.level {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:32:23: note: static property declared here
30 | public static var windowBg = ImVec4(0.15, 0.15, 0.15, 1.0)
31 | public static var popupBg = ImVec4(0.15, 0.15, 0.15, 0.95)
32 | public static var text = ImVec4(0.90, 0.90, 0.90, 1.0)
| `- note: static property declared here
33 |
34 | public static var normal = ImVec4(0.20, 0.21, 0.21, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:24:23: warning: static property 'consoleDebug' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
| |- warning: static property 'consoleDebug' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleDebug' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleDebug' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:85:36: warning: reference to static property 'consoleDebug' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | switch message.level {
84 | case .debug:
85 | color = ImGuiTheme.consoleDebug
| `- warning: reference to static property 'consoleDebug' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
86 | case .info:
87 | color = ImGuiTheme.consoleInfo
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:24:23: note: static property declared here
22 |
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
| `- note: static property declared here
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:25:23: warning: static property 'consoleInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
| |- warning: static property 'consoleInfo' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleInfo' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleInfo' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:87:36: warning: reference to static property 'consoleInfo' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | color = ImGuiTheme.consoleDebug
86 | case .info:
87 | color = ImGuiTheme.consoleInfo
| `- warning: reference to static property 'consoleInfo' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
88 | case .warn:
89 | color = ImGuiTheme.consoleWarn
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:25:23: note: static property declared here
23 | // Console
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
| `- note: static property declared here
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:26:23: warning: static property 'consoleWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
| |- warning: static property 'consoleWarn' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleWarn' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleWarn' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:89:36: warning: reference to static property 'consoleWarn' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | color = ImGuiTheme.consoleInfo
88 | case .warn:
89 | color = ImGuiTheme.consoleWarn
| `- warning: reference to static property 'consoleWarn' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | case .error:
91 | color = ImGuiTheme.consoleError
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:26:23: note: static property declared here
24 | public static var consoleDebug = ImVec4(0.40, 0.90, 0.40, 1.0)
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
| `- note: static property declared here
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:27:23: warning: static property 'consoleError' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
| |- warning: static property 'consoleError' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'consoleError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'consoleError' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | // General
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ConsolePanel.swift:91:36: warning: reference to static property 'consoleError' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
89 | color = ImGuiTheme.consoleWarn
90 | case .error:
91 | color = ImGuiTheme.consoleError
| `- warning: reference to static property 'consoleError' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 | }
93 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:27:23: note: static property declared here
25 | public static var consoleInfo = text
26 | public static var consoleWarn = ImVec4(0.90, 0.90, 0.40, 1.0)
27 | public static var consoleError = ImVec4(0.90, 0.40, 0.40, 1.0)
| `- note: static property declared here
28 |
29 | // General
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: warning: static property 'componentX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| |- warning: static property 'componentX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentX' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:26:57: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | // X
26 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
28 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:15:23: warning: static property 'componentHoveredX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
| |- warning: static property 'componentHoveredX' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentHoveredX' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentHoveredX' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:27:64: warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | // X
26 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
27 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
| `- warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
29 | if ImGuiButton("X", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:15:23: note: static property declared here
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
| `- note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:28:63: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
26 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
27 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
28 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | if ImGuiButton("X", ImVec2(0, 0)) {
30 | values.x = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: warning: static property 'componentY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| |- warning: static property 'componentY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:39:57: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | // Y
39 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
40 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
41 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:18:23: warning: static property 'componentHoveredY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
| |- warning: static property 'componentHoveredY' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentHoveredY' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentHoveredY' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:40:64: warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | // Y
39 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
40 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
| `- warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
42 | if ImGuiButton("Y", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:18:23: note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
| `- note: static property declared here
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:41:63: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
39 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
40 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
41 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
42 | if ImGuiButton("Y", ImVec2(0, 0)) {
43 | values.y = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:20:23: warning: static property 'componentZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
| |- warning: static property 'componentZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:52:57: warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | // Z
52 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentZ)
| `- warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
53 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredZ)
54 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentZ)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:20:23: note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
| `- note: static property declared here
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:21:23: warning: static property 'componentHoveredZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
| |- warning: static property 'componentHoveredZ' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'componentHoveredZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'componentHoveredZ' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | // Console
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:53:64: warning: reference to static property 'componentHoveredZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
51 | // Z
52 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentZ)
53 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredZ)
| `- warning: reference to static property 'componentHoveredZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
54 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentZ)
55 | if ImGuiButton("Z", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:21:23: note: static property declared here
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
| `- note: static property declared here
22 |
23 | // Console
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:54:63: warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
52 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentZ)
53 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredZ)
54 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentZ)
| `- warning: reference to static property 'componentZ' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 | if ImGuiButton("Z", ImVec2(0, 0)) {
56 | values.z = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:20:23: note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
| `- note: static property declared here
21 | public static var componentHoveredZ = ImVec4(0.40, 0.65, 0.90, 1.0)
22 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:81:57: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
79 |
80 | // X
81 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
83 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:82:64: warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
80 | // X
81 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
82 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
| `- warning: reference to static property 'componentHoveredX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
83 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
84 | if ImGuiButton("X", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:15:23: note: static property declared here
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
| `- note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:83:63: warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
81 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentX)
82 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredX)
83 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentX)
| `- warning: reference to static property 'componentX' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
84 | if ImGuiButton("X", ImVec2(0, 0)) {
85 | values.x = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:14:23: note: static property declared here
12 | public static var mainTheme = ImVec4(0.84, 0.65, 0.19, 1.0)
13 |
14 | public static var componentX = ImVec4(0.80, 0.35, 0.35, 1.0)
| `- note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:94:57: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
92 |
93 | // Y
94 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
95 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
96 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:95:64: warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
93 | // Y
94 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
95 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
| `- warning: reference to static property 'componentHoveredY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
96 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
97 | if ImGuiButton("Y", ImVec2(0, 0)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:18:23: note: static property declared here
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
| `- note: static property declared here
19 |
20 | public static var componentZ = ImVec4(0.35, 0.56, 0.76, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/DrawControls.swift:96:63: warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
94 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.componentY)
95 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.componentHoveredY)
96 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.componentY)
| `- warning: reference to static property 'componentY' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
97 | if ImGuiButton("Y", ImVec2(0, 0)) {
98 | values.y = resetValue
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:17:23: note: static property declared here
15 | public static var componentHoveredX = ImVec4(0.90, 0.35, 0.35, 1.0)
16 |
17 | public static var componentY = ImVec4(0.35, 0.80, 0.35, 1.0)
| `- note: static property declared here
18 | public static var componentHoveredY = ImVec4(0.40, 0.85, 0.40, 1.0)
19 |
[138/150] Compiling Editor Log.swift
[139/150] Compiling Editor AssetPanel.swift
[140/150] Compiling Editor ImGuiDemoPanel.swift
[141/150] Compiling Editor Panel.swift
[142/150] Compiling Editor Editor.swift
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:12:17: warning: var 'dockspaceOpen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | import ImGuizmo
11 |
12 | fileprivate var dockspaceOpen: Bool = true
| |- warning: var 'dockspaceOpen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockspaceOpen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockspaceOpen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:13:17: warning: var 'optFullscreenPersistent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | fileprivate var dockspaceOpen: Bool = true
13 | fileprivate var optFullscreenPersistent: Bool = true
| |- warning: var 'optFullscreenPersistent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'optFullscreenPersistent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'optFullscreenPersistent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:14:17: warning: var 'dockspaceFlags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate var dockspaceOpen: Bool = true
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
| |- warning: var 'dockspaceFlags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockspaceFlags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockspaceFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Renderer/RenderPass.swift:16:27: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class RenderPass {
12 | public struct Target: OptionSet {
| `- note: consider making struct 'Target' conform to the 'Sendable' protocol
13 | public let rawValue: UInt8
14 | public init(rawValue: UInt8) { self.rawValue = rawValue }
15 |
16 | public static let color = Self(rawValue: 1 << 0)
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'color' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let depth = Self(rawValue: 1 << 1)
18 | public static let normal = Self(rawValue: 1 << 2)
[143/150] Compiling Editor EditorLayer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:12:17: warning: var 'dockspaceOpen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | import ImGuizmo
11 |
12 | fileprivate var dockspaceOpen: Bool = true
| |- warning: var 'dockspaceOpen' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockspaceOpen' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockspaceOpen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:13:17: warning: var 'optFullscreenPersistent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | fileprivate var dockspaceOpen: Bool = true
13 | fileprivate var optFullscreenPersistent: Bool = true
| |- warning: var 'optFullscreenPersistent' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'optFullscreenPersistent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'optFullscreenPersistent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:14:17: warning: var 'dockspaceFlags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | fileprivate var dockspaceOpen: Bool = true
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
| |- warning: var 'dockspaceFlags' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dockspaceFlags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dockspaceFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Renderer/RenderPass.swift:16:27: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class RenderPass {
12 | public struct Target: OptionSet {
| `- note: consider making struct 'Target' conform to the 'Sendable' protocol
13 | public let rawValue: UInt8
14 | public init(rawValue: UInt8) { self.rawValue = rawValue }
15 |
16 | public static let color = Self(rawValue: 1 << 0)
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'color' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let depth = Self(rawValue: 1 << 1)
18 | public static let normal = Self(rawValue: 1 << 2)
[144/150] Compiling Editor ScenePanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Renderer/RenderPass.swift:16:27: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class RenderPass {
12 | public struct Target: OptionSet {
| `- note: consider making struct 'Target' conform to the 'Sendable' protocol
13 | public let rawValue: UInt8
14 | public init(rawValue: UInt8) { self.rawValue = rawValue }
15 |
16 | public static let color = Self(rawValue: 1 << 0)
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'color' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let depth = Self(rawValue: 1 << 1)
18 | public static let normal = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Application.swift:11:36: warning: class property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | open class Application {
11 | public private(set) static var shared: Application?
| |- warning: class property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | private let layerStack: LayerStack = LayerStack()
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:100:21: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | // If viewport is EITHER hovered OR focused, ImGui should not get the chance to block events.
99 | // Otherwise, it is possible to block events.
100 | Application.shared?.SetShouldImGuiTryToBlockEvents(!isFocused && !isHovered)
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | updateViewportTexture()
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Application.swift:11:36: note: class property declared here
9 |
10 | open class Application {
11 | public private(set) static var shared: Application?
| `- note: class property declared here
12 |
13 | private let layerStack: LayerStack = LayerStack()
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: warning: static property 'enabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| |- warning: static property 'enabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:235:65: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
233 | ImGuiPushID("GizmoTypeButton\(icon)")
234 | if (gizmoType == type) { // enabled
235 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
236 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
237 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:236:72: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
234 | if (gizmoType == type) { // enabled
235 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
236 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
237 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
238 | ImGuiButton(icon, buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:237:71: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
235 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
236 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
237 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
238 | ImGuiButton(icon, buttonSize)
239 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) { gizmoType = type }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: warning: static property 'disabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| |- warning: static property 'disabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'disabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'disabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:242:65: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
240 | ImGuiPopStyleColor(3);
241 | } else {
242 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
244 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:243:72: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
241 | } else {
242 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
243 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
244 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
245 | ImGuiButton(icon, buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:244:71: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
242 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
243 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
244 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
245 | ImGuiButton(icon, buttonSize)
246 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) { gizmoType = type }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:290:65: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
288 | ImGuiPushID("PlayButton")
289 | if isPlaying {
290 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
291 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
292 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:291:72: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
289 | if isPlaying {
290 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
291 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
292 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
293 | ImGuiButton("\(FAIcon.stop)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:292:71: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
290 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
291 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
292 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
293 | ImGuiButton("\(FAIcon.stop)", buttonSize)
294 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:299:65: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
297 | ImGuiPopStyleColor(3);
298 | } else {
299 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
300 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
301 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:300:72: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
298 | } else {
299 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
300 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
301 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
302 | ImGuiButton("\(FAIcon.play)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:301:71: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
299 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
300 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
301 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
302 | ImGuiButton("\(FAIcon.play)", buttonSize)
303 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:314:65: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
312 | ImGuiPushID("PauseButton")
313 | if isPaused {
314 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
315 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
316 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:315:72: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
313 | if isPaused {
314 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
315 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
316 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
317 | ImGuiButton("\(FAIcon.pause)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:316:71: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
314 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
315 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
316 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
317 | ImGuiButton("\(FAIcon.pause)", buttonSize)
318 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:323:65: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
321 | ImGuiPopStyleColor(3);
322 | } else {
323 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
324 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
325 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:324:72: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
322 | } else {
323 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
324 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
325 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
326 | ImGuiButton("\(FAIcon.pause)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:325:71: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
323 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
324 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
325 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
326 | ImGuiButton("\(FAIcon.pause)", buttonSize)
327 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
[145/150] Compiling Editor ViewportPanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Renderer/RenderPass.swift:16:27: warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | public class RenderPass {
12 | public struct Target: OptionSet {
| `- note: consider making struct 'Target' conform to the 'Sendable' protocol
13 | public let rawValue: UInt8
14 | public init(rawValue: UInt8) { self.rawValue = rawValue }
15 |
16 | public static let color = Self(rawValue: 1 << 0)
| |- warning: static property 'color' is not concurrency-safe because non-'Sendable' type 'RenderPass.Target' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'color' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let depth = Self(rawValue: 1 << 1)
18 | public static let normal = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Application.swift:11:36: warning: class property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | open class Application {
11 | public private(set) static var shared: Application?
| |- warning: class property 'shared' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 |
13 | private let layerStack: LayerStack = LayerStack()
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:100:21: warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
98 | // If viewport is EITHER hovered OR focused, ImGui should not get the chance to block events.
99 | // Otherwise, it is possible to block events.
100 | Application.shared?.SetShouldImGuiTryToBlockEvents(!isFocused && !isHovered)
| `- warning: reference to class property 'shared' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
101 |
102 | updateViewportTexture()
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Core/Application.swift:11:36: note: class property declared here
9 |
10 | open class Application {
11 | public private(set) static var shared: Application?
| `- note: class property declared here
12 |
13 | private let layerStack: LayerStack = LayerStack()
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: warning: static property 'enabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| |- warning: static property 'enabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'enabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'enabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:235:65: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
233 | ImGuiPushID("GizmoTypeButton\(icon)")
234 | if (gizmoType == type) { // enabled
235 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
236 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
237 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:236:72: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
234 | if (gizmoType == type) { // enabled
235 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
236 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
237 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
238 | ImGuiButton(icon, buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:237:71: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
235 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
236 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
237 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
238 | ImGuiButton(icon, buttonSize)
239 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) { gizmoType = type }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: warning: static property 'disabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| |- warning: static property 'disabled' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'disabled' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'disabled' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:242:65: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
240 | ImGuiPopStyleColor(3);
241 | } else {
242 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
244 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:243:72: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
241 | } else {
242 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
243 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
244 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
245 | ImGuiButton(icon, buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:244:71: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
242 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
243 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
244 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
245 | ImGuiButton(icon, buttonSize)
246 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) { gizmoType = type }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:290:65: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
288 | ImGuiPushID("PlayButton")
289 | if isPlaying {
290 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
291 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
292 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:291:72: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
289 | if isPlaying {
290 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
291 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
292 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
293 | ImGuiButton("\(FAIcon.stop)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:292:71: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
290 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
291 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
292 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
293 | ImGuiButton("\(FAIcon.stop)", buttonSize)
294 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:299:65: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
297 | ImGuiPopStyleColor(3);
298 | } else {
299 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
300 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
301 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:300:72: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
298 | } else {
299 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
300 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
301 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
302 | ImGuiButton("\(FAIcon.play)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:301:71: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
299 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
300 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
301 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
302 | ImGuiButton("\(FAIcon.play)", buttonSize)
303 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:314:65: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
312 | ImGuiPushID("PauseButton")
313 | if isPaused {
314 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
315 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
316 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:315:72: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
313 | if isPaused {
314 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
315 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
316 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
317 | ImGuiButton("\(FAIcon.pause)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:316:71: warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
314 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.enabled)
315 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.enabled)
316 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.enabled)
| `- warning: reference to static property 'enabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
317 | ImGuiButton("\(FAIcon.pause)", buttonSize)
318 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:38:23: note: static property declared here
36 | public static var active = ImVec4(0.15, 0.15, 0.15, 1.0)
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
| `- note: static property declared here
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
40 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:323:65: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
321 | ImGuiPopStyleColor(3);
322 | } else {
323 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
324 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
325 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:324:72: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
322 | } else {
323 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
324 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
325 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
326 | ImGuiButton("\(FAIcon.pause)", buttonSize)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:325:71: warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
323 | ImGuiPushStyleColor(Im(ImGuiCol_Button), ImGuiTheme.disabled)
324 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonHovered), ImGuiTheme.disabled)
325 | ImGuiPushStyleColor(Im(ImGuiCol_ButtonActive), ImGuiTheme.disabled)
| `- warning: reference to static property 'disabled' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
326 | ImGuiButton("\(FAIcon.pause)", buttonSize)
327 | if ImGuiIsItemClicked(Im(ImGuiMouseButton_Left)) {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/ImGuiTheme.swift:39:23: note: static property declared here
37 |
38 | public static var enabled = ImVec4(0.30, 0.30, 0.30, 1.0)
39 | public static var disabled = ImVec4(0.20, 0.21, 0.21, 1.0)
| `- note: static property declared here
40 |
41 | public static var tabNormal = ImVec4(0.15, 0.15, 0.15, 1.0)
[145/150] Write Objects.LinkFileList
[146/150] Linking Example
[147/150] Linking Editor
[148/150] Applying Example
[149/150] Applying Editor
Build complete! (56.59s)
Fetching https://github.com/forkercat/OhMyLog.git
[1/94] Fetching ohmylog
Fetched https://github.com/forkercat/OhMyLog.git from cache (0.70s)
Fetching https://github.com/forkercat/MathLib.git
[1/120] Fetching mathlib
Fetched https://github.com/forkercat/MathLib.git from cache (0.73s)
Fetching https://github.com/forkercat/MothECS.git
[1/71] Fetching mothecs
Fetched https://github.com/forkercat/MothECS.git from cache (0.69s)
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (1.55s)
Fetching https://github.com/forkercat/SwiftImGuizmo.git
[1/92] Fetching swiftimguizmo
Fetched https://github.com/forkercat/SwiftImGuizmo.git from cache (0.81s)
Creating working copy for https://github.com/forkercat/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at update-1.86-docking (336ee0c)
Creating working copy for https://github.com/forkercat/MothECS.git
Working copy of https://github.com/forkercat/MothECS.git resolved at main (f954455)
Creating working copy for https://github.com/forkercat/MathLib.git
Working copy of https://github.com/forkercat/MathLib.git resolved at main (439fa72)
Creating working copy for https://github.com/forkercat/SwiftImGuizmo.git
Working copy of https://github.com/forkercat/SwiftImGuizmo.git resolved at master (b94f9e4)
Creating working copy for https://github.com/forkercat/OhMyLog.git
Working copy of https://github.com/forkercat/OhMyLog.git resolved at main (73a0a39)
Build complete.
{
"dependencies" : [
{
"identity" : "ohmylog",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/forkercat/OhMyLog.git"
},
{
"identity" : "mathlib",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/forkercat/MathLib.git"
},
{
"identity" : "mothecs",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/forkercat/MothECS.git"
},
{
"identity" : "swiftimgui",
"requirement" : {
"branch" : [
"update-1.86-docking"
]
},
"type" : "sourceControl",
"url" : "https://github.com/forkercat/SwiftImGui.git"
},
{
"identity" : "swiftimguizmo",
"requirement" : {
"branch" : [
"master"
]
},
"type" : "sourceControl",
"url" : "https://github.com/forkercat/SwiftImGuizmo.git"
}
],
"manifest_display_name" : "PalicoEngine",
"name" : "PalicoEngine",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "Palico",
"targets" : [
"Palico"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Editor",
"targets" : [
"Editor"
],
"type" : {
"executable" : null
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Palico",
"module_type" : "SwiftTarget",
"name" : "Palico",
"path" : "Sources/Palico",
"product_dependencies" : [
"OhMyLog",
"MathLib",
"MothECS",
"ImGui",
"ImGuizmo"
],
"product_memberships" : [
"Palico",
"Editor",
"Example"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Palico/Assets",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Core/Application.swift",
"Core/Console.swift",
"Core/Layer.swift",
"Core/Log.swift",
"Core/PlatformContext.swift",
"Core/Time.swift",
"Core/Window.swift",
"Event/AppEvent.swift",
"Event/Event.swift",
"Event/KeyEvent.swift",
"Event/MouseEvent.swift",
"ImGui/Backends/imgui_impl_metal.swift",
"ImGui/Backends/imgui_impl_osx.swift",
"ImGui/Backends/imgui_shaders.swift",
"ImGui/ImGui+Extra.swift",
"ImGui/ImGuiBackend+Cocoa.swift",
"ImGui/ImGuiBackend+Metal.swift",
"ImGui/ImGuiBackend.swift",
"ImGui/ImGuiFontLibrary.swift",
"ImGui/ImGuiLayer.swift",
"ImGui/ImGuiTheme.swift",
"ImGui/ImGuizmo+Enum.swift",
"Input/Input.swift",
"Input/KeyCode.swift",
"Input/MouseCode.swift",
"Platform/Cocoa/CocoaContext.swift",
"Platform/Cocoa/CocoaInput.swift",
"Platform/Cocoa/CocoaWindow+Callback.swift",
"Platform/Cocoa/CocoaWindow+Event.swift",
"Platform/Cocoa/CocoaWindow+View.swift",
"Platform/Cocoa/CocoaWindow.swift",
"Platform/Cocoa/ViewController.swift",
"Platform/GLFW/GlfwContext.swift",
"Platform/GLFW/GlfwInput.swift",
"Platform/GLFW/GlfwWindow.swift",
"Renderer/Camera.swift",
"Renderer/Color.swift",
"Renderer/EditorCamera.swift",
"Renderer/Light.swift",
"Renderer/Mesh.swift",
"Renderer/MetalContext.swift",
"Renderer/PipelineStatePool.swift",
"Renderer/RenderPass+Action.swift",
"Renderer/RenderPass.swift",
"Renderer/RenderPassPool.swift",
"Renderer/Renderer.swift",
"Renderer/Shader.swift",
"Renderer/ShaderDataBridge.swift",
"Renderer/ShaderLibrary.swift",
"Renderer/TextureUtils.swift",
"Scene/Component+Camera.swift",
"Scene/Component+Light.swift",
"Scene/Component+MeshRenderer.swift",
"Scene/Component+Script.swift",
"Scene/Component+Tag.swift",
"Scene/Component+Transform.swift",
"Scene/Component.swift",
"Scene/GameObject.swift",
"Scene/Primitive.swift",
"Scene/Scene+Object.swift",
"Scene/Scene+View.swift",
"Scene/Scene.swift",
"Scene/SceneCamera.swift",
"Scene/SceneLight.swift",
"Script/NativeScript.swift",
"Utils/FAIconEnum.swift",
"Utils/FileUtils.swift"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_dependencies" : [
"OhMyLog",
"MathLib",
"MothECS",
"ImGui",
"ImGuizmo"
],
"product_memberships" : [
"Example"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Palico"
],
"type" : "executable"
},
{
"c99name" : "Editor",
"module_type" : "SwiftTarget",
"name" : "Editor",
"path" : "Sources/Editor",
"product_dependencies" : [
"OhMyLog",
"MathLib",
"MothECS",
"ImGui",
"ImGuizmo"
],
"product_memberships" : [
"Editor"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/Editor/Assets",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Editor.swift",
"EditorLayer.swift",
"Log.swift",
"Panels/AssetPanel.swift",
"Panels/ConsolePanel.swift",
"Panels/DrawControls.swift",
"Panels/ImGuiDemoPanel.swift",
"Panels/Panel.swift",
"Panels/ScenePanel+Hierarchy.swift",
"Panels/ScenePanel+Inspector.swift",
"Panels/ScenePanel.swift",
"Panels/ViewportPanel.swift",
"Scripts/RotateScript.swift",
"Utils/FileUtils.swift",
"main.swift"
],
"target_dependencies" : [
"Palico"
],
"type" : "executable"
}
],
"tools_version" : "5.3"
}
Done.