Build Information
Successful build of ImGui, reference master (dbf41b
), with Swift 6.1 for macOS (SPM) on 28 Apr 2025 05:19:12 UTC.
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.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
========================================
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.1
Building package at path: $PWD
https://github.com/forkercat/SwiftImGui.git
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.3.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 DemoMinimal-entitlement.plist
[1/24] Write DemoMetal-macOS-entitlement.plist
[2/24] Write AutoWrapper-entitlement.plist
[2/24] Copying definitions.json
[4/24] Write sources
[8/24] Write swift-version-2F0A5646E1D333AE.txt
[9/34] Compiling imgui_tables.cpp
[10/34] Compiling CImGui cimgui.cpp
[11/34] Compiling imgui_demo.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 Helper.swift
[18/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 &&
[19/39] Compiling ImGui Export.swift
[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 resource_bundle_accessor.swift
[27/49] Compiling AutoWrapper FunctionBodyRenderer.swift
[28/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: add '@MainActor' to make static property 'undeclardTypes' part of global actor 'MainActor'
| `- 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
[29/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 |
[30/49] Compiling AutoWrapper Converter.swift
[31/49] Compiling AutoWrapper SwiftKeywords.swift
[32/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: add '@MainActor' to make static property 'undeclardTypes' part of global actor 'MainActor'
| `- 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
[33/49] Compiling AutoWrapper ArgT.swift
[34/49] Compiling AutoWrapper main.swift
[35/49] Compiling AutoWrapper DataType.swift
[35/49] Write Objects.LinkFileList
[36/49] Linking AutoWrapper
[37/49] Applying AutoWrapper
[39/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: add '@MainActor' to make var 'show_demo_window' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'show_another_window' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'clear_color' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'f' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'counter' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #include <metal_stdlib>
11 | using namespace metal;
/Users/admin/builder/spi-builder-workspace/Sources/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: add '@MainActor' to make var 'g_sharedMetalContext' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | @available(OSX 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/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: add '@MainActor' to make var 'g_Time' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make var 'g_MouseCursors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make var 'g_MouseCursorHidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | func ImGui_ImplOSX_Init() {
[40/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: add '@MainActor' to make var 'show_demo_window' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'show_another_window' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'clear_color' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'f' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'counter' part of global actor 'MainActor'
| `- 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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/MetalKit.framework/Headers/MTKView.h:52:56: note: property declared here
50 | @discussion This must be explicitly set by the application unless it was passed into the initializer. Defaults to nil
51 | */
52 | @property (nonatomic, retain, nullable) id <MTLDevice> device;
| `- note: property declared here
53 |
54 | /*!
[41/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) {
[42/49] Compiling DemoMetal main.swift
[43/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: add '@MainActor' to make var 'g_Time' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make var 'g_MouseCursors' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: add '@MainActor' to make var 'g_MouseCursorHidden' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/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)
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
/Users/admin/builder/spi-builder-workspace/Sources/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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:488:30: note: property declared here
486 |
487 | /// Returns the scale factor representing the number of backing store pixels corresponding to each linear unit in window space on this \c NSWindow. This method is provided for rare cases when the explicit scale factor is needed. Please use `-convert*ToBacking:` methods whenever possible.
488 | @property (readonly) CGFloat backingScaleFactor API_AVAILABLE(macos(10.7));
| `- note: property declared here
489 |
490 | - (void)performClose:(nullable id)sender;
/Users/admin/builder/spi-builder-workspace/Sources/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 |
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:86:61: note: property declared here
84 | - (nullable instancetype)initWithCoder:(NSCoder *)coder NS_DESIGNATED_INITIALIZER;
85 |
86 | @property (nullable, readonly, unsafe_unretained) NSWindow *window;
| `- note: property declared here
87 | @property (nullable, readonly, unsafe_unretained) NSView *superview;
88 | @property (copy) NSArray<__kindof NSView *> *subviews;
/Users/admin/builder/spi-builder-workspace/Sources/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.convert:2:22: note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
1 | class NSView {
2 | @MainActor open func convert(_ point: NSPoint, from view: NSView?) -> NSPoint}
| |- note: calls to instance method 'convert(_:from:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from inheritance from class 'NSResponder'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/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 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSView.h:139:18: note: property declared here
137 | - (void)scaleUnitSquareToSize:(NSSize)newUnitSize;
138 | - (void)rotateByAngle:(CGFloat)angle;
139 | @property NSRect bounds;
| `- note: property declared here
140 |
141 | @property (getter=isFlipped, readonly) BOOL flipped;
[44/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | #include <metal_stdlib>
11 | using namespace metal;
[45/49] Compiling DemoMetal ViewController.swift
[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: add '@MainActor' to make var 'g_sharedMetalContext' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | @available(OSX 10.11, *)
/Users/admin/builder/spi-builder-workspace/Sources/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! (7.45s)
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.