Build Information
Successful build of GateEngine with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 117
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
117 | let fsh = FragmentShader()
118 | fsh.output.color = fsh.channel(0).color
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:123:23: warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
121 | /// Uses the colors in the vertices to shade objects
122 | /// Intended to be paired with `VertexShader.vertexColors`
123 | public static let vertexColor: FragmentShader = {
| |- warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertexColor' 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
124 | let fsh = FragmentShader()
125 | fsh.output.color = fsh.input["color"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:129:23: warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 | /// Uses material.channel(0).texture to shade objects
129 | public static let textureSampleTintColor: FragmentShader = {
| |- warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleTintColor' 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
130 | let fsh = FragmentShader()
131 | let sample = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:141:16: warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
139 | /// Intended to be used with `VertexShader.morph`
140 | @usableFromInline
141 | static let morphTextureSample: FragmentShader = {
| |- warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'morphTextureSample' 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
142 | let fsh = FragmentShader()
143 | let factor: Scalar = fsh.uniforms["factor"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:36:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Button.swift:16:27: warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let pressed = Event(rawValue: 1 << 0)
| |- warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pressed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Control.swift:16:27: warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let changed = Event(rawValue: 1 << 0)
| |- warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'changed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/GameViewController.swift:120:24: warning: value 'window' was defined but never used; consider replacing with boolean test
118 | _renderTarget = nil
119 | if let pendingBackgroundColor {
120 | if let window {
| `- warning: value 'window' was defined but never used; consider replacing with boolean test
121 | self.backgroundColor = pendingBackgroundColor
122 | self.pendingBackgroundColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:507:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
508 |
509 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:501:27: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' 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
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:502:27: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' 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
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:503:27: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' 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
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:504:27: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' 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
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:505:27: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'top' 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
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:506:27: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottom' 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
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
508 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:25:23: warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
23 |
24 | /// Allows the user to manually close the window. The main window is always closable and this option is ignored.
25 | public static let userClosable = WindowOptions(rawValue: 1 << 1)
| |- warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userClosable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:28:23: warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
28 | public static let forceFullScreen = WindowOptions(rawValue: 1 << 2)
| |- warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forceFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:31:23: warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
31 | public static let firstLaunchFullScreen = WindowOptions(rawValue: 1 << 3)
| |- warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstLaunchFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// The recommended window options for the main window
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:34:25: warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
32 |
33 | /// The recommended window options for the main window
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
| |- warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultForMainWindow' 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
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
[732/734] Compiling GateEngine ViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:568:24: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
565 | }
566 |
567 | extension View: Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
568 | public static func ==(lhs: View, rhs: View) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
569 | return lhs === rhs
570 | }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:378:23: warning: static property 'depthFailDiscard' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
376 |
377 | /// Discards the texel if the destination depth is greater then or equal to the target depth
378 | public static let depthFailDiscard = Self(rawValue: 1 << 1)
| |- warning: static property 'depthFailDiscard' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'depthFailDiscard' 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
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:380:23: warning: static property 'flipHorizontal' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
:
378 | public static let depthFailDiscard = Self(rawValue: 1 << 1)
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
| |- warning: static property 'flipHorizontal' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flipHorizontal' 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
381 | public static let flipVertical = Self(rawValue: 1 << 3)
382 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:381:23: warning: static property 'flipVertical' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
:
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
381 | public static let flipVertical = Self(rawValue: 1 << 3)
| |- warning: static property 'flipVertical' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flipVertical' 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
382 |
383 | public init(rawValue: RawValue) {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/Game.swift:40:27: warning: static property 'renderingIsPermitted' is not concurrency-safe because non-'Sendable' type 'Game.Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
35 | public let rawValue: UInt
36 | public init(rawValue: UInt) {
:
38 | }
39 |
40 | public static let renderingIsPermitted = Self(rawValue: 1 << 2)
| |- warning: static property 'renderingIsPermitted' is not concurrency-safe because non-'Sendable' type 'Game.Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'renderingIsPermitted' 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
41 | }
42 | @MainActor public internal(set) var attributes: Attributes = []
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:239:36: warning: cast from 'any Drawable' to unrelated type 'RenderTargetFillContainer' always fails
237 | case let canvas as Canvas:
238 | drawCanvas(canvas, clipRect: nil, stencil: nil)
239 | case let container as RenderTargetFillContainer:
| `- warning: cast from 'any Drawable' to unrelated type 'RenderTargetFillContainer' always fails
240 | drawRenderTarget(container, frame: frame, clipRect: nil, stencil: nil)
241 | default:
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/Renderer.swift:36:48: warning: main actor-isolated property '_backend' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
32 |
33 | @MainActor public final class Renderer {
34 | let _backend: any RendererBackend = getDefaultBackend()
| `- note: property declared here
35 | @inline(__always)
36 | nonisolated public var api: RenderingAPI { _backend.renderingAPI }
| `- warning: main actor-isolated property '_backend' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
37 |
38 | func draw(
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:79:23: warning: static property 'textureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
77 | extension FragmentShader {
78 | /// Uses material.channel(0).texture to shade objects
79 | public static let textureSample: FragmentShader = {
| `- warning: static property 'textureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
80 | let fsh = FragmentShader()
81 | fsh.output.color = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Shaders'
6 | */
7 |
8 | import Shaders
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Shaders'
9 |
10 | extension VertexShader {
:
77 | extension FragmentShader {
78 | /// Uses material.channel(0).texture to shade objects
79 | public static let textureSample: FragmentShader = {
| |- note: annotate 'textureSample' 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
80 | let fsh = FragmentShader()
81 | fsh.output.color = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:11:23: warning: static property 'positionOnly' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension VertexShader {
11 | public static let positionOnly: VertexShader = {
| |- warning: static property 'positionOnly' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positionOnly' 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 | let vsh = VertexShader()
13 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:17:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
15 | return vsh
16 | }()
17 | public static let standard: VertexShader = {
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
18 | let vsh = VertexShader()
19 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:28:23: warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// Uses the colors in the vertices to shade objects
27 | /// Intended to be paired with `FragmentShader.vertexColors`
28 | public static let vertexColors: VertexShader = {
| |- warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertexColors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | let vsh = VertexShader()
30 | let mvp = vsh.modelViewProjectionMatrix
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:37:23: warning: static property 'skinned' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | public static let skinned: VertexShader = {
| |- warning: static property 'skinned' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skinned' 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
38 | let vsh = VertexShader()
39 | let bones = vsh.uniforms.value(named: "bones", as: Mat4Array.self, arrayCapacity: 64)
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:54:23: warning: static property 'pointSizeAndColor' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Used by the system to draw point primitives
54 | public static let pointSizeAndColor: VertexShader = {
| |- warning: static property 'pointSizeAndColor' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointSizeAndColor' 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
55 | let vsh = VertexShader()
56 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:64:23: warning: static property 'morph' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Handles 2 geometries, intended for use with FragmentShader.morphTextureSample
64 | public static let morph: VertexShader = {
| |- warning: static property 'morph' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'morph' 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
65 | let vsh = VertexShader()
66 | let factor: Scalar = vsh.uniforms["factor"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:87:23: warning: static property 'textureSampleDiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
85 | }()
86 | /// Uses material.channel(0).texture to shade objects
87 | public static let textureSampleDiscardZeroAlpha: FragmentShader = {
| |- warning: static property 'textureSampleDiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleDiscardZeroAlpha' 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
88 | let fsh = FragmentShader()
89 | let sample = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:96:23: warning: static property 'textureSampleOpacity' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
94 | }()
95 | /// Uses material.channel(0).texture to shade objects
96 | public static let textureSampleOpacity: FragmentShader = {
| |- warning: static property 'textureSampleOpacity' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleOpacity' 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
97 | let fsh = FragmentShader()
98 | let opacity: Scalar = fsh.uniforms["opacity"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:105:23: warning: static property 'textureSampleTintColorOpacity_DiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
103 | }()
104 | /// Uses material.channel(0).texture to shade objects
105 | public static let textureSampleTintColorOpacity_DiscardZeroAlpha: FragmentShader = {
| |- warning: static property 'textureSampleTintColorOpacity_DiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleTintColorOpacity_DiscardZeroAlpha' 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
106 | let fsh = FragmentShader()
107 | let opacity: Scalar = fsh.uniforms["opacity"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:116:23: warning: static property 'materialColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }()
115 | /// Uses material.channel(0).color to shade objects
116 | public static let materialColor: FragmentShader = {
| |- warning: static property 'materialColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'materialColor' 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
117 | let fsh = FragmentShader()
118 | fsh.output.color = fsh.channel(0).color
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:123:23: warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
121 | /// Uses the colors in the vertices to shade objects
122 | /// Intended to be paired with `VertexShader.vertexColors`
123 | public static let vertexColor: FragmentShader = {
| |- warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertexColor' 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
124 | let fsh = FragmentShader()
125 | fsh.output.color = fsh.input["color"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:129:23: warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 | /// Uses material.channel(0).texture to shade objects
129 | public static let textureSampleTintColor: FragmentShader = {
| |- warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleTintColor' 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
130 | let fsh = FragmentShader()
131 | let sample = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:141:16: warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
139 | /// Intended to be used with `VertexShader.morph`
140 | @usableFromInline
141 | static let morphTextureSample: FragmentShader = {
| |- warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'morphTextureSample' 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
142 | let fsh = FragmentShader()
143 | let factor: Scalar = fsh.uniforms["factor"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:36:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Button.swift:16:27: warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let pressed = Event(rawValue: 1 << 0)
| |- warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pressed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Control.swift:16:27: warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let changed = Event(rawValue: 1 << 0)
| |- warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'changed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/GameViewController.swift:120:24: warning: value 'window' was defined but never used; consider replacing with boolean test
118 | _renderTarget = nil
119 | if let pendingBackgroundColor {
120 | if let window {
| `- warning: value 'window' was defined but never used; consider replacing with boolean test
121 | self.backgroundColor = pendingBackgroundColor
122 | self.pendingBackgroundColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:507:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
508 |
509 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:501:27: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' 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
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:502:27: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' 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
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:503:27: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' 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
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:504:27: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' 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
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:505:27: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'top' 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
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:506:27: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottom' 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
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
508 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:25:23: warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
23 |
24 | /// Allows the user to manually close the window. The main window is always closable and this option is ignored.
25 | public static let userClosable = WindowOptions(rawValue: 1 << 1)
| |- warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userClosable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:28:23: warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
28 | public static let forceFullScreen = WindowOptions(rawValue: 1 << 2)
| |- warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forceFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:31:23: warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
31 | public static let firstLaunchFullScreen = WindowOptions(rawValue: 1 << 3)
| |- warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstLaunchFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// The recommended window options for the main window
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:34:25: warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
32 |
33 | /// The recommended window options for the main window
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
| |- warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultForMainWindow' 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
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
[733/734] Compiling GateEngine Window.swift
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:568:24: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
565 | }
566 |
567 | extension View: Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
568 | public static func ==(lhs: View, rhs: View) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
569 | return lhs === rhs
570 | }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:378:23: warning: static property 'depthFailDiscard' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
376 |
377 | /// Discards the texel if the destination depth is greater then or equal to the target depth
378 | public static let depthFailDiscard = Self(rawValue: 1 << 1)
| |- warning: static property 'depthFailDiscard' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'depthFailDiscard' 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
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:380:23: warning: static property 'flipHorizontal' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
:
378 | public static let depthFailDiscard = Self(rawValue: 1 << 1)
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
| |- warning: static property 'flipHorizontal' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flipHorizontal' 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
381 | public static let flipVertical = Self(rawValue: 1 << 3)
382 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:381:23: warning: static property 'flipVertical' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
:
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
381 | public static let flipVertical = Self(rawValue: 1 << 3)
| |- warning: static property 'flipVertical' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flipVertical' 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
382 |
383 | public init(rawValue: RawValue) {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/Game.swift:40:27: warning: static property 'renderingIsPermitted' is not concurrency-safe because non-'Sendable' type 'Game.Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
35 | public let rawValue: UInt
36 | public init(rawValue: UInt) {
:
38 | }
39 |
40 | public static let renderingIsPermitted = Self(rawValue: 1 << 2)
| |- warning: static property 'renderingIsPermitted' is not concurrency-safe because non-'Sendable' type 'Game.Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'renderingIsPermitted' 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
41 | }
42 | @MainActor public internal(set) var attributes: Attributes = []
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:239:36: warning: cast from 'any Drawable' to unrelated type 'RenderTargetFillContainer' always fails
237 | case let canvas as Canvas:
238 | drawCanvas(canvas, clipRect: nil, stencil: nil)
239 | case let container as RenderTargetFillContainer:
| `- warning: cast from 'any Drawable' to unrelated type 'RenderTargetFillContainer' always fails
240 | drawRenderTarget(container, frame: frame, clipRect: nil, stencil: nil)
241 | default:
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/Renderer.swift:36:48: warning: main actor-isolated property '_backend' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
32 |
33 | @MainActor public final class Renderer {
34 | let _backend: any RendererBackend = getDefaultBackend()
| `- note: property declared here
35 | @inline(__always)
36 | nonisolated public var api: RenderingAPI { _backend.renderingAPI }
| `- warning: main actor-isolated property '_backend' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
37 |
38 | func draw(
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:79:23: warning: static property 'textureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
77 | extension FragmentShader {
78 | /// Uses material.channel(0).texture to shade objects
79 | public static let textureSample: FragmentShader = {
| `- warning: static property 'textureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
80 | let fsh = FragmentShader()
81 | fsh.output.color = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Shaders'
6 | */
7 |
8 | import Shaders
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Shaders'
9 |
10 | extension VertexShader {
:
77 | extension FragmentShader {
78 | /// Uses material.channel(0).texture to shade objects
79 | public static let textureSample: FragmentShader = {
| |- note: annotate 'textureSample' 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
80 | let fsh = FragmentShader()
81 | fsh.output.color = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:11:23: warning: static property 'positionOnly' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension VertexShader {
11 | public static let positionOnly: VertexShader = {
| |- warning: static property 'positionOnly' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positionOnly' 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 | let vsh = VertexShader()
13 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:17:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
15 | return vsh
16 | }()
17 | public static let standard: VertexShader = {
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
18 | let vsh = VertexShader()
19 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:28:23: warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// Uses the colors in the vertices to shade objects
27 | /// Intended to be paired with `FragmentShader.vertexColors`
28 | public static let vertexColors: VertexShader = {
| |- warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertexColors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | let vsh = VertexShader()
30 | let mvp = vsh.modelViewProjectionMatrix
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:37:23: warning: static property 'skinned' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | public static let skinned: VertexShader = {
| |- warning: static property 'skinned' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skinned' 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
38 | let vsh = VertexShader()
39 | let bones = vsh.uniforms.value(named: "bones", as: Mat4Array.self, arrayCapacity: 64)
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:54:23: warning: static property 'pointSizeAndColor' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Used by the system to draw point primitives
54 | public static let pointSizeAndColor: VertexShader = {
| |- warning: static property 'pointSizeAndColor' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointSizeAndColor' 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
55 | let vsh = VertexShader()
56 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:64:23: warning: static property 'morph' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Handles 2 geometries, intended for use with FragmentShader.morphTextureSample
64 | public static let morph: VertexShader = {
| |- warning: static property 'morph' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'morph' 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
65 | let vsh = VertexShader()
66 | let factor: Scalar = vsh.uniforms["factor"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:87:23: warning: static property 'textureSampleDiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
85 | }()
86 | /// Uses material.channel(0).texture to shade objects
87 | public static let textureSampleDiscardZeroAlpha: FragmentShader = {
| |- warning: static property 'textureSampleDiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleDiscardZeroAlpha' 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
88 | let fsh = FragmentShader()
89 | let sample = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:96:23: warning: static property 'textureSampleOpacity' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
94 | }()
95 | /// Uses material.channel(0).texture to shade objects
96 | public static let textureSampleOpacity: FragmentShader = {
| |- warning: static property 'textureSampleOpacity' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleOpacity' 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
97 | let fsh = FragmentShader()
98 | let opacity: Scalar = fsh.uniforms["opacity"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:105:23: warning: static property 'textureSampleTintColorOpacity_DiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
103 | }()
104 | /// Uses material.channel(0).texture to shade objects
105 | public static let textureSampleTintColorOpacity_DiscardZeroAlpha: FragmentShader = {
| |- warning: static property 'textureSampleTintColorOpacity_DiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleTintColorOpacity_DiscardZeroAlpha' 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
106 | let fsh = FragmentShader()
107 | let opacity: Scalar = fsh.uniforms["opacity"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:116:23: warning: static property 'materialColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }()
115 | /// Uses material.channel(0).color to shade objects
116 | public static let materialColor: FragmentShader = {
| |- warning: static property 'materialColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'materialColor' 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
117 | let fsh = FragmentShader()
118 | fsh.output.color = fsh.channel(0).color
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:123:23: warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
121 | /// Uses the colors in the vertices to shade objects
122 | /// Intended to be paired with `VertexShader.vertexColors`
123 | public static let vertexColor: FragmentShader = {
| |- warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertexColor' 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
124 | let fsh = FragmentShader()
125 | fsh.output.color = fsh.input["color"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:129:23: warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 | /// Uses material.channel(0).texture to shade objects
129 | public static let textureSampleTintColor: FragmentShader = {
| |- warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleTintColor' 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
130 | let fsh = FragmentShader()
131 | let sample = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:141:16: warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
139 | /// Intended to be used with `VertexShader.morph`
140 | @usableFromInline
141 | static let morphTextureSample: FragmentShader = {
| |- warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'morphTextureSample' 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
142 | let fsh = FragmentShader()
143 | let factor: Scalar = fsh.uniforms["factor"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:36:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Button.swift:16:27: warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let pressed = Event(rawValue: 1 << 0)
| |- warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pressed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Control.swift:16:27: warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let changed = Event(rawValue: 1 << 0)
| |- warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'changed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/GameViewController.swift:120:24: warning: value 'window' was defined but never used; consider replacing with boolean test
118 | _renderTarget = nil
119 | if let pendingBackgroundColor {
120 | if let window {
| `- warning: value 'window' was defined but never used; consider replacing with boolean test
121 | self.backgroundColor = pendingBackgroundColor
122 | self.pendingBackgroundColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:507:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
508 |
509 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:501:27: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' 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
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:502:27: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' 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
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:503:27: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' 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
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:504:27: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' 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
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:505:27: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'top' 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
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:506:27: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottom' 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
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
508 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:25:23: warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
23 |
24 | /// Allows the user to manually close the window. The main window is always closable and this option is ignored.
25 | public static let userClosable = WindowOptions(rawValue: 1 << 1)
| |- warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userClosable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:28:23: warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
28 | public static let forceFullScreen = WindowOptions(rawValue: 1 << 2)
| |- warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forceFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:31:23: warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
31 | public static let firstLaunchFullScreen = WindowOptions(rawValue: 1 << 3)
| |- warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstLaunchFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// The recommended window options for the main window
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:34:25: warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
32 |
33 | /// The recommended window options for the main window
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
| |- warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultForMainWindow' 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
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
[734/734] Compiling GateEngine resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:568:24: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
565 | }
566 |
567 | extension View: Equatable {
| `- note: add '@preconcurrency' to the 'Equatable' conformance to defer isolation checking to run time
568 | public static func ==(lhs: View, rhs: View) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
569 | return lhs === rhs
570 | }
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:378:23: warning: static property 'depthFailDiscard' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
376 |
377 | /// Discards the texel if the destination depth is greater then or equal to the target depth
378 | public static let depthFailDiscard = Self(rawValue: 1 << 1)
| |- warning: static property 'depthFailDiscard' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'depthFailDiscard' 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
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:380:23: warning: static property 'flipHorizontal' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
:
378 | public static let depthFailDiscard = Self(rawValue: 1 << 1)
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
| |- warning: static property 'flipHorizontal' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flipHorizontal' 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
381 | public static let flipVertical = Self(rawValue: 1 << 3)
382 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:381:23: warning: static property 'flipVertical' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct RenderTargetFillOptions: OptionSet {
| `- note: consider making struct 'RenderTargetFillOptions' conform to the 'Sendable' protocol
374 | public typealias RawValue = Int
375 | public let rawValue: RawValue
:
379 |
380 | public static let flipHorizontal = Self(rawValue: 1 << 2)
381 | public static let flipVertical = Self(rawValue: 1 << 3)
| |- warning: static property 'flipVertical' is not concurrency-safe because non-'Sendable' type 'RenderTargetFillOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'flipVertical' 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
382 |
383 | public init(rawValue: RawValue) {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/Game.swift:40:27: warning: static property 'renderingIsPermitted' is not concurrency-safe because non-'Sendable' type 'Game.Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
32 | }
33 |
34 | public struct Attributes: OptionSet {
| `- note: consider making struct 'Attributes' conform to the 'Sendable' protocol
35 | public let rawValue: UInt
36 | public init(rawValue: UInt) {
:
38 | }
39 |
40 | public static let renderingIsPermitted = Self(rawValue: 1 << 2)
| |- warning: static property 'renderingIsPermitted' is not concurrency-safe because non-'Sendable' type 'Game.Attributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'renderingIsPermitted' 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
41 | }
42 | @MainActor public internal(set) var attributes: Attributes = []
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/RenderTarget.swift:239:36: warning: cast from 'any Drawable' to unrelated type 'RenderTargetFillContainer' always fails
237 | case let canvas as Canvas:
238 | drawCanvas(canvas, clipRect: nil, stencil: nil)
239 | case let container as RenderTargetFillContainer:
| `- warning: cast from 'any Drawable' to unrelated type 'RenderTargetFillContainer' always fails
240 | drawRenderTarget(container, frame: frame, clipRect: nil, stencil: nil)
241 | default:
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/Renderer.swift:36:48: warning: main actor-isolated property '_backend' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
32 |
33 | @MainActor public final class Renderer {
34 | let _backend: any RendererBackend = getDefaultBackend()
| `- note: property declared here
35 | @inline(__always)
36 | nonisolated public var api: RenderingAPI { _backend.renderingAPI }
| `- warning: main actor-isolated property '_backend' can not be referenced from a non-isolated context; this is an error in the Swift 6 language mode
37 |
38 | func draw(
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:79:23: warning: static property 'textureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
77 | extension FragmentShader {
78 | /// Uses material.channel(0).texture to shade objects
79 | public static let textureSample: FragmentShader = {
| `- warning: static property 'textureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
80 | let fsh = FragmentShader()
81 | fsh.output.color = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:8:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Shaders'
6 | */
7 |
8 | import Shaders
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Shaders'
9 |
10 | extension VertexShader {
:
77 | extension FragmentShader {
78 | /// Uses material.channel(0).texture to shade objects
79 | public static let textureSample: FragmentShader = {
| |- note: annotate 'textureSample' 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
80 | let fsh = FragmentShader()
81 | fsh.output.color = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:11:23: warning: static property 'positionOnly' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
9 |
10 | extension VertexShader {
11 | public static let positionOnly: VertexShader = {
| |- warning: static property 'positionOnly' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'positionOnly' 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 | let vsh = VertexShader()
13 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:17:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
15 | return vsh
16 | }()
17 | public static let standard: VertexShader = {
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'standard' 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
18 | let vsh = VertexShader()
19 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:28:23: warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
26 | /// Uses the colors in the vertices to shade objects
27 | /// Intended to be paired with `FragmentShader.vertexColors`
28 | public static let vertexColors: VertexShader = {
| |- warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertexColors' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | let vsh = VertexShader()
30 | let mvp = vsh.modelViewProjectionMatrix
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:37:23: warning: static property 'skinned' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }()
36 |
37 | public static let skinned: VertexShader = {
| |- warning: static property 'skinned' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'skinned' 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
38 | let vsh = VertexShader()
39 | let bones = vsh.uniforms.value(named: "bones", as: Mat4Array.self, arrayCapacity: 64)
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:54:23: warning: static property 'pointSizeAndColor' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | /// Used by the system to draw point primitives
54 | public static let pointSizeAndColor: VertexShader = {
| |- warning: static property 'pointSizeAndColor' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pointSizeAndColor' 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
55 | let vsh = VertexShader()
56 | vsh.output.position =
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:64:23: warning: static property 'morph' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Handles 2 geometries, intended for use with FragmentShader.morphTextureSample
64 | public static let morph: VertexShader = {
| |- warning: static property 'morph' is not concurrency-safe because non-'Sendable' type 'VertexShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'morph' 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
65 | let vsh = VertexShader()
66 | let factor: Scalar = vsh.uniforms["factor"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/VertexShader.swift:10:20: note: class 'VertexShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class VertexShader: ShaderDocument {
| `- note: class 'VertexShader' does not conform to the 'Sendable' protocol
11 | public private(set) lazy var modelMatrix: Mat4 = Mat4(representation: .uniformModelMatrix, type: .float4x4)
12 | public private(set) lazy var viewMatrix: Mat4 = Mat4(representation: .uniformViewMatrix, type: .float4x4)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:87:23: warning: static property 'textureSampleDiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
85 | }()
86 | /// Uses material.channel(0).texture to shade objects
87 | public static let textureSampleDiscardZeroAlpha: FragmentShader = {
| |- warning: static property 'textureSampleDiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleDiscardZeroAlpha' 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
88 | let fsh = FragmentShader()
89 | let sample = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:96:23: warning: static property 'textureSampleOpacity' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
94 | }()
95 | /// Uses material.channel(0).texture to shade objects
96 | public static let textureSampleOpacity: FragmentShader = {
| |- warning: static property 'textureSampleOpacity' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleOpacity' 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
97 | let fsh = FragmentShader()
98 | let opacity: Scalar = fsh.uniforms["opacity"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:105:23: warning: static property 'textureSampleTintColorOpacity_DiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
103 | }()
104 | /// Uses material.channel(0).texture to shade objects
105 | public static let textureSampleTintColorOpacity_DiscardZeroAlpha: FragmentShader = {
| |- warning: static property 'textureSampleTintColorOpacity_DiscardZeroAlpha' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleTintColorOpacity_DiscardZeroAlpha' 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
106 | let fsh = FragmentShader()
107 | let opacity: Scalar = fsh.uniforms["opacity"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:116:23: warning: static property 'materialColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
114 | }()
115 | /// Uses material.channel(0).color to shade objects
116 | public static let materialColor: FragmentShader = {
| |- warning: static property 'materialColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'materialColor' 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
117 | let fsh = FragmentShader()
118 | fsh.output.color = fsh.channel(0).color
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:123:23: warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
121 | /// Uses the colors in the vertices to shade objects
122 | /// Intended to be paired with `VertexShader.vertexColors`
123 | public static let vertexColor: FragmentShader = {
| |- warning: static property 'vertexColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'vertexColor' 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
124 | let fsh = FragmentShader()
125 | fsh.output.color = fsh.input["color"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:129:23: warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
127 | }()
128 | /// Uses material.channel(0).texture to shade objects
129 | public static let textureSampleTintColor: FragmentShader = {
| |- warning: static property 'textureSampleTintColor' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'textureSampleTintColor' 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
130 | let fsh = FragmentShader()
131 | let sample = fsh.channel(0).texture.sample(
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/System/Rendering/SystemShaders.swift:141:16: warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
139 | /// Intended to be used with `VertexShader.morph`
140 | @usableFromInline
141 | static let morphTextureSample: FragmentShader = {
| |- warning: static property 'morphTextureSample' is not concurrency-safe because non-'Sendable' type 'FragmentShader' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'morphTextureSample' 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
142 | let fsh = FragmentShader()
143 | let factor: Scalar = fsh.uniforms["factor"]
/Users/admin/builder/spi-builder-workspace/Sources/Shaders/ShaderDocument/FragmentShader.swift:10:20: note: class 'FragmentShader' does not conform to the 'Sendable' protocol
8 | import GameMath
9 |
10 | public final class FragmentShader: ShaderDocument {
| `- note: class 'FragmentShader' does not conform to the 'Sendable' protocol
11 | var channels: [Channel] = [Channel(channelIndex: 0)]
12 | public func channel(_ index: UInt8) -> Channel {
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:36:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Button.swift:16:27: warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let pressed = Event(rawValue: 1 << 0)
| |- warning: static property 'pressed' is not concurrency-safe because non-'Sendable' type 'Button.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'pressed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Control.swift:16:27: warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct Event: OptionSet, Hashable {
| `- note: consider making struct 'Event' conform to the 'Sendable' protocol
14 | public var rawValue: RawValue
15 |
16 | public static let changed = Event(rawValue: 1 << 0)
| |- warning: static property 'changed' is not concurrency-safe because non-'Sendable' type 'Control.Event' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'changed' 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 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/GameViewController.swift:120:24: warning: value 'window' was defined but never used; consider replacing with boolean test
118 | _renderTarget = nil
119 | if let pendingBackgroundColor {
120 | if let window {
| `- warning: value 'window' was defined but never used; consider replacing with boolean test
121 | self.backgroundColor = pendingBackgroundColor
122 | self.pendingBackgroundColor = nil
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:507:27: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
508 |
509 | public typealias RawValue = UInt
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:501:27: warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
| |- warning: static property 'topLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topLeft' 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
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:502:27: warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
| |- warning: static property 'topRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'topRight' 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
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:503:27: warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
501 | public static let topLeft: CornerMask = CornerMask(rawValue: 1 << 0)
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
| |- warning: static property 'bottomRight' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomRight' 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
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:504:27: warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
502 | public static let topRight: CornerMask = CornerMask(rawValue: 1 << 1)
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
| |- warning: static property 'bottomLeft' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottomLeft' 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
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:505:27: warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
503 | public static let bottomRight: CornerMask = CornerMask(rawValue: 1 << 2)
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
| |- warning: static property 'top' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'top' 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
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/View.swift:506:27: warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
496 |
497 | extension View {
498 | public struct CornerMask: OptionSet {
| `- note: consider making struct 'CornerMask' conform to the 'Sendable' protocol
499 | public var rawValue: UInt
500 |
:
504 | public static let bottomLeft: CornerMask = CornerMask(rawValue: 1 << 3)
505 | public static let top: CornerMask = [.topLeft, .topRight]
506 | public static let bottom: CornerMask = [.bottomLeft, .bottomRight]
| |- warning: static property 'bottom' is not concurrency-safe because non-'Sendable' type 'View.CornerMask' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bottom' 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
507 | public static let all: CornerMask = [.topLeft, .topRight, .bottomLeft, .bottomRight]
508 |
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:25:23: warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
23 |
24 | /// Allows the user to manually close the window. The main window is always closable and this option is ignored.
25 | public static let userClosable = WindowOptions(rawValue: 1 << 1)
| |- warning: static property 'userClosable' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'userClosable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:28:23: warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
26 |
27 | /// When the window is open it will enter full screen \, regardless of the users previous poreference
28 | public static let forceFullScreen = WindowOptions(rawValue: 1 << 2)
| |- warning: static property 'forceFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'forceFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:31:23: warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
29 |
30 | /// The window will be full screen when first opened, but the users preference will be respected on subsequent launches
31 | public static let firstLaunchFullScreen = WindowOptions(rawValue: 1 << 3)
| |- warning: static property 'firstLaunchFullScreen' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'firstLaunchFullScreen' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 |
33 | /// The recommended window options for the main window
/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/UI/Window.swift:34:25: warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
15 | }
16 |
17 | public struct WindowOptions: OptionSet {
| `- note: consider making struct 'WindowOptions' conform to the 'Sendable' protocol
18 | public typealias RawValue = UInt
19 | public var rawValue: RawValue
:
32 |
33 | /// The recommended window options for the main window
34 | internal static let defaultForMainWindow: WindowOptions = [.firstLaunchFullScreen]
| |- warning: static property 'defaultForMainWindow' is not concurrency-safe because non-'Sendable' type 'WindowOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultForMainWindow' 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
35 | /// The recommended window options for windows
36 | public static let `default`: WindowOptions = []
Build complete! (67.14s)
Fetching https://github.com/swiftwasm/WebAPIKit.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/swiftwasm/JavaScriptKit.git
Fetching https://github.com/apple/swift-collections.git
[1/1563] Fetching swift-atomics
[377/15592] Fetching swift-atomics, swift-collections
[378/36066] Fetching swift-atomics, swift-collections, javascriptkit
[675/47750] Fetching swift-atomics, swift-collections, javascriptkit, webapikit
Fetched https://github.com/apple/swift-atomics.git from cache (1.83s)
Fetched https://github.com/swiftwasm/WebAPIKit.git from cache (1.83s)
Fetched https://github.com/swiftwasm/JavaScriptKit.git from cache (1.83s)
Fetched https://github.com/apple/swift-collections.git from cache (1.83s)
Computing version for https://github.com/swiftwasm/WebAPIKit.git
Computed https://github.com/swiftwasm/WebAPIKit.git at 0.1.0 (1.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.1.0 (0.74s)
Computing version for https://github.com/swiftwasm/JavaScriptKit.git
Computed https://github.com/swiftwasm/JavaScriptKit.git at 0.19.2 (0.73s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.0 (0.98s)
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.1.0
Creating working copy for https://github.com/swiftwasm/WebAPIKit.git
Working copy of https://github.com/swiftwasm/WebAPIKit.git resolved at 0.1.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.0
Creating working copy for https://github.com/swiftwasm/JavaScriptKit.git
Working copy of https://github.com/swiftwasm/JavaScriptKit.git resolved at 0.19.2
Build complete.
{
"c_language_standard" : "gnu11",
"cxx_language_standard" : "gnu++14",
"dependencies" : [
{
"identity" : "swift-atomics",
"requirement" : {
"exact" : [
"1.1.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-atomics.git"
},
{
"identity" : "swift-collections",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-collections.git"
},
{
"identity" : "webapikit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftwasm/WebAPIKit.git"
},
{
"identity" : "javascriptkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.16.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftwasm/JavaScriptKit.git"
}
],
"manifest_display_name" : "GateEngine",
"name" : "GateEngine",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "GateEngine",
"targets" : [
"GateEngine"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GameMath",
"targets" : [
"GameMath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "uFBX",
"module_type" : "ClangTarget",
"name" : "uFBX",
"path" : "Dependencies/uFBX",
"product_memberships" : [
"GateEngine"
],
"sources" : [
"src/ufbx.c"
],
"type" : "library"
},
{
"c99name" : "miniz",
"module_type" : "ClangTarget",
"name" : "miniz",
"path" : "Dependencies/miniz",
"product_memberships" : [
"GateEngine"
],
"sources" : [
"src/miniz.c"
],
"type" : "library"
},
{
"c99name" : "Vorbis",
"module_type" : "ClangTarget",
"name" : "Vorbis",
"path" : "Dependencies/Vorbis",
"product_memberships" : [
"GateEngine"
],
"sources" : [
"analysis.c",
"bitrate.c",
"bitwise.c",
"block.c",
"codebook.c",
"envelope.c",
"floor0.c",
"floor1.c",
"framing.c",
"info.c",
"lookup.c",
"lpc.c",
"lsp.c",
"mapping0.c",
"mdct.c",
"psy.c",
"registry.c",
"res0.c",
"sharedbook.c",
"smallft.c",
"synthesis.c",
"vorbisenc.c",
"vorbisfile.c",
"window.c"
],
"type" : "library"
},
{
"c99name" : "TrueType",
"module_type" : "ClangTarget",
"name" : "TrueType",
"path" : "Dependencies/TrueType",
"product_memberships" : [
"GateEngine"
],
"sources" : [
"nothing.c"
],
"type" : "library"
},
{
"c99name" : "Shaders",
"module_type" : "SwiftTarget",
"name" : "Shaders",
"path" : "Sources/Shaders",
"product_dependencies" : [
"Collections"
],
"product_memberships" : [
"GateEngine"
],
"sources" : [
"Generators/CodeGenerator.swift",
"Generators/GLSLCodeGenerator.swift",
"Generators/HLSLCodeGenerator.swift",
"Generators/MSLCodeGenerator.swift",
"ShaderDocument/FragmentShader.swift",
"ShaderDocument/HashGenerator.swift",
"ShaderDocument/ShaderDocument.swift",
"ShaderDocument/Values/Mat3.swift",
"ShaderDocument/Values/Mat4.swift",
"ShaderDocument/Values/Mat4Array.swift",
"ShaderDocument/Values/Operation.swift",
"ShaderDocument/Values/Sampler2D.swift",
"ShaderDocument/Values/Scalar.swift",
"ShaderDocument/Values/ShaderVoid.swift",
"ShaderDocument/Values/UVec4.swift",
"ShaderDocument/Values/Value.swift",
"ShaderDocument/Values/Vec2.swift",
"ShaderDocument/Values/Vec3.swift",
"ShaderDocument/Values/Vec4.swift",
"ShaderDocument/VertexShader.swift",
"ShaderError.swift"
],
"target_dependencies" : [
"GameMath"
],
"type" : "library"
},
{
"c99name" : "OpenGL_GateEngine",
"module_type" : "SwiftTarget",
"name" : "OpenGL_GateEngine",
"path" : "Dependencies/OpenGL/OpenGL_GateEngine",
"product_memberships" : [
"GateEngine"
],
"sources" : [
"OpenGL_GateEngine.swift",
"Platforms/Apple/GLKit.swift",
"Platforms/GLEW/GLEW_Linux.swift",
"Platforms/GLEW/GLEW_Windows.swift",
"Platforms/GLFW/GLFW.swift",
"Platforms/Linux/OpenGLLinux.swift",
"Platforms/Unsupported/Unsupported.swift",
"Platforms/Windows/OpenGLWindows.swift"
],
"type" : "library"
},
{
"c99name" : "LibSPNG",
"module_type" : "ClangTarget",
"name" : "LibSPNG",
"path" : "Dependencies/LibSPNG",
"product_memberships" : [
"GateEngine"
],
"sources" : [
"src/spng.c"
],
"target_dependencies" : [
"miniz"
],
"type" : "library"
},
{
"c99name" : "GravityTests",
"module_type" : "SwiftTarget",
"name" : "GravityTests",
"path" : "Tests/GravityTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GravityTests/Resources/disabled",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GravityTests/Resources/unittest",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GravityTests/Resources/infiniteloop",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GravityTests/Resources/fuzzy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"Unittest/Unittest01SyntaxTests.swift",
"Unittest/Unittest02SemanticStep1Tests.swift",
"Unittest/Unittest03SemanticStep2Tests.swift",
"Unittest/Unittest04CodegenTests.swift",
"_GravityXCTestCase.swift"
],
"target_dependencies" : [
"Gravity",
"GateEngine"
],
"type" : "test"
},
{
"c99name" : "Gravity",
"module_type" : "ClangTarget",
"name" : "Gravity",
"path" : "Dependencies/Gravity",
"product_memberships" : [
"GateEngine"
],
"sources" : [
"src/compiler/gravity_ast.c",
"src/compiler/gravity_codegen.c",
"src/compiler/gravity_compiler.c",
"src/compiler/gravity_ircode.c",
"src/compiler/gravity_lexer.c",
"src/compiler/gravity_optimizer.c",
"src/compiler/gravity_parser.c",
"src/compiler/gravity_semacheck1.c",
"src/compiler/gravity_semacheck2.c",
"src/compiler/gravity_symboltable.c",
"src/compiler/gravity_token.c",
"src/compiler/gravity_visitor.c",
"src/optionals/gravity_opt_env.c",
"src/optionals/gravity_opt_file.c",
"src/optionals/gravity_opt_json.c",
"src/optionals/gravity_opt_math.c",
"src/runtime/gravity_core.c",
"src/runtime/gravity_vm.c",
"src/shared/gravity_hash.c",
"src/shared/gravity_memory.c",
"src/shared/gravity_value.c",
"src/utils/gravity_debug.c",
"src/utils/gravity_json.c",
"src/utils/gravity_utils.c"
],
"type" : "library"
},
{
"c99name" : "GateEngineTests",
"module_type" : "SwiftTarget",
"name" : "GateEngineTests",
"path" : "Tests/GateEngineTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GateEngineTests/Resources",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"FileSystemTests.swift",
"Gravity/GravityCreateValueTests.swift",
"Gravity/GravityErrorTests.swift",
"Gravity/GravityExtendingTests.swift",
"Gravity/GravityIncludesTests.swift",
"Gravity/GravityMultipleInstanceTests.swift",
"_GateEngineXCTestCase.swift"
],
"target_dependencies" : [
"GateEngine"
],
"type" : "test"
},
{
"c99name" : "GateEngine",
"module_type" : "SwiftTarget",
"name" : "GateEngine",
"path" : "Sources/GateEngine",
"product_dependencies" : [
"Atomics",
"Collections",
"JavaScriptEventLoop",
"DOM",
"FileSystem",
"WebAudio",
"Gamepad",
"WebGL2"
],
"product_memberships" : [
"GateEngine"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/GateEngine/Resources/_PackageResources/GateEngine",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ECS/2D Specific/Physics/Collision2DComponent.swift",
"ECS/2D Specific/Physics/Collision2DSystem.swift",
"ECS/2D Specific/Physics/Physics2DComponent.swift",
"ECS/2D Specific/Physics/Physics2DSystem.swift",
"ECS/2D Specific/Physics/QuadtreeComponent.swift",
"ECS/2D Specific/Sprite/SpriteComponent.swift",
"ECS/2D Specific/Sprite/SpriteSystem.swift",
"ECS/2D Specific/TileMap/TileMapComponent.swift",
"ECS/2D Specific/TileMap/TileMapSystem.swift",
"ECS/2D Specific/Transform2Component.swift",
"ECS/3D Specific/Billboard/BillboardComponent.swift",
"ECS/3D Specific/Billboard/BillboardSystem.swift",
"ECS/3D Specific/CameraComponent.swift",
"ECS/3D Specific/MaterialComponent.swift",
"ECS/3D Specific/ObjectAnimation/ObjectAnimation3DComponent.swift",
"ECS/3D Specific/ObjectAnimation/ObjectAnimation3DSystem.swift",
"ECS/3D Specific/Physics/Collision3DComponent.swift",
"ECS/3D Specific/Physics/Collision3DSystem.swift",
"ECS/3D Specific/Physics/OctreeComponent.swift",
"ECS/3D Specific/Physics/Physics3DComponent.swift",
"ECS/3D Specific/Physics/Physics3DSystem.swift",
"ECS/3D Specific/RenderingGeometryComponent.swift",
"ECS/3D Specific/Rig/Rig3DComponent.swift",
"ECS/3D Specific/Rig/Rig3DSystem.swift",
"ECS/3D Specific/Transform3Component.swift",
"ECS/Base/Component.swift",
"ECS/Base/ECSContext.swift",
"ECS/Base/Entity.swift",
"ECS/Base/Performance.swift",
"ECS/Base/PlatformSystem.swift",
"ECS/Base/RenderingSystem.swift",
"ECS/Base/SortOrder.swift",
"ECS/Base/System.swift",
"ECS/FinalizeSimulation/FinalizeSimulationSystem.swift",
"ECS/FinalizeSimulation/MaxQuantityComponent.swift",
"ECS/FinalizeSimulation/ParentRelationshipComponent.swift",
"ECS/FinalizeSimulation/TimedDeathComponent.swift",
"ECS/PerformanceRenderingSystem.swift",
"ECS/PlatformSystems/AudioSystem.swift",
"ECS/PlatformSystems/CacheSystem.swift",
"ECS/PlatformSystems/DeferredDelaySystem.swift",
"ECS/PlatformSystems/HIDSystem.swift",
"ECS/StandardRenderingSystem.swift",
"ECS/StateMachine/StateMachine.swift",
"ECS/StateMachine/StateMachineComponent.swift",
"ECS/StateMachine/StateMachineSystem.swift",
"ECS/TimeScaleComponent.swift",
"Game.swift",
"GameDelegate.swift",
"GateEngine.swift",
"Helpers/IDGenerator.swift",
"Physics/Octree.swift",
"Physics/Quadtree.swift",
"Physics/RawGeometry+Extensions.swift",
"Physics/SkinCollider.swift",
"Resources/Animation/ObjectAnimation3D.swift",
"Resources/Geometry/Geometry.swift",
"Resources/Geometry/Lines.swift",
"Resources/Geometry/MutableGeometry.swift",
"Resources/Geometry/MutableLines.swift",
"Resources/Geometry/MutablePoints.swift",
"Resources/Geometry/Points.swift",
"Resources/Geometry/Raw/RawGeometry.swift",
"Resources/Geometry/Raw/RawLines.swift",
"Resources/Geometry/Raw/RawPoints.swift",
"Resources/Geometry/Raw/Triangle.swift",
"Resources/Geometry/Raw/Vertex.swift",
"Resources/Geometry/SkinnedGeometry.swift",
"Resources/Importers/ApplePlatformImageImporter.swift",
"Resources/Importers/ApplePlatformModelImporter.swift",
"Resources/Importers/GLTransmissionFormat.swift",
"Resources/Importers/PNGImporter.swift",
"Resources/Importers/TiledTMJImporter.swift",
"Resources/Importers/TiledTSJImporter.swift",
"Resources/Importers/WavefrontOBJ.swift",
"Resources/Lights/Base/Light.swift",
"Resources/Lights/DirectionalLight.swift",
"Resources/Lights/PointLight.swift",
"Resources/Lights/SpotLight.swift",
"Resources/Paths.swift",
"Resources/Resource.swift",
"Resources/ResourceManager.swift",
"Resources/Skinning/SkeletalAnimation.swift",
"Resources/Skinning/Skeleton.swift",
"Resources/Skinning/Skin.swift",
"Resources/Sprites/Sprite.swift",
"Resources/Sprites/SpriteAnimation.swift",
"Resources/Sprites/SpriteSheet.swift",
"Resources/Text/Backends/ImageFont.swift",
"Resources/Text/Backends/TTFFont.swift",
"Resources/Text/Font.swift",
"Resources/Text/Text.swift",
"Resources/Texture/Texture.swift",
"Resources/Tiles/TileMap.swift",
"Resources/Tiles/TileSet.swift",
"SaveState.swift",
"Scripting/Gravity/Gravity+Errors.swift",
"Scripting/Gravity/Gravity+Files.swift",
"Scripting/Gravity/Gravity+Testing.swift",
"Scripting/Gravity/Gravity.swift",
"Scripting/Gravity/GravityClass.swift",
"Scripting/Gravity/GravityClosure.swift",
"Scripting/Gravity/GravityInstance.swift",
"Scripting/Gravity/GravityProtocols.swift",
"Scripting/Gravity/GravityValue.swift",
"Scripting/Gravity/GravityValueConvertible.swift",
"System/Audio/Music.swift",
"System/Audio/Platforms/AudioFormats/VorbisFile.swift",
"System/Audio/Platforms/AudioFormats/WaveFile.swift",
"System/Audio/Platforms/AudioTypes.swift",
"System/Audio/Platforms/Backends/CoreAudio/3D/CAListenerReference.swift",
"System/Audio/Platforms/Backends/CoreAudio/3D/CASourceReference.swift",
"System/Audio/Platforms/Backends/CoreAudio/3D/CASpacialMixerReference.swift",
"System/Audio/Platforms/Backends/CoreAudio/CABufferReference.swift",
"System/Audio/Platforms/Backends/CoreAudio/CAContextReference.swift",
"System/Audio/Platforms/Backends/CoreAudio/Soundtrack/CAAudioMixerReference.swift",
"System/Audio/Platforms/Backends/CoreAudio/Soundtrack/CAAudioTrackReference.swift",
"System/Audio/Platforms/Backends/OpenAL/3D/OAListenerReference.swift",
"System/Audio/Platforms/Backends/OpenAL/3D/OASourceReference.swift",
"System/Audio/Platforms/Backends/OpenAL/3D/OASpacialMixerReference.swift",
"System/Audio/Platforms/Backends/OpenAL/OABufferReference.swift",
"System/Audio/Platforms/Backends/OpenAL/OAContextReference.swift",
"System/Audio/Platforms/Backends/OpenAL/Soundtrack/OAAudioMixerReference.swift",
"System/Audio/Platforms/Backends/OpenAL/Soundtrack/OAAudioTrackReference.swift",
"System/Audio/Platforms/Backends/OpenAL/_Backend/OpenALContext.swift",
"System/Audio/Platforms/Backends/OpenAL/_Backend/OpenALDevice.swift",
"System/Audio/Platforms/Backends/OpenAL/_Backend/OpenALError.swift",
"System/Audio/Platforms/Backends/OpenAL/_Backend/OpenALSource.swift",
"System/Audio/Platforms/Backends/WebAudio/3D/WAListenerReference.swift",
"System/Audio/Platforms/Backends/WebAudio/3D/WASourceReference.swift",
"System/Audio/Platforms/Backends/WebAudio/3D/WASpacialMixerReference.swift",
"System/Audio/Platforms/Backends/WebAudio/Soundtrack/WAAudioMixerReference.swift",
"System/Audio/Platforms/Backends/WebAudio/Soundtrack/WAAudioTrackReference.swift",
"System/Audio/Platforms/Backends/WebAudio/WABufferReference.swift",
"System/Audio/Platforms/Backends/WebAudio/WAContextReference.swift",
"System/Audio/Platforms/Backends/XAudio/3D/XAListenerReference.swift",
"System/Audio/Platforms/Backends/XAudio/3D/XASourceReference.swift",
"System/Audio/Platforms/Backends/XAudio/3D/XASpacialMixerReference.swift",
"System/Audio/Platforms/Backends/XAudio/Soundtrack/XAAudioMixerReference.swift",
"System/Audio/Platforms/Backends/XAudio/Soundtrack/XAAudioTrackReference.swift",
"System/Audio/Platforms/Backends/XAudio/XABufferReference.swift",
"System/Audio/Platforms/Backends/XAudio/XAContextReference.swift",
"System/Audio/Platforms/BufferConverter.swift",
"System/Audio/Sound.swift",
"System/Audio/System/AudioBuffer.swift",
"System/Audio/System/AudioContext.swift",
"System/Audio/System/Multi-Channel/AudioMixer.swift",
"System/Audio/System/Multi-Channel/AudioTrack.swift",
"System/Audio/System/Spatial/SpatialAudioListener.swift",
"System/Audio/System/Spatial/SpatialAudioMixer.swift",
"System/Audio/System/Spatial/SpatialAudioSource.swift",
"System/HID/GamePad/GamePad.swift",
"System/HID/GamePad/GamePadInterpreter/GamePadInterpreter.swift",
"System/HID/GamePad/GamePadInterpreter/Interpreters/HID/IOKitGamePadInterpreter.swift",
"System/HID/GamePad/GamePadInterpreter/Interpreters/HID/LinuxHIDGamePadInterpreter.swift",
"System/HID/GamePad/GamePadInterpreter/Interpreters/HID/Mapping/SDL2/SDL2.swift",
"System/HID/GamePad/GamePadInterpreter/Interpreters/MFIGamePadInterpreter.swift",
"System/HID/GamePad/GamePadInterpreter/Interpreters/NullGamePadInterpreter.swift",
"System/HID/GamePad/GamePadInterpreter/Interpreters/WASIGamePadInterpreter.swift",
"System/HID/GamePad/GamePadInterpreter/Interpreters/XInputGamePadInterpreter.swift",
"System/HID/GamePad/GamePadManager.swift",
"System/HID/HID.swift",
"System/HID/Keyboard/CharacterStream.swift",
"System/HID/Keyboard/Keyboard.swift",
"System/HID/Keyboard/KeyboardEvent.swift",
"System/HID/Keyboard/KeyboardKey.swift",
"System/HID/Keyboard/KeyboardModifierMask.swift",
"System/HID/Mouse/Mouse.swift",
"System/HID/Mouse/MouseButton.swift",
"System/HID/Mouse/MouseScroller.swift",
"System/HID/Touch/GestureRecognizers.swift",
"System/HID/Touch/Touch.swift",
"System/HID/Touch/TouchScreen.swift",
"System/HID/Touch/TouchSurface.swift",
"System/Platforms/Android/AndroidPlatform.swift",
"System/Platforms/Apple/AppKit/AppKit/AppKitGLKitView.swift",
"System/Platforms/Apple/AppKit/AppKit/AppKitMetalView.swift",
"System/Platforms/Apple/AppKit/AppKit/AppKitViewController.swift",
"System/Platforms/Apple/AppKit/AppKit/AppKitWindow.swift",
"System/Platforms/Apple/AppKit/AppKitPlatform.swift",
"System/Platforms/Apple/AppleFileSystem.swift",
"System/Platforms/Apple/UIKit/UIKit/UIKitGLKitView.swift",
"System/Platforms/Apple/UIKit/UIKit/UIKitMetalView.swift",
"System/Platforms/Apple/UIKit/UIKit/UIKitViewController.swift",
"System/Platforms/Apple/UIKit/UIKit/UIKitWindow.swift",
"System/Platforms/Apple/UIKit/UIKitPlatform.swift",
"System/Platforms/FileSystem.swift",
"System/Platforms/Linux/LinuxFileSystem.swift",
"System/Platforms/Linux/LinuxPlatform.swift",
"System/Platforms/Linux/X11/X11Window.swift",
"System/Platforms/Platform.swift",
"System/Platforms/WASI/WASI/WASIWindow.swift",
"System/Platforms/WASI/WASIFileSystem.swift",
"System/Platforms/WASI/WASIPlatform.swift",
"System/Platforms/Win32/Win32/Win32Window.swift",
"System/Platforms/Win32/Win32/WinSDK+Helpers.swift",
"System/Platforms/Win32/Win32FileSystem.swift",
"System/Platforms/Win32/Win32Platform.swift",
"System/Rendering/Drawables/Canvas.swift",
"System/Rendering/Drawables/DrawCommand.swift",
"System/Rendering/Drawables/Drawable.swift",
"System/Rendering/Drawables/Scene.swift",
"System/Rendering/Platforms/DirectX12/DX12Geometry.swift",
"System/Rendering/Platforms/DirectX12/DX12RenderTarget.swift",
"System/Rendering/Platforms/DirectX12/DX12Renderer.swift",
"System/Rendering/Platforms/DirectX12/DX12SwapChain.swift",
"System/Rendering/Platforms/DirectX12/DX12Texture.swift",
"System/Rendering/Platforms/GeometryBackend.swift",
"System/Rendering/Platforms/Metal/MetalGeometry.swift",
"System/Rendering/Platforms/Metal/MetalRenderTarget.swift",
"System/Rendering/Platforms/Metal/MetalRenderer.swift",
"System/Rendering/Platforms/Metal/MetalTexture.swift",
"System/Rendering/Platforms/OpenGL/OpenGLGeometry.swift",
"System/Rendering/Platforms/OpenGL/OpenGLRenderTarget.swift",
"System/Rendering/Platforms/OpenGL/OpenGLRenderer+Apple.swift",
"System/Rendering/Platforms/OpenGL/OpenGLRenderer+Linux.swift",
"System/Rendering/Platforms/OpenGL/OpenGLRenderer.swift",
"System/Rendering/Platforms/OpenGL/OpenGLTexture.swift",
"System/Rendering/Platforms/WebGL2/WebGL2Geometry.swift",
"System/Rendering/Platforms/WebGL2/WebGL2RenderTarget.swift",
"System/Rendering/Platforms/WebGL2/WebGL2Renderer.swift",
"System/Rendering/Platforms/WebGL2/WebGL2Texture.swift",
"System/Rendering/RenderTarget.swift",
"System/Rendering/Renderer.swift",
"System/Rendering/SystemShaders.swift",
"System/WindowManager.swift",
"Types/Camera.swift",
"Types/Material.swift",
"Types/Matricies.swift",
"UI/Button.swift",
"UI/Control.swift",
"UI/Drawables/UICanvas.swift",
"UI/GameViewController.swift",
"UI/ImageView.swift",
"UI/Label.swift",
"UI/Layout.swift",
"UI/StackView.swift",
"UI/View.swift",
"UI/ViewController.swift",
"UI/Window.swift"
],
"target_dependencies" : [
"GameMath",
"Shaders",
"TrueType",
"LibSPNG",
"Gravity",
"uFBX",
"Vorbis",
"OpenGL_GateEngine"
],
"type" : "library"
},
{
"c99name" : "GameMathTests",
"module_type" : "SwiftTarget",
"name" : "GameMathTests",
"path" : "Tests/GameMathTests",
"sources" : [
"2D/2D Physics/2D Colliders/AxisAlignedBoundingBox2DTests.swift.swift",
"2D/CircleTests.swift",
"2D/Direction2Tests.swift",
"2D/InsetsTests.swift",
"2D/Position2Tests.swift",
"2D/RectTests.swift",
"2D/Size2Tests.swift",
"2D/Vector2Tests.swift",
"3D/Direction3Tests.swift",
"3D/Matrix3x3Tests.swift",
"3D/Matrix4x4Tests.swift",
"3D/Position3Tests.swift",
"3D/QuaternionTests.swift",
"3D/Size3Tests.swift",
"3D/Transform3Tests.swift",
"3D/Vector3Tests.swift",
"BitStreamTests.swift",
"Degrees & Radians Tests.swift",
"InterpolationTests.swift"
],
"target_dependencies" : [
"GameMath"
],
"type" : "test"
},
{
"c99name" : "GameMathSIMDTests",
"module_type" : "SwiftTarget",
"name" : "GameMathSIMDTests",
"path" : "Tests/GameMathSIMDTests",
"sources" : [
"2D/2D Physics/2D Colliders/AxisAlignedBoundingBox2DTests.swift.swift",
"2D/CircleTests.swift",
"2D/Direction2Tests.swift",
"2D/InsetsTests.swift",
"2D/Position2Tests.swift",
"2D/RectTests.swift",
"2D/Size2Tests.swift",
"2D/Vector2Tests.swift",
"3D/Direction3Tests.swift",
"3D/Matrix3x3Tests.swift",
"3D/Matrix4x4Tests.swift",
"3D/Position3Tests.swift",
"3D/QuaternionTests.swift",
"3D/Size3Tests.swift",
"3D/Transform3Tests.swift",
"3D/Vector3Tests.swift",
"BitStreamTests.swift",
"Degrees & Radians Tests.swift",
"InterpolationTests.swift"
],
"target_dependencies" : [
"GameMath"
],
"type" : "test"
},
{
"c99name" : "GameMath",
"module_type" : "SwiftTarget",
"name" : "GameMath",
"path" : "Sources/GameMath",
"product_memberships" : [
"GateEngine",
"GameMath"
],
"sources" : [
"2D Types/2D Physics/2D Colliders/AxisAlignedBoundingBox2D.swift",
"2D Types/2D Physics/2D Colliders/BoundingCircle2D.swift",
"2D Types/2D Physics/2D Colliders/BoundingEllipsoid2D.swift",
"2D Types/2D Physics/2D Colliders/Collider2D.swift",
"2D Types/2D Physics/Line2D.swift",
"2D Types/2D Physics/Ray2D.swift",
"2D Types/2D Physics/Rect+Physics.swift",
"2D Types/Circle.swift",
"2D Types/Direction2.swift",
"2D Types/Insets.swift",
"2D Types/Position2.swift",
"2D Types/Rect.swift",
"2D Types/Size2.swift",
"2D Types/Transform2.swift",
"2D Types/Vector2.swift",
"3D Types/3D Physics/3D Colliders/AxisAlignedBoundingBox3D.swift",
"3D Types/3D Physics/3D Colliders/BoundingEllipsoid3D.swift",
"3D Types/3D Physics/3D Colliders/BoundingSphere3D.swift",
"3D Types/3D Physics/3D Colliders/Collider3D.swift",
"3D Types/3D Physics/3D Colliders/CollisionTriangle.swift",
"3D Types/3D Physics/3D Colliders/MeshCollider.swift",
"3D Types/3D Physics/3D Colliders/OrientedBoundingBox3D.swift",
"3D Types/3D Physics/Line3D.swift",
"3D Types/3D Physics/Plane3D.swift",
"3D Types/3D Physics/Ray3D.swift",
"3D Types/3D Physics/ViewFrustum3D.swift",
"3D Types/Direction3.swift",
"3D Types/Matrix3x3.swift",
"3D Types/Matrix4x4.swift",
"3D Types/Position3.swift",
"3D Types/Quaternion.swift",
"3D Types/Size3.swift",
"3D Types/Transform3.swift",
"3D Types/Vector3.swift",
"BitStream.swift",
"CardinalDirection.swift",
"Color.swift",
"Degrees & Radians.swift",
"FastInverseSquareRoot.swift",
"GameMath.swift",
"Interpolation.swift",
"PlatformSpecific/CoreGraphics.swift",
"PlatformSpecific/Win32.swift",
"Vector4.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.