Build Information
Failed to build PalicoEngine, reference main (8d7a10
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:15:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
443 | return nil
444 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView)}
| |- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:41: warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a nonisolated 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 nonisolated 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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:488:30: note: property declared here
486 |
487 | /// Returns the scale factor representing the number of backing store pixels corresponding to each linear unit in window space on this \c NSWindow. This method is provided for rare cases when the explicit scale factor is needed. Please use `-convert*ToBacking:` methods whenever possible.
488 | @property (readonly) CGFloat backingScaleFactor API_AVAILABLE(macos(10.7));
| `- note: property declared here
489 |
490 | - (void)performClose:(nullable id)sender;
/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 nonisolated 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 nonisolated 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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/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 nonisolated 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 nonisolated context; this is an error in the Swift 6 language mode
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
165 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:77: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated 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 nonisolated context; this is an error in the Swift 6 language mode
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
165 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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 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 |
:
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 nonisolated 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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_shaders.swift:9:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | enum ImGuiShaders {
9 | static var `default`: String = """
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #include <metal_stdlib>
11 | using namespace metal;
/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 | }
[125/131] Compiling Palico imgui_shaders.swift
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Event/Event.swift:28:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public struct EventCategory: OptionSet {
| `- note: consider making struct 'EventCategory' conform to the 'Sendable' protocol
25 | public let rawValue: UInt8
26 | public init(rawValue: UInt8) { self.rawValue = rawValue }
27 |
28 | public static let none = Self(rawValue: 1 << 0)
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let application = Self(rawValue: 1 << 1)
30 | public static let input = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Event/Event.swift:29:23: warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public struct EventCategory: OptionSet {
| `- note: consider making struct 'EventCategory' conform to the 'Sendable' protocol
25 | public let rawValue: UInt8
26 | public init(rawValue: UInt8) { self.rawValue = rawValue }
27 |
28 | public static let none = Self(rawValue: 1 << 0)
29 | public static let application = Self(rawValue: 1 << 1)
| |- warning: static property 'application' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'application' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let input = Self(rawValue: 1 << 2)
31 | public static let keyboard = Self(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Event/Event.swift:30:23: warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public struct EventCategory: OptionSet {
| `- note: consider making struct 'EventCategory' conform to the 'Sendable' protocol
25 | public let rawValue: UInt8
26 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
28 | public static let none = Self(rawValue: 1 << 0)
29 | public static let application = Self(rawValue: 1 << 1)
30 | public static let input = Self(rawValue: 1 << 2)
| |- warning: static property 'input' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'input' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let keyboard = Self(rawValue: 1 << 3)
32 | public static let mouse = Self(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Event/Event.swift:31:23: warning: static property 'keyboard' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public struct EventCategory: OptionSet {
| `- note: consider making struct 'EventCategory' conform to the 'Sendable' protocol
25 | public let rawValue: UInt8
26 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
29 | public static let application = Self(rawValue: 1 << 1)
30 | public static let input = Self(rawValue: 1 << 2)
31 | public static let keyboard = Self(rawValue: 1 << 3)
| |- warning: static property 'keyboard' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'keyboard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let mouse = Self(rawValue: 1 << 4)
33 | public static let mouseButton = Self(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Event/Event.swift:32:23: warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public struct EventCategory: OptionSet {
| `- note: consider making struct 'EventCategory' conform to the 'Sendable' protocol
25 | public let rawValue: UInt8
26 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
30 | public static let input = Self(rawValue: 1 << 2)
31 | public static let keyboard = Self(rawValue: 1 << 3)
32 | public static let mouse = Self(rawValue: 1 << 4)
| |- warning: static property 'mouse' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mouse' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let mouseButton = Self(rawValue: 1 << 5)
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/Event/Event.swift:33:23: warning: static property 'mouseButton' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | public struct EventCategory: OptionSet {
| `- note: consider making struct 'EventCategory' conform to the 'Sendable' protocol
25 | public let rawValue: UInt8
26 | public init(rawValue: UInt8) { self.rawValue = rawValue }
:
31 | public static let keyboard = Self(rawValue: 1 << 3)
32 | public static let mouse = Self(rawValue: 1 << 4)
33 | public static let mouseButton = Self(rawValue: 1 << 5)
| |- warning: static property 'mouseButton' is not concurrency-safe because non-'Sendable' type 'EventCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mouseButton' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:15:5: warning: var 'g_sharedMetalContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | @available(OSX 10.11, *)
15 | var g_sharedMetalContext: ImGuiMetalContext = ImGuiMetalContext()
| |- warning: var 'g_sharedMetalContext' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_sharedMetalContext' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_sharedMetalContext' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | @available(OSX 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:21:17: warning: var 'g_HostClockPeriod' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | // Data
21 | fileprivate var g_HostClockPeriod: Double = 0.0
| |- warning: var 'g_HostClockPeriod' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_HostClockPeriod' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_HostClockPeriod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | fileprivate var g_Time: CFAbsoluteTime = 0.0 // Original approach uses: Double
23 | fileprivate var g_MouseCursorHidden: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:22:17: warning: var 'g_Time' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | // Data
21 | fileprivate var g_HostClockPeriod: Double = 0.0
22 | fileprivate var g_Time: CFAbsoluteTime = 0.0 // Original approach uses: Double
| |- warning: var 'g_Time' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_Time' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_Time' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | fileprivate var g_MouseCursorHidden: Bool = false
24 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:23:17: warning: var 'g_MouseCursorHidden' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | fileprivate var g_HostClockPeriod: Double = 0.0
22 | fileprivate var g_Time: CFAbsoluteTime = 0.0 // Original approach uses: Double
23 | fileprivate var g_MouseCursorHidden: Bool = false
| |- warning: var 'g_MouseCursorHidden' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_MouseCursorHidden' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_MouseCursorHidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | fileprivate var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil, count: Int(ImGuiMouseCursor_COUNT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:25:17: warning: var 'g_MouseCursors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | fileprivate var g_MouseCursorHidden: Bool = false
24 |
25 | fileprivate var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil, count: Int(ImGuiMouseCursor_COUNT.rawValue))
| |- warning: var 'g_MouseCursors' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_MouseCursors' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_MouseCursors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | fileprivate var g_MouseJustPressed: [Bool] = [Bool](repeating: false, count: Int(ImGuiMouseButton_COUNT.rawValue))
27 | fileprivate var g_MouseDown: [Bool] = [Bool](repeating: false, count: Int(ImGuiMouseButton_COUNT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:26:17: warning: var 'g_MouseJustPressed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 |
25 | fileprivate var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil, count: Int(ImGuiMouseCursor_COUNT.rawValue))
26 | fileprivate var g_MouseJustPressed: [Bool] = [Bool](repeating: false, count: Int(ImGuiMouseButton_COUNT.rawValue))
| |- warning: var 'g_MouseJustPressed' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_MouseJustPressed' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_MouseJustPressed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | fileprivate var g_MouseDown: [Bool] = [Bool](repeating: false, count: Int(ImGuiMouseButton_COUNT.rawValue))
28 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:27:17: warning: var 'g_MouseDown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | fileprivate var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil, count: Int(ImGuiMouseCursor_COUNT.rawValue))
26 | fileprivate var g_MouseJustPressed: [Bool] = [Bool](repeating: false, count: Int(ImGuiMouseButton_COUNT.rawValue))
27 | fileprivate var g_MouseDown: [Bool] = [Bool](repeating: false, count: Int(ImGuiMouseButton_COUNT.rawValue))
| |- warning: var 'g_MouseDown' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_MouseDown' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_MouseDown' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | fileprivate var g_FocusObserver: ImFocusObserver? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:29:17: warning: var 'g_FocusObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | fileprivate var g_MouseDown: [Bool] = [Bool](repeating: false, count: Int(ImGuiMouseButton_COUNT.rawValue))
28 |
29 | fileprivate var g_FocusObserver: ImFocusObserver? = nil
| |- warning: var 'g_FocusObserver' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_FocusObserver' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_FocusObserver' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | fileprivate var g_KeyEventResponder: KeyEventResponder? = nil
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:30:17: warning: var 'g_KeyEventResponder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | fileprivate var g_FocusObserver: ImFocusObserver? = nil
30 | fileprivate var g_KeyEventResponder: KeyEventResponder? = nil
| |- warning: var 'g_KeyEventResponder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'g_KeyEventResponder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'g_KeyEventResponder' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | fileprivate var s_clipboard: UnsafeMutablePointer<CChar>? = nil
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:32:17: warning: var 's_clipboard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | fileprivate var g_KeyEventResponder: KeyEventResponder? = nil
31 |
32 | fileprivate var s_clipboard: UnsafeMutablePointer<CChar>? = nil
| |- warning: var 's_clipboard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 's_clipboard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 's_clipboard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | // MARK: - Functions
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:422:10: warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
409 | class KeyEventResponder: NSView { }
410 |
411 | extension KeyEventResponder: NSTextInputClient {
| `- note: add '@preconcurrency' to the 'NSTextInputClient' conformance to defer isolation checking to run time
412 | override func viewDidMoveToWindow() {
413 | // Ensure self is a first responder to receive the input events.
:
420 | }
421 |
422 | func insertText(_ string: Any, replacementRange: NSRange) {
| |- warning: main actor-isolated instance method 'insertText(_:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'insertText(_:replacementRange:)' to make this instance method not isolated to the actor
423 | var characters: String?
424 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:438:19: warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
436 | }
437 |
438 | override func doCommand(by selector: Selector) {
| |- warning: main actor-isolated instance method 'doCommand(by:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'doCommand(by:)' to make this instance method not isolated to the actor
439 |
440 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:466:10: warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
464 | }
465 |
466 | func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange) {
| |- warning: main actor-isolated instance method 'setMarkedText(_:selectedRange:replacementRange:)' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'setMarkedText(_:selectedRange:replacementRange:)' to make this instance method not isolated to the actor
467 |
468 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:470:10: warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
468 | }
469 |
470 | func unmarkText() {
| |- warning: main actor-isolated instance method 'unmarkText()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'unmarkText()' to make this instance method not isolated to the actor
471 |
472 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:462:10: warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
460 | }
461 |
462 | func selectedRange() -> NSRange {
| |- warning: main actor-isolated instance method 'selectedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'selectedRange()' to make this instance method not isolated to the actor
463 | return NSMakeRange(NSNotFound, 0)
464 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:458:10: warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
456 | }
457 |
458 | func markedRange() -> NSRange {
| |- warning: main actor-isolated instance method 'markedRange()' cannot be used to satisfy nonisolated requirement from protocol 'NSTextInputClient'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'markedRange()' to make this instance method not isolated to the actor
459 | return NSMakeRange(NSNotFound, 0)
460 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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 requirement from protocol 'NSTextInputClient'; 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 requirement from protocol 'NSTextInputClient'; 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 | }
/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
| `- note: main actor isolation inferred from inheritance from class 'NSView'
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.addSubview:2:22: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func addSubview(_ view: NSView)}
| |- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:41: warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a nonisolated 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 nonisolated 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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:488:30: note: property declared here
486 |
487 | /// Returns the scale factor representing the number of backing store pixels corresponding to each linear unit in window space on this \c NSWindow. This method is provided for rare cases when the explicit scale factor is needed. Please use `-convert*ToBacking:` methods whenever possible.
488 | @property (readonly) CGFloat backingScaleFactor API_AVAILABLE(macos(10.7));
| `- note: property declared here
489 |
490 | - (void)performClose:(nullable id)sender;
/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 nonisolated 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 nonisolated 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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/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 nonisolated 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 nonisolated context; this is an error in the Swift 6 language mode
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
165 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:77: warning: main actor-isolated property 'bounds' can not be referenced from a nonisolated 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 nonisolated context; this is an error in the Swift 6 language mode
164 | io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
165 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor 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
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/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 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 |
:
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 nonisolated 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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_shaders.swift:9:16: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | enum ImGuiShaders {
9 | static var `default`: String = """
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #include <metal_stdlib>
11 | using namespace metal;
/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 | }
[126/149] Compiling Example main.swift
[127/149] Emitting module Example
[127/149] Write Objects.LinkFileList
[129/149] Compiling Editor main.swift
[130/150] Compiling Editor FileUtils.swift
[131/150] Compiling Editor ConsolePanel.swift
/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/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/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/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/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/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/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/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/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/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/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/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 |
[132/150] Compiling Editor DrawControls.swift
/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/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/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/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/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/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/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/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/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/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/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/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 |
[133/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'dockspaceOpen' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'optFullscreenPersistent' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'dockspaceFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
[134/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'dockspaceOpen' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'optFullscreenPersistent' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'dockspaceFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
[135/150] Compiling Editor ImGuiDemoPanel.swift
[136/150] Compiling Editor Panel.swift
[137/150] Compiling Editor RotateScript.swift
[138/150] Compiling Editor Log.swift
[139/150] Compiling Editor AssetPanel.swift
[140/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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'dockspaceOpen' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'optFullscreenPersistent' part of global actor 'MainActor'
| `- 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 nonisolated 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 nonisolated 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: add '@MainActor' to make var 'dockspaceFlags' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
[141/150] Compiling Editor ScenePanel+Hierarchy.swift
/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/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)
[142/150] Compiling Editor ScenePanel+Inspector.swift
/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/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)
[143/150] Compiling Editor ScenePanel.swift
/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/Editor/Panels/ViewportPanel.swift:177:22: error: cannot find 'atan2f' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'atan2f' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:36: error: cannot find 'sqrtf' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'sqrtf' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:178:22: error: cannot find 'atan2f' in scope
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
| `- error: cannot find 'atan2f' in scope
179 | rotation.z = atan2f(c0.y, c0.x)
180 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:179:22: error: cannot find 'atan2f' in scope
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
| `- error: cannot find 'atan2f' in scope
180 | /*
181 | if cosf(rotation.y) != 0 {
/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/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)
[144/150] Compiling Editor ViewportPanel.swift
/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/Editor/Panels/ViewportPanel.swift:177:22: error: cannot find 'atan2f' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'atan2f' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:36: error: cannot find 'sqrtf' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'sqrtf' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:178:22: error: cannot find 'atan2f' in scope
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
| `- error: cannot find 'atan2f' in scope
179 | rotation.z = atan2f(c0.y, c0.x)
180 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:179:22: error: cannot find 'atan2f' in scope
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
| `- error: cannot find 'atan2f' in scope
180 | /*
181 | if cosf(rotation.y) != 0 {
/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/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 resource_bundle_accessor.swift
[145/150] Linking Example
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-2F0A5646E1D333AE.txt
[2/40] Compiling ImGui ImVec+Extensions.swift
[3/40] Compiling MathLib Vector+Int.swift
[4/40] Compiling MathLib Vector.swift
[5/40] Compiling MothECS Moth+Mask.swift
[6/40] Compiling MothECS Moth+Identifiers.swift
[7/40] Emitting module MothECS
[8/40] Compiling MothECS Moth.swift
[9/40] Compiling MothECS Moth+Entity.swift
[10/40] Compiling MothECS Moth+Component.swift
[11/40] Emitting module OhMyLog
[12/40] Compiling OhMyLog Log.swift
[13/40] Compiling OhMyLog Logger+String.swift
[14/40] Compiling OhMyLog Logger+Any.swift
[15/40] Compiling OhMyLog Logger.swift
[16/40] Compiling OhMyLog Log+String.swift
[17/40] Compiling OhMyLog Log+Any.swift
[18/40] Compiling MathLib Other.swift
[19/40] Compiling MathLib Vector+Float.swift
[20/40] Compiling MathLib Scalar.swift
[21/40] Compiling MathLib Quaternion.swift
[22/40] Compiling MathLib Constants.swift
[23/40] Compiling MathLib Functions.swift
[24/40] Compiling MathLib Matrix.swift
[25/40] Emitting module MathLib
[26/40] Emitting module ImGui
[27/40] Compiling ImGui Export.swift
[28/40] Compiling ImGui ImGui+Definitions.swift
[29/40] Compiling ImGui Helper.swift
[30/39] Compiling ImGuizmo ImGui+Definitions.swift
[31/39] Compiling ImGuizmo Export.swift
[32/39] Compiling ImGuizmo Helper.swift
[33/39] Emitting module ImGuizmo
[34/102] Compiling Palico Application.swift
[35/102] Compiling Palico Console.swift
[36/102] Compiling Palico Layer.swift
[37/102] Compiling Palico Log.swift
[38/102] Compiling Palico PlatformContext.swift
[39/102] Compiling Palico Time.swift
[40/102] Compiling Palico Window.swift
[41/108] Compiling Palico ImGuizmo+Enum.swift
[42/108] Compiling Palico Input.swift
[43/108] Compiling Palico KeyCode.swift
[44/108] Compiling Palico MouseCode.swift
[45/108] Compiling Palico CocoaContext.swift
[46/108] Compiling Palico CocoaInput.swift
[47/108] Compiling Palico CocoaWindow+Callback.swift
[48/108] Compiling Palico TextureUtils.swift
[49/108] Compiling Palico Component+Camera.swift
[50/108] Compiling Palico Component+Light.swift
[51/108] Compiling Palico Component+MeshRenderer.swift
[52/108] Compiling Palico Component+Script.swift
[53/108] Compiling Palico Component+Tag.swift
[54/108] Compiling Palico Component+Transform.swift
[55/108] Compiling Palico CocoaWindow+Event.swift
[56/108] Compiling Palico CocoaWindow+View.swift
[57/108] Compiling Palico CocoaWindow.swift
[58/108] Compiling Palico ViewController.swift
[59/108] Compiling Palico GlfwContext.swift
[60/108] Compiling Palico GlfwInput.swift
[61/108] Compiling Palico GlfwWindow.swift
[62/108] Compiling Palico ImGui+Extra.swift
[63/108] Compiling Palico ImGuiBackend+Cocoa.swift
[64/108] Compiling Palico ImGuiBackend+Metal.swift
[65/108] Compiling Palico ImGuiBackend.swift
[66/108] Compiling Palico ImGuiFontLibrary.swift
[67/108] Compiling Palico ImGuiLayer.swift
[68/108] Compiling Palico ImGuiTheme.swift
[69/108] Compiling Palico Camera.swift
[70/108] Compiling Palico Color.swift
[71/108] Compiling Palico EditorCamera.swift
[72/108] Compiling Palico Light.swift
[73/108] Compiling Palico Mesh.swift
[74/108] Compiling Palico MetalContext.swift
[75/108] Compiling Palico PipelineStatePool.swift
[76/108] Compiling Palico RenderPass+Action.swift
[77/108] Compiling Palico RenderPass.swift
[78/108] Compiling Palico RenderPassPool.swift
[79/108] Compiling Palico Renderer.swift
[80/108] Compiling Palico Shader.swift
[81/108] Compiling Palico ShaderDataBridge.swift
[82/108] Compiling Palico ShaderLibrary.swift
[83/108] Emitting module Palico
[84/108] Compiling Palico AppEvent.swift
[85/108] Compiling Palico Event.swift
[86/108] Compiling Palico KeyEvent.swift
[87/108] Compiling Palico MouseEvent.swift
[88/108] Compiling Palico imgui_impl_metal.swift
[89/108] Compiling Palico imgui_impl_osx.swift
[90/108] Compiling Palico imgui_shaders.swift
[91/108] Compiling Palico Component.swift
[92/108] Compiling Palico GameObject.swift
[93/108] Compiling Palico Primitive.swift
[94/108] Compiling Palico Scene+Object.swift
[95/108] Compiling Palico Scene+View.swift
[96/108] Compiling Palico Scene.swift
[97/108] Compiling Palico SceneCamera.swift
[98/108] Compiling Palico SceneLight.swift
[99/108] Compiling Palico NativeScript.swift
[100/108] Compiling Palico FAIconEnum.swift
[101/108] Compiling Palico FileUtils.swift
[102/108] Compiling Palico resource_bundle_accessor.swift
[103/126] Emitting module Example
[104/126] Compiling Example main.swift
[104/126] Write Objects.LinkFileList
[106/126] Compiling Editor RotateScript.swift
[107/126] Compiling Editor FileUtils.swift
[108/126] Compiling Editor main.swift
[109/127] Emitting module Editor
[110/127] Compiling Editor Editor.swift
[111/127] Compiling Editor EditorLayer.swift
[112/127] Compiling Editor ImGuiDemoPanel.swift
[113/127] Compiling Editor Panel.swift
[114/127] Compiling Editor ConsolePanel.swift
[115/127] Compiling Editor DrawControls.swift
[116/127] Compiling Editor Log.swift
[117/127] Compiling Editor AssetPanel.swift
[118/127] Compiling Editor ScenePanel+Hierarchy.swift
[119/127] Compiling Editor ScenePanel+Inspector.swift
[120/127] Compiling Editor ScenePanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:22: error: cannot find 'atan2f' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'atan2f' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:36: error: cannot find 'sqrtf' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'sqrtf' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:178:22: error: cannot find 'atan2f' in scope
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
| `- error: cannot find 'atan2f' in scope
179 | rotation.z = atan2f(c0.y, c0.x)
180 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:179:22: error: cannot find 'atan2f' in scope
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
| `- error: cannot find 'atan2f' in scope
180 | /*
181 | if cosf(rotation.y) != 0 {
[121/127] Compiling Editor ViewportPanel.swift
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:22: error: cannot find 'atan2f' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'atan2f' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:177:36: error: cannot find 'sqrtf' in scope
175 | let c1 = normalize(mat.columns.1.xyz)
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
| `- error: cannot find 'sqrtf' in scope
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:178:22: error: cannot find 'atan2f' in scope
176 | let c2 = normalize(mat.columns.2.xyz)
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
| `- error: cannot find 'atan2f' in scope
179 | rotation.z = atan2f(c0.y, c0.x)
180 | /*
/Users/admin/builder/spi-builder-workspace/Sources/Editor/Panels/ViewportPanel.swift:179:22: error: cannot find 'atan2f' in scope
177 | rotation.y = atan2f(-c0.z, sqrtf(c1.z * c1.z + c2.z * c2.z))
178 | rotation.x = atan2f(c1.z, c2.z)
179 | rotation.z = atan2f(c0.y, c0.x)
| `- error: cannot find 'atan2f' in scope
180 | /*
181 | if cosf(rotation.y) != 0 {
[122/127] Compiling Editor resource_bundle_accessor.swift
[122/127] Linking Example
BUILD FAILURE 6.1 macosSpm