Build Information
Successful build of GameMath, reference master (fe9665
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 05:25:44 UTC.
Swift 6 data race errors: 54
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
339 | static let darkGray: Color = #colorLiteral(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
340 | static let black: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:339:16: warning: static property 'darkGray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
337 | static let lightGray: Color = #colorLiteral(red: 0.75, green: 0.75, blue: 0.75, alpha: 1)
338 | static let gray: Color = #colorLiteral(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
339 | static let darkGray: Color = #colorLiteral(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
| |- warning: static property 'darkGray' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'darkGray' 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
340 | static let black: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
341 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:340:16: warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
338 | static let gray: Color = #colorLiteral(red: 0.5, green: 0.5, blue: 0.5, alpha: 1.0)
339 | static let darkGray: Color = #colorLiteral(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
340 | static let black: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
| |- warning: static property 'black' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'black' 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
341 |
342 | static let lightRed: Color = #colorLiteral(red: 1.0, green: 0.25, blue: 0.25, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:342:16: warning: static property 'lightRed' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
340 | static let black: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 0.0, alpha: 1.0)
341 |
342 | static let lightRed: Color = #colorLiteral(red: 1.0, green: 0.25, blue: 0.25, alpha: 1.0)
| |- warning: static property 'lightRed' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lightRed' 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
343 | static let lightGreen: Color = #colorLiteral(red: 0.25, green: 1.0, blue: 0.25, alpha: 1.0)
344 | static let lightBlue: Color = #colorLiteral(red: 0.25, green: 0.25, blue: 1.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:343:16: warning: static property 'lightGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
341 |
342 | static let lightRed: Color = #colorLiteral(red: 1.0, green: 0.25, blue: 0.25, alpha: 1.0)
343 | static let lightGreen: Color = #colorLiteral(red: 0.25, green: 1.0, blue: 0.25, alpha: 1.0)
| |- warning: static property 'lightGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lightGreen' 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
344 | static let lightBlue: Color = #colorLiteral(red: 0.25, green: 0.25, blue: 1.0, alpha: 1.0)
345 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:344:16: warning: static property 'lightBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
342 | static let lightRed: Color = #colorLiteral(red: 1.0, green: 0.25, blue: 0.25, alpha: 1.0)
343 | static let lightGreen: Color = #colorLiteral(red: 0.25, green: 1.0, blue: 0.25, alpha: 1.0)
344 | static let lightBlue: Color = #colorLiteral(red: 0.25, green: 0.25, blue: 1.0, alpha: 1.0)
| |- warning: static property 'lightBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lightBlue' 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
345 |
346 | static let red: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 0.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:346:16: warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
344 | static let lightBlue: Color = #colorLiteral(red: 0.25, green: 0.25, blue: 1.0, alpha: 1.0)
345 |
346 | static let red: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 0.0, alpha: 1.0)
| |- warning: static property 'red' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'red' 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
347 | static let green: Color = #colorLiteral(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
348 | static let blue: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 1.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:347:16: warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
345 |
346 | static let red: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 0.0, alpha: 1.0)
347 | static let green: Color = #colorLiteral(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
| |- warning: static property 'green' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'green' 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
348 | static let blue: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 1.0, alpha: 1.0)
349 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:348:16: warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
346 | static let red: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 0.0, alpha: 1.0)
347 | static let green: Color = #colorLiteral(red: 0.0, green: 1.0, blue: 0.0, alpha: 1.0)
348 | static let blue: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 1.0, alpha: 1.0)
| |- warning: static property 'blue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blue' 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
349 |
350 | static let darkRed: Color = #colorLiteral(red: 0.25, green: 0.05, blue: 0.05, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:350:16: warning: static property 'darkRed' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
348 | static let blue: Color = #colorLiteral(red: 0.0, green: 0.0, blue: 1.0, alpha: 1.0)
349 |
350 | static let darkRed: Color = #colorLiteral(red: 0.25, green: 0.05, blue: 0.05, alpha: 1.0)
| |- warning: static property 'darkRed' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'darkRed' 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
351 | static let darkGreen: Color = #colorLiteral(red: 0.05, green: 0.25, blue: 0.05, alpha: 1.0)
352 | static let darkBlue: Color = #colorLiteral(red: 0.05, green: 0.05, blue: 0.25, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:351:16: warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
349 |
350 | static let darkRed: Color = #colorLiteral(red: 0.25, green: 0.05, blue: 0.05, alpha: 1.0)
351 | static let darkGreen: Color = #colorLiteral(red: 0.05, green: 0.25, blue: 0.05, alpha: 1.0)
| |- warning: static property 'darkGreen' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'darkGreen' 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
352 | static let darkBlue: Color = #colorLiteral(red: 0.05, green: 0.05, blue: 0.25, alpha: 1.0)
353 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:352:16: warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
350 | static let darkRed: Color = #colorLiteral(red: 0.25, green: 0.05, blue: 0.05, alpha: 1.0)
351 | static let darkGreen: Color = #colorLiteral(red: 0.05, green: 0.25, blue: 0.05, alpha: 1.0)
352 | static let darkBlue: Color = #colorLiteral(red: 0.05, green: 0.05, blue: 0.25, alpha: 1.0)
| |- warning: static property 'darkBlue' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'darkBlue' 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
353 |
354 | static let cyan: Color = #colorLiteral(red: 0.0, green: 1.0, blue: 1.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:354:16: warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
352 | static let darkBlue: Color = #colorLiteral(red: 0.05, green: 0.05, blue: 0.25, alpha: 1.0)
353 |
354 | static let cyan: Color = #colorLiteral(red: 0.0, green: 1.0, blue: 1.0, alpha: 1.0)
| |- warning: static property 'cyan' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'cyan' 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
355 | static let magenta: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 1.0, alpha: 1.0)
356 | static let yellow: Color = #colorLiteral(red: 1.0, green: 1.0, blue: 0.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:355:16: warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
353 |
354 | static let cyan: Color = #colorLiteral(red: 0.0, green: 1.0, blue: 1.0, alpha: 1.0)
355 | static let magenta: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 1.0, alpha: 1.0)
| |- warning: static property 'magenta' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'magenta' 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
356 | static let yellow: Color = #colorLiteral(red: 1.0, green: 1.0, blue: 0.0, alpha: 1.0)
357 | static let orange: Color = #colorLiteral(red: 1.0, green: 0.64453125, blue: 0.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:356:16: warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
354 | static let cyan: Color = #colorLiteral(red: 0.0, green: 1.0, blue: 1.0, alpha: 1.0)
355 | static let magenta: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 1.0, alpha: 1.0)
356 | static let yellow: Color = #colorLiteral(red: 1.0, green: 1.0, blue: 0.0, alpha: 1.0)
| |- warning: static property 'yellow' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'yellow' 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
357 | static let orange: Color = #colorLiteral(red: 1.0, green: 0.64453125, blue: 0.0, alpha: 1.0)
358 | static let purple: Color = #colorLiteral(red: 0.5, green: 0.0, blue: 0.5, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:357:16: warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
355 | static let magenta: Color = #colorLiteral(red: 1.0, green: 0.0, blue: 1.0, alpha: 1.0)
356 | static let yellow: Color = #colorLiteral(red: 1.0, green: 1.0, blue: 0.0, alpha: 1.0)
357 | static let orange: Color = #colorLiteral(red: 1.0, green: 0.64453125, blue: 0.0, alpha: 1.0)
| |- warning: static property 'orange' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'orange' 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
358 | static let purple: Color = #colorLiteral(red: 0.5, green: 0.0, blue: 0.5, alpha: 1.0)
359 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:358:16: warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
356 | static let yellow: Color = #colorLiteral(red: 1.0, green: 1.0, blue: 0.0, alpha: 1.0)
357 | static let orange: Color = #colorLiteral(red: 1.0, green: 0.64453125, blue: 0.0, alpha: 1.0)
358 | static let purple: Color = #colorLiteral(red: 0.5, green: 0.0, blue: 0.5, alpha: 1.0)
| |- warning: static property 'purple' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'purple' 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
359 |
360 | //TODO: Move these to UniversalGraphics
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:362:16: warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
360 | //TODO: Move these to UniversalGraphics
361 | @available(*, deprecated, message: "This will be removed in a future update.")
362 | static let vertexColors = Color(red: -1001, green: -2002, blue: -3003, alpha: -4004)
| |- warning: static property 'vertexColors' is not concurrency-safe because non-'Sendable' type 'Color' 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
363 | @available(*, deprecated, message: "This will be removed in a future update.")
364 | static let defaultDiffuseMapColor = Color(red: 0.5, green: 0.5, blue: 0.5, alpha: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:364:16: warning: static property 'defaultDiffuseMapColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
362 | static let vertexColors = Color(red: -1001, green: -2002, blue: -3003, alpha: -4004)
363 | @available(*, deprecated, message: "This will be removed in a future update.")
364 | static let defaultDiffuseMapColor = Color(red: 0.5, green: 0.5, blue: 0.5, alpha: 1)
| |- warning: static property 'defaultDiffuseMapColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDiffuseMapColor' 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
365 | @available(*, deprecated, message: "This will be removed in a future update.")
366 | static let defaultNormalMapColor = Color(red: 0.5, green: 0.5, blue: 1.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:366:16: warning: static property 'defaultNormalMapColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
364 | static let defaultDiffuseMapColor = Color(red: 0.5, green: 0.5, blue: 0.5, alpha: 1)
365 | @available(*, deprecated, message: "This will be removed in a future update.")
366 | static let defaultNormalMapColor = Color(red: 0.5, green: 0.5, blue: 1.0, alpha: 1.0)
| |- warning: static property 'defaultNormalMapColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultNormalMapColor' 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
367 | @available(*, deprecated, message: "This will be removed in a future update.")
368 | static let defaultRoughnessMapColor = Color(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:368:16: warning: static property 'defaultRoughnessMapColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
366 | static let defaultNormalMapColor = Color(red: 0.5, green: 0.5, blue: 1.0, alpha: 1.0)
367 | @available(*, deprecated, message: "This will be removed in a future update.")
368 | static let defaultRoughnessMapColor = Color(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0)
| |- warning: static property 'defaultRoughnessMapColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultRoughnessMapColor' 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
369 | @available(*, deprecated, message: "This will be removed in a future update.")
370 | static let defaultPointLightColor = Color(red: 1.0, green: 1.0, blue: 0.9, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:370:16: warning: static property 'defaultPointLightColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
368 | static let defaultRoughnessMapColor = Color(red: 1.0, green: 1.0, blue: 1.0, alpha: 1.0)
369 | @available(*, deprecated, message: "This will be removed in a future update.")
370 | static let defaultPointLightColor = Color(red: 1.0, green: 1.0, blue: 0.9, alpha: 1.0)
| |- warning: static property 'defaultPointLightColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultPointLightColor' 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
371 | @available(*, deprecated, message: "This will be removed in a future update.")
372 | static let defaultSpotLightColor = Color(red: 1.0, green: 1.0, blue: 0.8, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:372:16: warning: static property 'defaultSpotLightColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
370 | static let defaultPointLightColor = Color(red: 1.0, green: 1.0, blue: 0.9, alpha: 1.0)
371 | @available(*, deprecated, message: "This will be removed in a future update.")
372 | static let defaultSpotLightColor = Color(red: 1.0, green: 1.0, blue: 0.8, alpha: 1.0)
| |- warning: static property 'defaultSpotLightColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultSpotLightColor' 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
373 | @available(*, deprecated, message: "This will be removed in a future update.")
374 | static let defaultDirectionalLightColor = Color(red: 0.7, green: 0.7, blue: 1.0, alpha: 1.0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/Color.swift:374:16: warning: static property 'defaultDirectionalLightColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
12 | public typealias Colour = Color
13 |
14 | public struct Color {
| `- note: consider making struct 'Color' conform to the 'Sendable' protocol
15 | public var red: Float
16 | public var green: Float
:
372 | static let defaultSpotLightColor = Color(red: 1.0, green: 1.0, blue: 0.8, alpha: 1.0)
373 | @available(*, deprecated, message: "This will be removed in a future update.")
374 | static let defaultDirectionalLightColor = Color(red: 0.7, green: 0.7, blue: 1.0, alpha: 1.0)
| |- warning: static property 'defaultDirectionalLightColor' is not concurrency-safe because non-'Sendable' type 'Color' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultDirectionalLightColor' 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
375 | }
376 |
[24/44] Compiling GameMath Ray2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
[25/44] Compiling GameMath Rect+Physics.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
[26/44] Compiling GameMath Circle.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
[27/44] Compiling GameMath Direction2.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
[28/44] Compiling GameMath Transform2.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:68:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
66 | static let zero = Self(width: 0, height: 0)
67 |
68 | static let one = Self(width: 1, height: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:109:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
107 |
108 | extension Transform2 {
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:111:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' 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
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Size3.swift:88:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 | #else
60 | public struct Size3: Vector3 {
| `- note: consider making struct 'Size3' conform to the 'Sendable' protocol
61 | public var x: Float
62 | public var y: Float
:
86 | public extension Size3 {
87 | #if !GameMathUseSIMD
88 | static let one = Self(width: 1, height: 1, depth: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
89 | static let zero = Self(0)
90 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
[29/44] Compiling GameMath Vector2.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:68:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
66 | static let zero = Self(width: 0, height: 0)
67 |
68 | static let one = Self(width: 1, height: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:109:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
107 |
108 | extension Transform2 {
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:111:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' 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
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Size3.swift:88:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 | #else
60 | public struct Size3: Vector3 {
| `- note: consider making struct 'Size3' conform to the 'Sendable' protocol
61 | public var x: Float
62 | public var y: Float
:
86 | public extension Size3 {
87 | #if !GameMathUseSIMD
88 | static let one = Self(width: 1, height: 1, depth: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
89 | static let zero = Self(0)
90 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
[30/44] Compiling GameMath AxisAlignedBoundingBox3D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:68:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
66 | static let zero = Self(width: 0, height: 0)
67 |
68 | static let one = Self(width: 1, height: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:109:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
107 |
108 | extension Transform2 {
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:111:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' 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
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Size3.swift:88:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 | #else
60 | public struct Size3: Vector3 {
| `- note: consider making struct 'Size3' conform to the 'Sendable' protocol
61 | public var x: Float
62 | public var y: Float
:
86 | public extension Size3 {
87 | #if !GameMathUseSIMD
88 | static let one = Self(width: 1, height: 1, depth: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
89 | static let zero = Self(0)
90 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
[31/44] Compiling GameMath BoundingEllipsoid3D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:68:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
66 | static let zero = Self(width: 0, height: 0)
67 |
68 | static let one = Self(width: 1, height: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
69 | }
70 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:109:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
107 |
108 | extension Transform2 {
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Transform2.swift:111:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' may have shared mutable state; this is an error in the Swift 6 language mode
41 | }
42 | #else
43 | public struct Transform2 {
| `- note: consider making struct 'Transform2' conform to the 'Sendable' protocol
44 | public var position: Position2 {
45 | didSet {
:
109 | public static let zero = Self(position: .zero, rotation: .zero, scale: .zero)
110 |
111 | public static let `default` = Self(position: .zero, rotation: .zero, scale: .one)
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Transform2' 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
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Size3.swift:88:16: warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
58 | }
59 | #else
60 | public struct Size3: Vector3 {
| `- note: consider making struct 'Size3' conform to the 'Sendable' protocol
61 | public var x: Float
62 | public var y: Float
:
86 | public extension Size3 {
87 | #if !GameMathUseSIMD
88 | static let one = Self(width: 1, height: 1, depth: 1)
| |- warning: static property 'one' is not concurrency-safe because non-'Sendable' type 'Size3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'one' 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
89 | static let zero = Self(0)
90 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
[32/44] Compiling GameMath AxisAlignedBoundingBox2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
[33/44] Compiling GameMath BoundingCircle2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
[34/44] Compiling GameMath BoundingEllipsoid2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
[35/44] Compiling GameMath Collider2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
[36/44] Compiling GameMath Line2D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Position2.swift:61:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 | #else
39 | public struct Position2: Vector2 {
| `- note: consider making struct 'Position2' conform to the 'Sendable' protocol
40 | public var x: Float
41 | public var y: Float
:
59 | }
60 |
61 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Position2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Size2.swift:66:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 | #else
20 | public struct Size2: Vector2 {
| `- note: consider making struct 'Size2' conform to the 'Sendable' protocol
21 | public var width: Float
22 | public var height: Float
:
64 |
65 | public extension Size2 {
66 | static let zero = Self(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
67 |
68 | static let one = Self(width: 1, height: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:87:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
85 | static let zero = Self(x: 0, y: 0)
86 |
87 | static let up = Self(x: 0, y: 1)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:85:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
83 |
84 | public extension Direction2 {
85 | static let zero = Self(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
86 |
87 | static let up = Self(x: 0, y: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:90:16: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' 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
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:89:16: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
89 | static let left = Self(x: -1, y: 0)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' 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
90 | static let right = Self(x: 1, y: 0)
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/2D Types/Direction2.swift:88:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct Direction2: Vector2 {
| `- note: consider making struct 'Direction2' conform to the 'Sendable' protocol
11 | public var x: Float
12 | public var y: Float
:
86 |
87 | static let up = Self(x: 0, y: 1)
88 | static let down = Self(x: 0, y: -1)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction2' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
89 | static let left = Self(x: -1, y: 0)
90 | static let right = Self(x: 1, y: 0)
[37/44] Compiling GameMath ViewFrustum3D.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:93:18: warning: This is broken
91 | @inlinable @inline(__always)
92 | func canSeeBox(_ box: AxisAlignedBoundingBox3D) -> Bool {
93 | #warning("This is broken")
| `- warning: This is broken
94 | return true
95 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:160:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
158 | #if !GameMathUseSIMD
159 | public extension Direction3 {
160 | static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
161 | }
162 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:97:9: warning: code after 'return' will never be executed
95 |
96 | //If the frustum passes through the box its visible
97 | guard isCollidingWith(box) == false else {return true}
| `- warning: code after 'return' will never be executed
98 |
99 | for point in box.points() {
[38/44] Compiling GameMath Direction3.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:93:18: warning: This is broken
91 | @inlinable @inline(__always)
92 | func canSeeBox(_ box: AxisAlignedBoundingBox3D) -> Bool {
93 | #warning("This is broken")
| `- warning: This is broken
94 | return true
95 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:160:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
158 | #if !GameMathUseSIMD
159 | public extension Direction3 {
160 | static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
161 | }
162 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:97:9: warning: code after 'return' will never be executed
95 |
96 | //If the frustum passes through the box its visible
97 | guard isCollidingWith(box) == false else {return true}
| `- warning: code after 'return' will never be executed
98 |
99 | for point in box.points() {
[39/44] Compiling GameMath Matrix3x3.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:93:18: warning: This is broken
91 | @inlinable @inline(__always)
92 | func canSeeBox(_ box: AxisAlignedBoundingBox3D) -> Bool {
93 | #warning("This is broken")
| `- warning: This is broken
94 | return true
95 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:160:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
158 | #if !GameMathUseSIMD
159 | public extension Direction3 {
160 | static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
161 | }
162 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:97:9: warning: code after 'return' will never be executed
95 |
96 | //If the frustum passes through the box its visible
97 | guard isCollidingWith(box) == false else {return true}
| `- warning: code after 'return' will never be executed
98 |
99 | for point in box.points() {
[40/44] Compiling GameMath Matrix4x4.swift
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Position3.swift:146:16: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
144 | #if !GameMathUseSIMD
145 | public extension Position3 {
146 | static var zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'zero' 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
147 | }
148 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:93:18: warning: This is broken
91 | @inlinable @inline(__always)
92 | func canSeeBox(_ box: AxisAlignedBoundingBox3D) -> Bool {
93 | #warning("This is broken")
| `- warning: This is broken
94 | return true
95 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:160:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
158 | #if !GameMathUseSIMD
159 | public extension Direction3 {
160 | static let zero = Self(0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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
161 | }
162 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:150:16: warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
148 |
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
| |- warning: static property 'up' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'up' 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
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:151:16: warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
60 | }
61 | #else
62 | public struct Direction3: Vector3 {
| `- note: consider making struct 'Direction3' conform to the 'Sendable' protocol
63 | public var x: Float
64 | public var y: Float
:
149 | public extension Direction3 {
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
| |- warning: static property 'down' is not concurrency-safe because non-'Sendable' type 'Direction3' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'down' 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
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:152:16: warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
150 | static let up = Self(x: 0, y: 1, z: 0)
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
| |- warning: static property 'left' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'left' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'left' 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
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:153:16: warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
151 | static let down = Self(x: 0, y: -1, z: 0)
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
| |- warning: static property 'right' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'right' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'right' 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
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:154:16: warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | static var left = Self(x: -1, y: 0, z: 0)
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
| |- warning: static property 'forward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'forward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'forward' 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
155 | static var backward = Self(x: 0, y: 0, z: 1)
156 | }
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Direction3.swift:155:16: warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
153 | static var right = Self(x: 1, y: 0, z: 0)
154 | static var forward = Self(x: 0, y: 0, z: -1)
155 | static var backward = Self(x: 0, y: 0, z: 1)
| |- warning: static property 'backward' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'backward' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'backward' 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
156 | }
157 |
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/Matrix4x4.swift:97:16: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 | #else
45 | public struct Matrix4x4 {
| `- note: consider making struct 'Matrix4x4' conform to the 'Sendable' protocol
46 | public var a: Float, b: Float, c: Float, d: Float
47 | public var e: Float, f: Float, g: Float, h: Float
:
95 |
96 | public extension Matrix4x4 {
97 | static let identity = Self(a: 1, b: 0, c: 0, d: 0,
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'Matrix4x4' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
98 | e: 0, f: 1, g: 0, h: 0,
99 | i: 0, j: 0, k: 1, l: 0,
/Users/admin/builder/spi-builder-workspace/Sources/GameMath/3D Types/3D Physics/ViewFrustum3D.swift:97:9: warning: code after 'return' will never be executed
95 |
96 | //If the frustum passes through the box its visible
97 | guard isCollidingWith(box) == false else {return true}
| `- warning: code after 'return' will never be executed
98 |
99 | for point in box.points() {
[41/44] Compiling GameMath Degrees & Radians.swift
[42/44] Compiling GameMath FastInverseSquareRoot.swift
[43/44] Compiling GameMath Interpolation.swift
[44/44] Compiling GameMath CoreGraphics.swift
Build complete! (17.44s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GameMath",
"name" : "GameMath",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GameMath",
"targets" : [
"GameMath"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"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" : [
"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",
"Interpolation.swift",
"PlatformSpecific/CoreGraphics.swift"
],
"type" : "library"
}
],
"tools_version" : "5.4"
}
Done.