Build Information
Failed to build PalicoEngine, reference main (8d7a10
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 10:41:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
8 | func unmarkText()
| `- note: 'unmarkText()' declared here
9 | func selectedRange() -> NSRange
10 | func markedRange() -> NSRange
/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 protocol requirement; 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 protocol requirement; 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 | }
AppKit.NSTextInputClient:9:10: note: 'selectedRange()' declared here
7 | func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange)
8 | func unmarkText()
9 | func selectedRange() -> NSRange
| `- note: 'selectedRange()' declared here
10 | func markedRange() -> NSRange
11 | func hasMarkedText() -> Bool
/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 protocol requirement; 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 protocol requirement; 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 | }
AppKit.NSTextInputClient:10:10: note: 'markedRange()' declared here
8 | func unmarkText()
9 | func selectedRange() -> NSRange
10 | func markedRange() -> NSRange
| `- note: 'markedRange()' declared here
11 | func hasMarkedText() -> Bool
12 | @available(macOS 10.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:454:10: warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
452 | }
453 |
454 | func hasMarkedText() -> Bool {
| |- warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hasMarkedText()' to make this instance method not isolated to the actor
455 | return false
456 | }
AppKit.NSTextInputClient:11:10: note: 'hasMarkedText()' declared here
9 | func selectedRange() -> NSRange
10 | func markedRange() -> NSRange
11 | func hasMarkedText() -> Bool
| `- note: 'hasMarkedText()' declared here
12 | @available(macOS 10.0, *)
13 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:442:10: warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
440 | }
441 |
442 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString? {
| |- warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'attributedSubstring(forProposedRange:actualRange:)' to make this instance method not isolated to the actor
443 | return nil
444 | }
AppKit.NSTextInputClient:13:10: note: 'attributedSubstring(forProposedRange:actualRange:)' declared here
11 | func hasMarkedText() -> Bool
12 | @available(macOS 10.0, *)
13 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
| `- note: 'attributedSubstring(forProposedRange:actualRange:)' declared here
14 | @available(swift, obsoleted: 3, renamed: "attributedSubstring(forProposedRange:actualRange:)")
15 | func attributedSubstringForProposedRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:474:10: warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
472 | }
473 |
474 | func validAttributesForMarkedText() -> [NSAttributedString.Key] {
| |- warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'validAttributesForMarkedText()' to make this instance method not isolated to the actor
475 | return []
476 | }
AppKit.NSTextInputClient:17:10: note: 'validAttributesForMarkedText()' declared here
15 | func attributedSubstringForProposedRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
16 | @available(macOS 10.0, *)
17 | func validAttributesForMarkedText() -> [NSAttributedString.Key]
| `- note: 'validAttributesForMarkedText()' declared here
18 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect
19 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:450:10: warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
448 | }
449 |
450 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect {
| |- warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'firstRect(forCharacterRange:actualRange:)' to make this instance method not isolated to the actor
451 | return NSZeroRect
452 | }
AppKit.NSTextInputClient:18:10: note: 'firstRect(forCharacterRange:actualRange:)' declared here
16 | @available(macOS 10.0, *)
17 | func validAttributesForMarkedText() -> [NSAttributedString.Key]
18 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect
| `- note: 'firstRect(forCharacterRange:actualRange:)' declared here
19 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
20 | func firstRectForCharacterRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:446:10: warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
444 | }
445 |
446 | func characterIndex(for point: NSPoint) -> Int {
| |- warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'characterIndex(for:)' to make this instance method not isolated to the actor
447 | return 0
448 | }
AppKit.NSTextInputClient:21:10: note: 'characterIndex(for:)' declared here
19 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
20 | func firstRectForCharacterRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSRect
21 | func characterIndex(for point: NSPoint) -> Int
| `- note: 'characterIndex(for:)' declared here
22 | @available(swift, obsoleted: 3, renamed: "characterIndex(for:)")
23 | func characterIndexForPoint(_ point: NSPoint) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:143:27: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | // MARK: - Functions
35 | @discardableResult
36 | func ImGui_ImplOSX_Init(_ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_Init' part of global actor 'MainActor'
37 | let io = ImGuiGetIO()!
38 |
:
141 | // to receive keyboard events and translate them to input text.
142 |
143 | g_KeyEventResponder = KeyEventResponder(frame: NSZeroRect)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
144 | view.addSubview(g_KeyEventResponder!)
145 |
:
407 | https://github.com/glfw/glfw/blob/b55a517ae0c7b5127dffa79a64f5406021bf9076/src/cocoa_window.m#L722-L723
408 | */
409 | class KeyEventResponder: NSView { }
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
410 |
411 | extension KeyEventResponder: NSTextInputClient {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:144:10: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | // MARK: - Functions
35 | @discardableResult
36 | func ImGui_ImplOSX_Init(_ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_Init' part of global actor 'MainActor'
37 | let io = ImGuiGetIO()!
38 |
:
142 |
143 | g_KeyEventResponder = KeyEventResponder(frame: NSZeroRect)
144 | view.addSubview(g_KeyEventResponder!)
| `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
145 |
146 | return true
AppKit.NSView:29:26: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
27 | @available(macOS 10.5, *)
28 | open func viewDidUnhide()
29 | @MainActor open func addSubview(_ view: NSView)
| `- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
30 | open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
31 | open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:41: warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a 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)
AppKit.NSWindow:232:25: note: property declared here
230 | open func backingAlignedRect(_ rect: NSRect, options: AlignmentOptions = []) -> NSRect
231 | @available(macOS 10.7, *)
232 | @MainActor open var backingScaleFactor: CGFloat { get }
| `- note: property declared here
233 | open func performClose(_ sender: Any?)
234 | open func performMiniaturize(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:33: warning: main actor-isolated property 'window' can not be referenced from a 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)
AppKit.NSView:4:30: note: property declared here
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
| `- note: property declared here
5 | unowned(unsafe) open var superview: NSView? { get }
6 | open var subviews: [NSView] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:43: warning: main actor-isolated property 'bounds' can not be referenced from a 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 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:77: warning: main actor-isolated property 'bounds' can not be referenced from a 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 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:210:27: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 |
187 | @discardableResult
188 | func ImGui_ImplOSX_HandleEvent(_ event: NSEvent, _ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_HandleEvent' part of global actor 'MainActor'
189 | let io = ImGuiGetIO()!
190 |
:
208 | if event.type == .mouseMoved || event.type == .leftMouseDragged || event.type == .rightMouseDragged || event.type == .otherMouseDragged {
209 | var mousePoint = event.locationInWindow
210 | mousePoint = view.convert(mousePoint, from: nil)
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 | mousePoint = NSPoint(x: mousePoint.x, y: view.bounds.size.height - mousePoint.y)
212 | io.pointee.MousePos = ImVec2(x: Float(mousePoint.x), y: Float(mousePoint.y))
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:211:55: warning: main actor-isolated property 'bounds' can not be referenced from a 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 | }
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:431:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
429 |
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
432 | self?.enqueueReusableBuffer(indexBuffer)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:431:45: warning: sending 'vertexBuffer' risks causing data races; this is an error in the Swift 6 language mode
429 |
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
| |- warning: sending 'vertexBuffer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'vertexBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
432 | self?.enqueueReusableBuffer(indexBuffer)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:432:45: warning: sending 'indexBuffer' risks causing data races; this is an error in the Swift 6 language mode
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
432 | self?.enqueueReusableBuffer(indexBuffer)
| |- warning: sending 'indexBuffer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'indexBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
433 | }
434 | }
[125/131] Compiling Palico imgui_shaders.swift
/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: annotate 'application' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: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: annotate 'input' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'keyboard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'mouse' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | 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: annotate 'mouseButton' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'g_sharedMetalContext' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | @available(OSX 10.11, *)
/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: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #include <metal_stdlib>
11 | using namespace metal;
/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: annotate 'g_HostClockPeriod' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | 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: annotate 'g_Time' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'g_MouseCursorHidden' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'g_MouseCursors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | 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: annotate 'g_MouseJustPressed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | 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: annotate 'g_MouseDown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | 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: annotate 'g_FocusObserver' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'g_KeyEventResponder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 's_clipboard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | // 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 protocol requirement; 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 protocol requirement; 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 |
AppKit.NSTextInputClient:2:10: note: 'insertText(_:replacementRange:)' declared here
1 | public protocol NSTextInputClient {
2 | func insertText(_ string: Any, replacementRange: NSRange)
| `- note: 'insertText(_:replacementRange:)' declared here
3 | @available(macOS 10.0, *)
4 | func doCommand(by selector: Selector)
/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 protocol requirement; 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 protocol requirement; 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 | }
AppKit.NSTextInputClient:4:10: note: 'doCommand(by:)' declared here
2 | func insertText(_ string: Any, replacementRange: NSRange)
3 | @available(macOS 10.0, *)
4 | func doCommand(by selector: Selector)
| `- note: 'doCommand(by:)' declared here
5 | @available(swift, obsoleted: 3, renamed: "doCommand(by:)")
6 | func doCommandBySelector(_ selector: Selector)
/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 protocol requirement; 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 protocol requirement; 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 | }
AppKit.NSTextInputClient:7:10: note: 'setMarkedText(_:selectedRange:replacementRange:)' declared here
5 | @available(swift, obsoleted: 3, renamed: "doCommand(by:)")
6 | func doCommandBySelector(_ selector: Selector)
7 | func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange)
| `- note: 'setMarkedText(_:selectedRange:replacementRange:)' declared here
8 | func unmarkText()
9 | func selectedRange() -> NSRange
/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 protocol requirement; 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 protocol requirement; 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 | }
AppKit.NSTextInputClient:8:10: note: 'unmarkText()' declared here
6 | func doCommandBySelector(_ selector: Selector)
7 | func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange)
8 | func unmarkText()
| `- note: 'unmarkText()' declared here
9 | func selectedRange() -> NSRange
10 | func markedRange() -> NSRange
/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 protocol requirement; 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 protocol requirement; 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 | }
AppKit.NSTextInputClient:9:10: note: 'selectedRange()' declared here
7 | func setMarkedText(_ string: Any, selectedRange: NSRange, replacementRange: NSRange)
8 | func unmarkText()
9 | func selectedRange() -> NSRange
| `- note: 'selectedRange()' declared here
10 | func markedRange() -> NSRange
11 | func hasMarkedText() -> Bool
/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 protocol requirement; 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 protocol requirement; 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 | }
AppKit.NSTextInputClient:10:10: note: 'markedRange()' declared here
8 | func unmarkText()
9 | func selectedRange() -> NSRange
10 | func markedRange() -> NSRange
| `- note: 'markedRange()' declared here
11 | func hasMarkedText() -> Bool
12 | @available(macOS 10.0, *)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:454:10: warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
452 | }
453 |
454 | func hasMarkedText() -> Bool {
| |- warning: main actor-isolated instance method 'hasMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hasMarkedText()' to make this instance method not isolated to the actor
455 | return false
456 | }
AppKit.NSTextInputClient:11:10: note: 'hasMarkedText()' declared here
9 | func selectedRange() -> NSRange
10 | func markedRange() -> NSRange
11 | func hasMarkedText() -> Bool
| `- note: 'hasMarkedText()' declared here
12 | @available(macOS 10.0, *)
13 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:442:10: warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
440 | }
441 |
442 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString? {
| |- warning: main actor-isolated instance method 'attributedSubstring(forProposedRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'attributedSubstring(forProposedRange:actualRange:)' to make this instance method not isolated to the actor
443 | return nil
444 | }
AppKit.NSTextInputClient:13:10: note: 'attributedSubstring(forProposedRange:actualRange:)' declared here
11 | func hasMarkedText() -> Bool
12 | @available(macOS 10.0, *)
13 | func attributedSubstring(forProposedRange range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
| `- note: 'attributedSubstring(forProposedRange:actualRange:)' declared here
14 | @available(swift, obsoleted: 3, renamed: "attributedSubstring(forProposedRange:actualRange:)")
15 | func attributedSubstringForProposedRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:474:10: warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
472 | }
473 |
474 | func validAttributesForMarkedText() -> [NSAttributedString.Key] {
| |- warning: main actor-isolated instance method 'validAttributesForMarkedText()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'validAttributesForMarkedText()' to make this instance method not isolated to the actor
475 | return []
476 | }
AppKit.NSTextInputClient:17:10: note: 'validAttributesForMarkedText()' declared here
15 | func attributedSubstringForProposedRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSAttributedString?
16 | @available(macOS 10.0, *)
17 | func validAttributesForMarkedText() -> [NSAttributedString.Key]
| `- note: 'validAttributesForMarkedText()' declared here
18 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect
19 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:450:10: warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
448 | }
449 |
450 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect {
| |- warning: main actor-isolated instance method 'firstRect(forCharacterRange:actualRange:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'firstRect(forCharacterRange:actualRange:)' to make this instance method not isolated to the actor
451 | return NSZeroRect
452 | }
AppKit.NSTextInputClient:18:10: note: 'firstRect(forCharacterRange:actualRange:)' declared here
16 | @available(macOS 10.0, *)
17 | func validAttributesForMarkedText() -> [NSAttributedString.Key]
18 | func firstRect(forCharacterRange range: NSRange, actualRange: NSRangePointer?) -> NSRect
| `- note: 'firstRect(forCharacterRange:actualRange:)' declared here
19 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
20 | func firstRectForCharacterRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSRect
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:446:10: warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
444 | }
445 |
446 | func characterIndex(for point: NSPoint) -> Int {
| |- warning: main actor-isolated instance method 'characterIndex(for:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'characterIndex(for:)' to make this instance method not isolated to the actor
447 | return 0
448 | }
AppKit.NSTextInputClient:21:10: note: 'characterIndex(for:)' declared here
19 | @available(swift, obsoleted: 3, renamed: "firstRect(forCharacterRange:actualRange:)")
20 | func firstRectForCharacterRange(_ range: NSRange, actualRange: NSRangePointer?) -> NSRect
21 | func characterIndex(for point: NSPoint) -> Int
| `- note: 'characterIndex(for:)' declared here
22 | @available(swift, obsoleted: 3, renamed: "characterIndex(for:)")
23 | func characterIndexForPoint(_ point: NSPoint) -> Int
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:143:27: warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | // MARK: - Functions
35 | @discardableResult
36 | func ImGui_ImplOSX_Init(_ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_Init' part of global actor 'MainActor'
37 | let io = ImGuiGetIO()!
38 |
:
141 | // to receive keyboard events and translate them to input text.
142 |
143 | g_KeyEventResponder = KeyEventResponder(frame: NSZeroRect)
| `- warning: call to main actor-isolated initializer 'init(frame:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
144 | view.addSubview(g_KeyEventResponder!)
145 |
:
407 | https://github.com/glfw/glfw/blob/b55a517ae0c7b5127dffa79a64f5406021bf9076/src/cocoa_window.m#L722-L723
408 | */
409 | class KeyEventResponder: NSView { }
| `- note: calls to initializer 'init(frame:)' from outside of its actor context are implicitly asynchronous
410 |
411 | extension KeyEventResponder: NSTextInputClient {
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:144:10: warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
34 | // MARK: - Functions
35 | @discardableResult
36 | func ImGui_ImplOSX_Init(_ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_Init' part of global actor 'MainActor'
37 | let io = ImGuiGetIO()!
38 |
:
142 |
143 | g_KeyEventResponder = KeyEventResponder(frame: NSZeroRect)
144 | view.addSubview(g_KeyEventResponder!)
| `- warning: call to main actor-isolated instance method 'addSubview' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
145 |
146 | return true
AppKit.NSView:29:26: note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
27 | @available(macOS 10.5, *)
28 | open func viewDidUnhide()
29 | @MainActor open func addSubview(_ view: NSView)
| `- note: calls to instance method 'addSubview' from outside of its actor context are implicitly asynchronous
30 | open func addSubview(_ view: NSView, positioned place: NSWindow.OrderingMode, relativeTo otherView: NSView?)
31 | open func sortSubviews(_ compare: @convention(c) (NSView, NSView, UnsafeMutableRawPointer?) -> ComparisonResult, context: UnsafeMutableRawPointer?)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:41: warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a 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)
AppKit.NSWindow:232:25: note: property declared here
230 | open func backingAlignedRect(_ rect: NSRect, options: AlignmentOptions = []) -> NSRect
231 | @available(macOS 10.7, *)
232 | @MainActor open var backingScaleFactor: CGFloat { get }
| `- note: property declared here
233 | open func performClose(_ sender: Any?)
234 | open func performMiniaturize(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:162:33: warning: main actor-isolated property 'window' can not be referenced from a 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)
AppKit.NSView:4:30: note: property declared here
2 | @MainActor public init(frame frameRect: NSRect)
3 | @MainActor public init?(coder: NSCoder)
4 | unowned(unsafe) open var window: NSWindow? { get }
| `- note: property declared here
5 | unowned(unsafe) open var superview: NSView? { get }
6 | open var subviews: [NSView] { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:43: warning: main actor-isolated property 'bounds' can not be referenced from a 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 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:163:77: warning: main actor-isolated property 'bounds' can not be referenced from a 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 |
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:210:27: warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
186 |
187 | @discardableResult
188 | func ImGui_ImplOSX_HandleEvent(_ event: NSEvent, _ view: NSView) -> Bool {
| `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_HandleEvent' part of global actor 'MainActor'
189 | let io = ImGuiGetIO()!
190 |
:
208 | if event.type == .mouseMoved || event.type == .leftMouseDragged || event.type == .rightMouseDragged || event.type == .otherMouseDragged {
209 | var mousePoint = event.locationInWindow
210 | mousePoint = view.convert(mousePoint, from: nil)
| `- warning: call to main actor-isolated instance method 'convert(_:from:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
211 | mousePoint = NSPoint(x: mousePoint.x, y: view.bounds.size.height - mousePoint.y)
212 | io.pointee.MousePos = ImVec2(x: Float(mousePoint.x), y: Float(mousePoint.y))
AppKit.NSView:89:15: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
87 | @available(swift, obsoleted: 3, renamed: "isOpaque")
88 | open var opaque: Bool { get }
89 | open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint
| `- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
90 | @available(swift, obsoleted: 3, renamed: "convert(_:from:)")
91 | open func convertPoint(_ point: NSPoint, fromView view: NSView?) -> NSPoint
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_osx.swift:211:55: warning: main actor-isolated property 'bounds' can not be referenced from a 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 | }
AppKit.NSView:76:14: note: property declared here
74 | @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
75 | open func rotateByAngle(_ angle: CGFloat)
76 | open var bounds: NSRect { get set }
| `- note: property declared here
77 | open var isFlipped: Bool { get }
78 | @available(swift, obsoleted: 3, renamed: "isFlipped")
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:431:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
429 |
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
432 | self?.enqueueReusableBuffer(indexBuffer)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:431:45: warning: sending 'vertexBuffer' risks causing data races; this is an error in the Swift 6 language mode
429 |
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
| |- warning: sending 'vertexBuffer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'vertexBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
432 | self?.enqueueReusableBuffer(indexBuffer)
433 | }
/Users/admin/builder/spi-builder-workspace/Sources/Palico/ImGui/Backends/imgui_impl_metal.swift:432:45: warning: sending 'indexBuffer' risks causing data races; this is an error in the Swift 6 language mode
430 | DispatchQueue.main.async { [weak self] in
431 | self?.enqueueReusableBuffer(vertexBuffer)
432 | self?.enqueueReusableBuffer(indexBuffer)
| |- warning: sending 'indexBuffer' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'indexBuffer' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
433 | }
434 | }
[126/149] Emitting module Example
[127/149] Compiling Example main.swift
[127/149] Write Objects.LinkFileList
[129/149] Compiling Editor main.swift
[130/150] Compiling Editor FileUtils.swift
[131/150] Compiling Editor RotateScript.swift
[132/150] Compiling Editor 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)
[133/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)
[134/150] Compiling Editor resource_bundle_accessor.swift
[135/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)
[136/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)
[137/150] Compiling Editor ImGuiDemoPanel.swift
[138/150] Compiling Editor Panel.swift
[139/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 |
[140/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 |
[141/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: annotate 'dockspaceOpen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:13:17: warning: var 'optFullscreenPersistent' is not concurrency-safe because it is 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: annotate 'optFullscreenPersistent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:14:17: warning: var 'dockspaceFlags' is not concurrency-safe because it is 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: annotate 'dockspaceFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
[142/150] Compiling Editor Log.swift
[143/150] Compiling Editor AssetPanel.swift
[144/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: annotate 'dockspaceOpen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:13:17: warning: var 'optFullscreenPersistent' is not concurrency-safe because it is 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: annotate 'optFullscreenPersistent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:14:17: warning: var 'dockspaceFlags' is not concurrency-safe because it is 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: annotate 'dockspaceFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
[145/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: annotate 'dockspaceOpen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | fileprivate var optFullscreenPersistent: Bool = true
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:13:17: warning: var 'optFullscreenPersistent' is not concurrency-safe because it is 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: annotate 'optFullscreenPersistent' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | fileprivate var dockspaceFlags: ImGuiDockNodeFlags = Im(ImGuiDockNodeFlags_None)
15 |
/Users/admin/builder/spi-builder-workspace/Sources/Editor/EditorLayer.swift:14:17: warning: var 'dockspaceFlags' is not concurrency-safe because it is 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: annotate 'dockspaceFlags' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | class EditorLayer: Layer {
[145/150] Linking Example
BUILD FAILURE 6.0 macosSpm