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, reference master (dbf41b), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 10:54:37 UTC.

Swift 6 data race errors: 13

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

========================================
RunAll
========================================
Builder version: 4.58.1
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftimgui",
      "name": "ImGui",
      "url": "https://github.com/forkercat/SwiftImGui.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftImGui",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/forkercat/SwiftImGui.git
[1/1614] Fetching swiftimgui
Fetched https://github.com/forkercat/SwiftImGui.git from cache (1.40s)
Creating working copy for https://github.com/forkercat/SwiftImGui.git
Working copy of https://github.com/forkercat/SwiftImGui.git resolved at master (dbf41bd)
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/forkercat/SwiftImGui.git
{
  "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"
}
Running build ...
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
Building for debugging...
[0/24] Write sources
[2/24] Write DemoMinimal-entitlement.plist
[3/24] Write sources
[4/24] Write DemoMetal-macOS-entitlement.plist
[5/24] Copying definitions.json
[6/24] Write sources
[7/24] Write AutoWrapper-entitlement.plist
[8/24] Write swift-version--7754E27361AE5C74.txt
[9/34] Compiling imgui_demo.cpp
[10/34] Compiling CImGui cimgui.cpp
[10/34] Compiling imgui_tables.cpp
[12/34] Compiling imgui_draw.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 Export.swift
[18/39] Compiling ImGui Helper.swift
[19/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 &&
[20/39] Compiling ImGui ImGui+Definitions.swift
[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 SwiftKeywords.swift
[27/49] Compiling AutoWrapper resource_bundle_accessor.swift
[28/49] Compiling AutoWrapper FunctionBodyRenderer.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 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 |
[31/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
[32/49] Compiling AutoWrapper Converter.swift
[33/49] Compiling AutoWrapper ArgT.swift
[34/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
[35/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
[35/49] Write Objects.LinkFileList
[36/49] Linking AutoWrapper
[37/49] Applying AutoWrapper
[39/49] Compiling DemoMetal ViewController.swift
[40/49] Compiling DemoMetal main.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 nonisolated 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 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
 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 nonisolated 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 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
 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 nonisolated 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 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
 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated context; this is an error in the Swift 6 language mode
 89 |     io.DisplayFramebufferScale = ImVec2(x: dpi, y: dpi)
 90 |
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/Demos/Metal/imgui_impl_osx.swift:88: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
 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 nonisolated 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 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 |
    :
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 nonisolated 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 nonisolated 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 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;
[43/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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 }
[44/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) {
[45/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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 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/Demos/Metal/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: MetalContext = MetalContext()
    |     |- 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/Demos/Metal/imgui_impl_osx.swift:11:5: 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
  9 | import AppKit
 10 |
 11 | var g_Time: CFAbsoluteTime = 0.0
    |     |- 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
 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 nonisolated 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 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
 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 nonisolated 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 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
 15 |
 16 | func ImGui_ImplOSX_Init() {
[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 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: MetalContext = MetalContext()
    |     |- 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/Demos/Metal/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 Shaders {
 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/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! (13.12s)
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.