This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of ImGui with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 13

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/forkercat/SwiftImGui.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/forkercat/SwiftImGui
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at dbf41bd Remove unused submodule
Submodule path '3rdparty/cimgui': checked out '6a98f4bbedec967d02f3395f319feceec311ecb2'
Submodule path '3rdparty/cimgui/imgui': checked out '64aab8480a5643cec1880af17931963a90a8f990'
Submodule '3rdparty/cimgui' (https://github.com/cimgui/cimgui.git) registered for path '3rdparty/cimgui'
Cloning into '/Users/admin/builder/spi-builder-workspace/3rdparty/cimgui'...
Submodule 'imgui' (https://github.com/ocornut/imgui.git) registered for path '3rdparty/cimgui/imgui'
Cloning into '/Users/admin/builder/spi-builder-workspace/3rdparty/cimgui/imgui'...
Cloned https://github.com/forkercat/SwiftImGui.git
Revision (git rev-parse @):
dbf41bd66b45c701635e6265340b95e71f958521
SUCCESS checkout https://github.com/forkercat/SwiftImGui.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/forkercat/SwiftImGui.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/24] Write sources
[2/24] Write DemoMetal-macOS-entitlement.plist
[3/24] Copying definitions.json
[4/24] Write DemoMinimal-entitlement.plist
[4/24] Write sources
[4/24] Write AutoWrapper-entitlement.plist
[8/24] Write swift-version-6F35C1178C84523A.txt
[9/34] Compiling imgui_tables.cpp
[10/34] Compiling imgui_demo.cpp
[11/34] Compiling imgui_draw.cpp
[12/34] Compiling CImGui cimgui.cpp
[13/34] Compiling imgui_widgets.cpp
[14/34] Compiling imgui.cpp
[16/39] Compiling ImGui ImVec+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:10:1: warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
 8 | import CImGui
 9 |
10 | extension ImVec1: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: ImVec1, rhs: ImVec1) -> Bool {
12 |         lhs.x == rhs.x
/Users/admin/builder/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:16:1: warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
14 | }
15 |
16 | extension ImVec2: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: ImVec2, rhs: ImVec2) -> Bool {
18 |         lhs.x == rhs.x &&
/Users/admin/builder/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:23:1: warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
21 | }
22 |
23 | extension ImVec4: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     public static func == (lhs: ImVec4, rhs: ImVec4) -> Bool {
25 |         lhs.x == rhs.x &&
[17/39] Compiling ImGui Helper.swift
[18/39] Compiling ImGui ImGui+Definitions.swift
[19/39] Compiling ImGui Export.swift
[20/39] Emitting module ImGui
/Users/admin/builder/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:10:1: warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
 8 | import CImGui
 9 |
10 | extension ImVec1: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec1' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
11 |     public static func == (lhs: ImVec1, rhs: ImVec1) -> Bool {
12 |         lhs.x == rhs.x
/Users/admin/builder/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:16:1: warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
14 | }
15 |
16 | extension ImVec2: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec2' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
17 |     public static func == (lhs: ImVec2, rhs: ImVec2) -> Bool {
18 |         lhs.x == rhs.x &&
/Users/admin/builder/spi-builder-workspace/Sources/ImGui/ImVec+Extensions.swift:23:1: warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
21 | }
22 |
23 | extension ImVec4: Equatable {
   | |- warning: extension declares a conformance of imported type 'ImVec4' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'CImGui' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
24 |     public static func == (lhs: ImVec4, rhs: ImVec4) -> Bool {
25 |         lhs.x == rhs.x &&
[21/49] Emitting module DemoMinimal
[22/49] Compiling DemoMinimal main.swift
[22/49] Write Objects.LinkFileList
[23/49] Linking DemoMinimal
[24/49] Applying DemoMinimal
[26/49] Compiling AutoWrapper main.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:59:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 |     /// causes "Use of undeclared type '...'" compiler error.
59 |     public static let undeclardTypes: [String: Declaration] = [
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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
60 |         "ImBitArray": Declaration(name: "ImBitArray", typealiasType: "OpaquePointer"),
61 |         "ImChunkStream": Declaration(name: "ImChunkStream", typealiasType: "OpaquePointer"),
   :
69 | }
70 |
71 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
72 |     public let name: String
73 |     public let typealiasType: String
[27/49] Compiling AutoWrapper FunctionBodyRenderer.swift
[28/49] Compiling AutoWrapper SwiftKeywords.swift
[29/49] Compiling AutoWrapper Exceptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:59:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 |     /// causes "Use of undeclared type '...'" compiler error.
59 |     public static let undeclardTypes: [String: Declaration] = [
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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
60 |         "ImBitArray": Declaration(name: "ImBitArray", typealiasType: "OpaquePointer"),
61 |         "ImChunkStream": Declaration(name: "ImChunkStream", typealiasType: "OpaquePointer"),
   :
69 | }
70 |
71 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
72 |     public let name: String
73 |     public let typealiasType: String
[30/49] Compiling AutoWrapper resource_bundle_accessor.swift
[31/49] Emitting module AutoWrapper
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:59:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 |     /// causes "Use of undeclared type '...'" compiler error.
59 |     public static let undeclardTypes: [String: Declaration] = [
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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
60 |         "ImBitArray": Declaration(name: "ImBitArray", typealiasType: "OpaquePointer"),
61 |         "ImChunkStream": Declaration(name: "ImChunkStream", typealiasType: "OpaquePointer"),
   :
69 | }
70 |
71 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
72 |     public let name: String
73 |     public let typealiasType: String
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Definitions.swift:38:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 36 |     public let argsT: [ArgsT]
 37 |     public let ret: DataType?
 38 |     public let templated = false
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'templated' case to silence this warning
    |                `- note: make the property mutable instead
 39 |     public let namespace: String?
 40 |
[32/49] Compiling AutoWrapper Definitions.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Definitions.swift:38:16: warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
 36 |     public let argsT: [ArgsT]
 37 |     public let ret: DataType?
 38 |     public let templated = false
    |                |- warning: immutable property will not be decoded because it is declared with an initial value which cannot be overwritten
    |                |- note: set the initial value via the initializer or explicitly define a CodingKeys enum without a 'templated' case to silence this warning
    |                `- note: make the property mutable instead
 39 |     public let namespace: String?
 40 |
[33/49] Compiling AutoWrapper DataType.swift
/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Exceptions.swift:59:23: warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
57 |
58 |     /// causes "Use of undeclared type '...'" compiler error.
59 |     public static let undeclardTypes: [String: Declaration] = [
   |                       |- warning: static property 'undeclardTypes' is not concurrency-safe because non-'Sendable' type '[String : Declaration]' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'undeclardTypes' 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
60 |         "ImBitArray": Declaration(name: "ImBitArray", typealiasType: "OpaquePointer"),
61 |         "ImChunkStream": Declaration(name: "ImChunkStream", typealiasType: "OpaquePointer"),
   :
69 | }
70 |
71 | public struct Declaration {
   |               `- note: consider making struct 'Declaration' conform to the 'Sendable' protocol
72 |     public let name: String
73 |     public let typealiasType: String
[34/49] Compiling AutoWrapper Converter.swift
[35/49] Compiling AutoWrapper ArgT.swift
[35/49] Write Objects.LinkFileList
[36/49] Linking AutoWrapper
[37/49] Applying AutoWrapper
[39/49] Compiling DemoMetal main.swift
[40/49] Compiling DemoMetal ViewController.swift
[41/49] Compiling DemoMetal imgui_impl_osx.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_osx.swift:11:5: warning: var 'g_Time' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  9 | import AppKit
 10 |
 11 | var g_Time: CFAbsoluteTime = 0.0
    |     |- warning: var 'g_Time' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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
 12 | var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil,
 13 |                                               count: Int(ImGuiMouseCursor_COUNT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_osx.swift:12:5: warning: var 'g_MouseCursors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | var g_Time: CFAbsoluteTime = 0.0
 12 | var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil,
    |     |- warning: var 'g_MouseCursors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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
 13 |                                               count: Int(ImGuiMouseCursor_COUNT.rawValue))
 14 | var g_MouseCursorHidden: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_osx.swift:14:5: warning: var 'g_MouseCursorHidden' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil,
 13 |                                               count: Int(ImGuiMouseCursor_COUNT.rawValue))
 14 | var g_MouseCursorHidden: Bool = false
    |     |- warning: var 'g_MouseCursorHidden' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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
 15 |
 16 | func ImGui_ImplOSX_Init() {
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_osx.swift:86:43: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 79 | }
 80 |
 81 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
    |      `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
 82 |     // Setup display size
 83 |     let ioRef = igGetIO()!
 84 |     var io: ImGuiIO = ioRef.pointee
 85 |
 86 |     io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
    |                                           `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 87 |
 88 |     let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
AppKit.NSView:76:25: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
 75 |     open func rotateByAngle(_ angle: CGFloat)
 76 |     @MainActor 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/Demos/Metal/imgui_impl_osx.swift:86:77: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 79 | }
 80 |
 81 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
    |      `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
 82 |     // Setup display size
 83 |     let ioRef = igGetIO()!
 84 |     var io: ImGuiIO = ioRef.pointee
 85 |
 86 |     io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
    |                                                                             `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 87 |
 88 |     let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
AppKit.NSView:76:25: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
 75 |     open func rotateByAngle(_ angle: CGFloat)
 76 |     @MainActor 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/Demos/Metal/imgui_impl_osx.swift:88:41: warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 79 | }
 80 |
 81 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
    |      `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
 82 |     // Setup display size
 83 |     let ioRef = igGetIO()!
    :
 86 |     io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
 87 |
 88 |     let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
    |                                         `- warning: main actor-isolated property 'backingScaleFactor' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 89 |     io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
 90 |
AppKit.NSWindow:230:25: note: property declared here
228 |     open func backingAlignedRect(_ rect: NSRect, options: AlignmentOptions = []) -> NSRect
229 |     @available(macOS 10.7, *)
230 |     @MainActor open var backingScaleFactor: CGFloat { get }
    |                         `- note: property declared here
231 |     open func performClose(_ sender: Any?)
232 |     open func performMiniaturize(_ sender: Any?)
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_osx.swift:88:33: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 79 | }
 80 |
 81 | func ImGui_ImplOSX_NewFrame(_ view: NSView) {
    |      `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_NewFrame' part of global actor 'MainActor'
 82 |     // Setup display size
 83 |     let ioRef = igGetIO()!
    :
 86 |     io.DisplaySize = ImVec2(x: Float(view.bounds.size.width), y: Float(view.bounds.size.height))
 87 |
 88 |     let dpi: Float = Float(view.window?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
    |                                 `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 89 |     io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
 90 |
AppKit.NSView:4:30: note: property declared here
  2 |     public init(frame frameRect: NSRect)
  3 |     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/Demos/Metal/imgui_impl_osx.swift:165: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
138 | }
139 |
140 | @discardableResult func ImGui_ImplOSX_HandleEvent(_ event: NSEvent, _ view: NSView) -> Bool {
    |                         `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_HandleEvent' part of global actor 'MainActor'
141 |     let io = ImGuiGetIO()!
142 |
    :
163 |     if event.type == .mouseMoved || event.type == .leftMouseDragged {
164 |         var mousePoint = event.locationInWindow
165 |         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
166 |         mousePoint = NSPoint(x: mousePoint.x, y: view.bounds.size.height - mousePoint.y)
167 |         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/Demos/Metal/imgui_impl_osx.swift:166:55: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
138 | }
139 |
140 | @discardableResult func ImGui_ImplOSX_HandleEvent(_ event: NSEvent, _ view: NSView) -> Bool {
    |                         `- note: add '@MainActor' to make global function 'ImGui_ImplOSX_HandleEvent' part of global actor 'MainActor'
141 |     let io = ImGuiGetIO()!
142 |
    :
164 |         var mousePoint = event.locationInWindow
165 |         mousePoint = view.convert(mousePoint, from: nil)
166 |         mousePoint = NSPoint(x: mousePoint.x, y: view.bounds.size.height - mousePoint.y)
    |                                                       `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
167 |         io.pointee.MousePos = ImVec2(x: Float(mousePoint.x), y: Float(mousePoint.y))
168 |     }
AppKit.NSView:76:25: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
 75 |     open func rotateByAngle(_ angle: CGFloat)
 76 |     @MainActor open var bounds: NSRect { get set }
    |                         `- note: property declared here
 77 |     open var isFlipped: Bool { get }
 78 |     @available(swift, obsoleted: 3, renamed: "isFlipped")
[42/49] Compiling DemoMetal Shaders.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Shaders.swift:9:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum Shaders {
 9 |     static var `default`: String = """
   |                |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '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;
[43/49] Compiling DemoMetal AppDelegate.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/AppDelegate.swift:12:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
10 | @available(OSX 10.11, *)
11 | final class AppDelegate: NSObject, NSApplicationDelegate {
12 |     lazy var window: NSWindow = NSApplication.shared.windows[0]
   |              `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
13 |     let viewController: ViewController = ViewController()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/AppDelegate.swift:13:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
11 | final class AppDelegate: NSObject, NSApplicationDelegate {
12 |     lazy var window: NSWindow = NSApplication.shared.windows[0]
13 |     let viewController: ViewController = ViewController()
   |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 |     func applicationWillFinishLaunching(_ notification: Notification) {
[44/49] Emitting module DemoMetal
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/AppDelegate.swift:12:14: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
10 | @available(OSX 10.11, *)
11 | final class AppDelegate: NSObject, NSApplicationDelegate {
12 |     lazy var window: NSWindow = NSApplication.shared.windows[0]
   |              `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
13 |     let viewController: ViewController = ViewController()
14 |
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/AppDelegate.swift:13:9: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
11 | final class AppDelegate: NSObject, NSApplicationDelegate {
12 |     lazy var window: NSWindow = NSApplication.shared.windows[0]
13 |     let viewController: ViewController = ViewController()
   |         `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
14 |
15 |     func applicationWillFinishLaunching(_ notification: Notification) {
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:12:5: warning: var 'show_demo_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 10 | import MetalKit
 11 |
 12 | var show_demo_window: Bool = true
    |     |- warning: var 'show_demo_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'show_demo_window' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'show_demo_window' 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 | var show_another_window: Bool = false
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:13:5: warning: var 'show_another_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | var show_demo_window: Bool = true
 13 | var show_another_window: Bool = false
    |     |- warning: var 'show_another_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'show_another_window' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'show_another_window' 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 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
 15 | var f: Float = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:14:5: warning: var 'clear_color' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | var show_demo_window: Bool = true
 13 | var show_another_window: Bool = false
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
    |     |- warning: var 'clear_color' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'clear_color' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'clear_color' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | var f: Float = 0.0
 16 | var counter: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:15:5: warning: var 'f' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 13 | var show_another_window: Bool = false
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
 15 | var f: Float = 0.0
    |     |- warning: var 'f' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'f' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'f' 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 | var counter: Int = 0
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:16:5: warning: var 'counter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
 15 | var f: Float = 0.0
 16 | var counter: Int = 0
    |     |- warning: var 'counter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'counter' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 | @available(OSX 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Shaders.swift:9:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum Shaders {
 9 |     static var `default`: String = """
   |                |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '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/Demos/Metal/imgui_impl_metal.swift:15:5: warning: var 'g_sharedMetalContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | @available(OSX 10.11, *)
 15 | var g_sharedMetalContext: MetalContext = MetalContext()
    |     |- warning: var 'g_sharedMetalContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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/Demos/Metal/imgui_impl_osx.swift:11:5: warning: var 'g_Time' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
  9 | import AppKit
 10 |
 11 | var g_Time: CFAbsoluteTime = 0.0
    |     |- warning: var 'g_Time' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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
 12 | var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil,
 13 |                                               count: Int(ImGuiMouseCursor_COUNT.rawValue))
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_osx.swift:12:5: warning: var 'g_MouseCursors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | var g_Time: CFAbsoluteTime = 0.0
 12 | var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil,
    |     |- warning: var 'g_MouseCursors' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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
 13 |                                               count: Int(ImGuiMouseCursor_COUNT.rawValue))
 14 | var g_MouseCursorHidden: Bool = false
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_osx.swift:14:5: warning: var 'g_MouseCursorHidden' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | var g_MouseCursors: [NSCursor?] = [NSCursor?](repeating: nil,
 13 |                                               count: Int(ImGuiMouseCursor_COUNT.rawValue))
 14 | var g_MouseCursorHidden: Bool = false
    |     |- warning: var 'g_MouseCursorHidden' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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
 15 |
 16 | func ImGui_ImplOSX_Init() {
[45/49] Compiling DemoMetal Renderer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:12:5: warning: var 'show_demo_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 10 | import MetalKit
 11 |
 12 | var show_demo_window: Bool = true
    |     |- warning: var 'show_demo_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'show_demo_window' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'show_demo_window' 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 | var show_another_window: Bool = false
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:13:5: warning: var 'show_another_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 11 |
 12 | var show_demo_window: Bool = true
 13 | var show_another_window: Bool = false
    |     |- warning: var 'show_another_window' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'show_another_window' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'show_another_window' 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 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
 15 | var f: Float = 0.0
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:14:5: warning: var 'clear_color' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 12 | var show_demo_window: Bool = true
 13 | var show_another_window: Bool = false
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
    |     |- warning: var 'clear_color' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'clear_color' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'clear_color' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 | var f: Float = 0.0
 16 | var counter: Int = 0
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:15:5: warning: var 'f' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 13 | var show_another_window: Bool = false
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
 15 | var f: Float = 0.0
    |     |- warning: var 'f' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'f' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'f' 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 | var counter: Int = 0
 17 |
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:16:5: warning: var 'counter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 14 | var clear_color: SIMD3<Float> = .init(x: 0.28, y: 0.36, z: 0.5)
 15 | var f: Float = 0.0
 16 | var counter: Int = 0
    |     |- warning: var 'counter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
    |     |- note: annotate 'counter' with '@MainActor' if property should only be accessed from the main actor
    |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |
 18 | @available(OSX 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:24:28: warning: main actor-isolated property 'device' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 22 |
 23 |     init(_ view: MTKView) {
 24 |         self.device = view.device!
    |                            `- warning: main actor-isolated property 'device' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 25 |         commandQueue = device.makeCommandQueue()!
 26 |
MetalKit.MTKView:6:25: note: property declared here
 4 |     public init(coder: NSCoder)
 5 |     weak open var delegate: (any MTKViewDelegate)? { get set }
 6 |     @MainActor open var device: (any MTLDevice)? { get set }
   |                         `- note: property declared here
 7 |     open var currentDrawable: (any CAMetalDrawable)? { get }
 8 |     open var framebufferOnly: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:40:20: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 37 | @available(OSX 10.11, *)
 38 | extension Renderer: MTKViewDelegate {
 39 |     func draw(in view: MTKView) {
    |          `- note: add '@MainActor' to make instance method 'draw(in:)' part of global actor 'MainActor'
 40 |         guard view.bounds.size.width > 0 && view.bounds.size.height > 0 else {
    |                    `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 41 |             return
 42 |         }
AppKit.NSView:76:25: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
 75 |     open func rotateByAngle(_ angle: CGFloat)
 76 |     @MainActor 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/Demos/Metal/Renderer.swift:40:50: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated autoclosure; this is an error in the Swift 6 language mode
 38 | extension Renderer: MTKViewDelegate {
 39 |     func draw(in view: MTKView) {
 40 |         guard view.bounds.size.width > 0 && view.bounds.size.height > 0 else {
    |                                                  `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated autoclosure; this is an error in the Swift 6 language mode
 41 |             return
 42 |         }
AppKit.NSView:76:25: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
 75 |     open func rotateByAngle(_ angle: CGFloat)
 76 |     @MainActor 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/Demos/Metal/Renderer.swift:46:51: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 44 |             let io = ImGuiGetIO()!
 45 |
 46 |             io.pointee.DisplaySize.x = Float(view.bounds.size.width)
    |                                                   `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 47 |             io.pointee.DisplaySize.y = Float(view.bounds.size.height)
 48 |
AppKit.NSView:76:25: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
 75 |     open func rotateByAngle(_ angle: CGFloat)
 76 |     @MainActor 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/Demos/Metal/Renderer.swift:47:51: warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 45 |
 46 |             io.pointee.DisplaySize.x = Float(view.bounds.size.width)
 47 |             io.pointee.DisplaySize.y = Float(view.bounds.size.height)
    |                                                   `- warning: main actor-isolated property 'bounds' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 48 |
 49 |             let frameBufferScale = Float(view.window?.screen?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
AppKit.NSView:76:25: note: property declared here
 74 |     @available(swift, obsoleted: 3, renamed: "rotate(byDegrees:)")
 75 |     open func rotateByAngle(_ angle: CGFloat)
 76 |     @MainActor 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/Demos/Metal/Renderer.swift:49:55: warning: main actor-isolated property 'screen' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 47 |             io.pointee.DisplaySize.y = Float(view.bounds.size.height)
 48 |
 49 |             let frameBufferScale = Float(view.window?.screen?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
    |                                                       `- warning: main actor-isolated property 'screen' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 50 |
 51 |             io.pointee.DisplayFramebufferScale = ImVec2(x: frameBufferScale, y: frameBufferScale)
AppKit.NSWindow:247:25: note: property declared here
245 |     open func setDynamicDepthLimit(_ flag: Bool)
246 |     open var hasDynamicDepthLimit: Bool { get }
247 |     @MainActor open var screen: NSScreen? { get }
    |                         `- note: property declared here
248 |     open var deepestScreen: NSScreen? { get }
249 |     open var hasShadow: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:49:47: warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 47 |             io.pointee.DisplaySize.y = Float(view.bounds.size.height)
 48 |
 49 |             let frameBufferScale = Float(view.window?.screen?.backingScaleFactor ?? NSScreen.main!.backingScaleFactor)
    |                                               `- warning: main actor-isolated property 'window' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 50 |
 51 |             io.pointee.DisplayFramebufferScale = ImVec2(x: frameBufferScale, y: frameBufferScale)
AppKit.NSView:4:30: note: property declared here
  2 |     public init(frame frameRect: NSRect)
  3 |     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/Demos/Metal/Renderer.swift:52:53: warning: main actor-isolated property 'preferredFramesPerSecond' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 50 |
 51 |             io.pointee.DisplayFramebufferScale = ImVec2(x: frameBufferScale, y: frameBufferScale)
 52 |             io.pointee.DeltaTime = 1.0 / Float(view.preferredFramesPerSecond)
    |                                                     `- warning: main actor-isolated property 'preferredFramesPerSecond' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 53 |
 54 |
MetalKit.MTKView:26:14: note: property declared here
24 |     open func releaseDrawables()
25 |     open var currentRenderPassDescriptor: MTLRenderPassDescriptor? { get }
26 |     open var preferredFramesPerSecond: Int { get set }
   |              `- note: property declared here
27 |     open var enableSetNeedsDisplay: Bool { get set }
28 |     open var autoResizeDrawable: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:58:51: warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 56 |             let commandBuffer = commandQueue.makeCommandBuffer()!
 57 |
 58 |             guard let renderPassDescriptor = view.currentRenderPassDescriptor else {
    |                                                   `- warning: main actor-isolated property 'currentRenderPassDescriptor' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
 59 |                 return
 60 |             }
MetalKit.MTKView:25:14: note: property declared here
23 |     open var multisampleColorTexture: (any MTLTexture)? { get }
24 |     open func releaseDrawables()
25 |     open var currentRenderPassDescriptor: MTLRenderPassDescriptor? { get }
   |              `- note: property declared here
26 |     open var preferredFramesPerSecond: Int { get set }
27 |     open var enableSetNeedsDisplay: Bool { get set }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Renderer.swift:136:40: warning: main actor-isolated property 'currentDrawable' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
134 |             renderEncoder.popDebugGroup()
135 |             renderEncoder.endEncoding()
136 |             commandBuffer.present(view.currentDrawable!)
    |                                        `- warning: main actor-isolated property 'currentDrawable' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
137 |
138 |             commandBuffer.commit()
MetalKit.MTKView:7:14: note: property declared here
 5 |     weak open var delegate: (any MTKViewDelegate)? { get set }
 6 |     @MainActor open var device: (any MTLDevice)? { get set }
 7 |     open var currentDrawable: (any CAMetalDrawable)? { get }
   |              `- note: property declared here
 8 |     open var framebufferOnly: Bool { get set }
 9 |     @available(macOS 10.15, *)
[46/49] Compiling DemoMetal imgui_impl_metal.swift
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_metal.swift:15:5: warning: var 'g_sharedMetalContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 13 |
 14 | @available(OSX 10.11, *)
 15 | var g_sharedMetalContext: MetalContext = MetalContext()
    |     |- warning: var 'g_sharedMetalContext' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |     |- note: convert '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/Demos/Metal/imgui_impl_metal.swift:429:17: warning: capture of 'self' with non-sendable type 'MetalContext?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
153 | /// font texture, and manages the reusable buffer cache.
154 | @available(OSX 10.11, *)
155 | class MetalContext {
    |       `- note: class 'MetalContext' does not conform to the 'Sendable' protocol
156 |     var depthStencilState: MTLDepthStencilState!
157 |     // framebuffer descriptor for current frame; transient
    :
427 |
428 |             DispatchQueue.main.async { [weak self] in
429 |                 self?.enqueueReusableBuffer(vertexBuffer)
    |                 `- warning: capture of 'self' with non-sendable type 'MetalContext?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
430 |                 self?.enqueueReusableBuffer(indexBuffer)
431 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_metal.swift:429:45: warning: capture of 'vertexBuffer' with non-sendable type 'MetalBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 | // A wrapper around a MTLBuffer object that knows the last time it was reused
 93 | @available(OSX 10.11, *)
 94 | class MetalBuffer {
    |       `- note: class 'MetalBuffer' does not conform to the 'Sendable' protocol
 95 |     let buffer: MTLBuffer
 96 |     var lastReuseTime: TimeInterval
    :
427 |
428 |             DispatchQueue.main.async { [weak self] in
429 |                 self?.enqueueReusableBuffer(vertexBuffer)
    |                                             `- warning: capture of 'vertexBuffer' with non-sendable type 'MetalBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
430 |                 self?.enqueueReusableBuffer(indexBuffer)
431 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_metal.swift:430:45: warning: capture of 'indexBuffer' with non-sendable type 'MetalBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 92 | // A wrapper around a MTLBuffer object that knows the last time it was reused
 93 | @available(OSX 10.11, *)
 94 | class MetalBuffer {
    |       `- note: class 'MetalBuffer' does not conform to the 'Sendable' protocol
 95 |     let buffer: MTLBuffer
 96 |     var lastReuseTime: TimeInterval
    :
428 |             DispatchQueue.main.async { [weak self] in
429 |                 self?.enqueueReusableBuffer(vertexBuffer)
430 |                 self?.enqueueReusableBuffer(indexBuffer)
    |                                             `- warning: capture of 'indexBuffer' with non-sendable type 'MetalBuffer' in a `@Sendable` closure; this is an error in the Swift 6 language mode
431 |             }
432 |         }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/Shaders.swift:9:16: warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | enum Shaders {
 9 |     static var `default`: String = """
   |                |- warning: static property 'default' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert '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/Demos/Metal/imgui_impl_metal.swift:429:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
427 |
428 |             DispatchQueue.main.async { [weak self] in
429 |                 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
430 |                 self?.enqueueReusableBuffer(indexBuffer)
431 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_metal.swift:429:45: warning: sending 'vertexBuffer' risks causing data races; this is an error in the Swift 6 language mode
427 |
428 |             DispatchQueue.main.async { [weak self] in
429 |                 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
430 |                 self?.enqueueReusableBuffer(indexBuffer)
431 |             }
/Users/admin/builder/spi-builder-workspace/Sources/Demos/Metal/imgui_impl_metal.swift:430:45: warning: sending 'indexBuffer' risks causing data races; this is an error in the Swift 6 language mode
428 |             DispatchQueue.main.async { [weak self] in
429 |                 self?.enqueueReusableBuffer(vertexBuffer)
430 |                 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
431 |             }
432 |         }
[46/49] Write Objects.LinkFileList
[47/49] Linking DemoMetal-macOS
[48/49] Applying DemoMetal-macOS
Build complete! (21.98s)
Build complete.
{
  "c_language_standard" : "c11",
  "cxx_language_standard" : "c++11",
  "dependencies" : [
  ],
  "manifest_display_name" : "ImGui",
  "name" : "ImGui",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "ImGui",
      "targets" : [
        "ImGui"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "DemoMinimal",
      "targets" : [
        "DemoMinimal"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "DemoMetal-macOS",
      "targets" : [
        "DemoMetal"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "AutoWrapper",
      "targets" : [
        "AutoWrapper"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ImGuiTests",
      "module_type" : "SwiftTarget",
      "name" : "ImGuiTests",
      "path" : "Tests/ImGuiTests",
      "sources" : [
        "ImGuiTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "ImGui"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ImGui",
      "module_type" : "SwiftTarget",
      "name" : "ImGui",
      "path" : "Sources/ImGui",
      "product_memberships" : [
        "ImGui",
        "DemoMinimal",
        "DemoMetal-macOS"
      ],
      "sources" : [
        "Export.swift",
        "Helper.swift",
        "ImGui+Definitions.swift",
        "ImVec+Extensions.swift"
      ],
      "target_dependencies" : [
        "CImGui"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DemoMinimal",
      "module_type" : "SwiftTarget",
      "name" : "DemoMinimal",
      "path" : "Sources/Demos/Minimal",
      "product_memberships" : [
        "DemoMinimal"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "ImGui"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DemoMetal",
      "module_type" : "SwiftTarget",
      "name" : "DemoMetal",
      "path" : "Sources/Demos/Metal",
      "product_memberships" : [
        "DemoMetal-macOS"
      ],
      "sources" : [
        "AppDelegate.swift",
        "Renderer.swift",
        "Shaders.swift",
        "ViewController.swift",
        "imgui_impl_metal.swift",
        "imgui_impl_osx.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "ImGui"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CImGui",
      "module_type" : "ClangTarget",
      "name" : "CImGui",
      "path" : "Sources/CImGui",
      "product_memberships" : [
        "ImGui",
        "DemoMinimal",
        "DemoMetal-macOS"
      ],
      "sources" : [
        "cimgui.cpp",
        "imgui/imgui.cpp",
        "imgui/imgui_demo.cpp",
        "imgui/imgui_draw.cpp",
        "imgui/imgui_tables.cpp",
        "imgui/imgui_widgets.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "AutoWrapper",
      "module_type" : "SwiftTarget",
      "name" : "AutoWrapper",
      "path" : "Sources/AutoWrapper",
      "product_memberships" : [
        "AutoWrapper"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/AutoWrapper/Assets/definitions.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "ArgT.swift",
        "Converter.swift",
        "DataType.swift",
        "Definitions.swift",
        "Exceptions.swift",
        "FunctionBodyRenderer.swift",
        "SwiftKeywords.swift",
        "main.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.