Build Information
Successful build of Swift2D, reference main (52d7ad
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:48:21 UTC.
Swift 6 data race errors: 11
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
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Swift2D.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/Swift2D
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 52d7add Reflection Tests (#6)
Cloned https://github.com/richardpiazza/Swift2D.git
Revision (git rev-parse @):
52d7add8141ee85272e26cbc6ee4333447012fdc
SUCCESS checkout https://github.com/richardpiazza/Swift2D.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swift2d",
"name": "Swift2D",
"url": "https://github.com/richardpiazza/Swift2D.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift2D",
"dependencies": [
]
}
]
}
Fetching https://github.com/richardpiazza/Swift2D.git
[1/231] Fetching swift2d
Fetched https://github.com/richardpiazza/Swift2D.git from cache (0.76s)
Creating working copy for https://github.com/richardpiazza/Swift2D.git
Working copy of https://github.com/richardpiazza/Swift2D.git resolved at main (52d7add)
warning: '.resolve-product-dependencies': dependency 'swift2d' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/Swift2D.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/12] Compiling Swift2D Rect.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Point {
3 | static let zero: Point = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' 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
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Size {
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' 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
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
[4/12] Emitting module Swift2D
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Point {
3 | static let zero: Point = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' 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
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Point {
3 | static let zero: Point = Point(x: 0, y: 0)
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:5:25: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Point = Point(x: 0, y: 0)
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:6:25: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Rect {
3 | static let zero: Rect = Rect(origin: .zero, size: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' 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
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Size {
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' 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
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Rect {
3 | static let zero: Rect = Rect(origin: .zero, size: .zero)
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
6 | static let null: Rect = Rect(origin: .null, size: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Size {
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:5:16: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Rect = Rect(origin: .zero, size: .zero)
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static let null: Rect = Rect(origin: .null, size: .zero)
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:5:25: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:6:16: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
6 | static let null: Rect = Rect(origin: .null, size: .zero)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
[5/12] Compiling Swift2D Rect+Computed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Rect {
3 | static let zero: Rect = Rect(origin: .zero, size: .zero)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Rect' 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
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Point {
3 | static let zero: Point = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' 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
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Size {
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' 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
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Rect {
3 | static let zero: Rect = Rect(origin: .zero, size: .zero)
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
6 | static let null: Rect = Rect(origin: .null, size: .zero)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Point {
3 | static let zero: Point = Point(x: 0, y: 0)
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Size {
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:5:16: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Rect = Rect(origin: .zero, size: .zero)
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | static let null: Rect = Rect(origin: .null, size: .zero)
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:5:25: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Point = Point(x: 0, y: 0)
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:5:25: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect+Computed.swift:6:16: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
4 | static let nan: Rect = Rect(origin: .nan, size: .nan)
5 | static let infinite: Rect = Rect(origin: .infinite, size: .infinite)
6 | static let null: Rect = Rect(origin: .null, size: .zero)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Rect' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Rect.swift:2:15: note: consider making struct 'Rect' conform to the 'Sendable' protocol
1 | /// The location and dimensions of a rectangle.
2 | public struct Rect {
| `- note: consider making struct 'Rect' conform to the 'Sendable' protocol
3 |
4 | /// A point that specifies the coordinates of the rectangle’s origin.
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:6:25: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
[6/12] Compiling Swift2D Size+Computed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Size {
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Size' 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
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Size {
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
6 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size+Computed.swift:5:25: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Size = Size(width: 0.0, height: 0.0)
4 | static let nan: Size = Size(width: Double.nan, height: Double.nan)
5 | internal static let infinite: Size = Size(width: Double.greatestFiniteMagnitude, height: Double.greatestFiniteMagnitude)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Size' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 |
7 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Size.swift:2:15: note: consider making struct 'Size' conform to the 'Sendable' protocol
1 | /// A representation of two-dimensional width and height values.
2 | public struct Size {
| `- note: consider making struct 'Size' conform to the 'Sendable' protocol
3 |
4 | public var width: Double
[7/12] Compiling Swift2D Point+Computed.swift
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:3:16: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - Common References
2 | public extension Point {
3 | static let zero: Point = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'Point' 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
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:4:16: warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
2 | public extension Point {
3 | static let zero: Point = Point(x: 0, y: 0)
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
| |- warning: static property 'nan' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'nan' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:5:25: warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
3 | static let zero: Point = Point(x: 0, y: 0)
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
| |- warning: static property 'infinite' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'infinite' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
7 |
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point+Computed.swift:6:25: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
4 | static let nan: Point = Point(x: Double.nan, y: Double.nan)
5 | internal static let infinite: Point = Point(x: -Double.greatestFiniteMagnitude / 2, y: -Double.greatestFiniteMagnitude / 2)
6 | internal static let null: Point = Point(x: Double.infinity, y: Double.infinity)
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'Point' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 |
8 | var isZero: Bool { self == .zero }
/Users/admin/builder/spi-builder-workspace/Sources/Swift2D/Point.swift:2:15: note: consider making struct 'Point' conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: consider making struct 'Point' conform to the 'Sendable' protocol
3 |
4 | public var x: Double
[8/12] Compiling Swift2D Point.swift
[9/12] Compiling Swift2D Rect+CoreGraphics.swift
[10/12] Compiling Swift2D Point+CoreGraphics.swift
[11/12] Compiling Swift2D Size.swift
[12/12] Compiling Swift2D Size+CoreGraphics.swift
Build complete! (8.89s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swift2D",
"name" : "Swift2D",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Swift2D",
"targets" : [
"Swift2D"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Swift2DTests",
"module_type" : "SwiftTarget",
"name" : "Swift2DTests",
"path" : "Tests/Swift2DTests",
"sources" : [
"PointTests.swift",
"RectTests.swift",
"SizeTests.swift"
],
"target_dependencies" : [
"Swift2D"
],
"type" : "test"
},
{
"c99name" : "Swift2D",
"module_type" : "SwiftTarget",
"name" : "Swift2D",
"path" : "Sources/Swift2D",
"product_memberships" : [
"Swift2D"
],
"sources" : [
"Point+Computed.swift",
"Point+CoreGraphics.swift",
"Point.swift",
"Rect+Computed.swift",
"Rect+CoreGraphics.swift",
"Rect.swift",
"Size+Computed.swift",
"Size+CoreGraphics.swift",
"Size.swift"
],
"type" : "library"
}
],
"tools_version" : "5.2"
}
Done.