This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Swift2D with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/richardpiazza/Swift2D.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/12] Compiling Swift2D Size.swift
[4/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
[5/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
[6/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
[7/12] Compiling Swift2D Point.swift
[8/12] Compiling Swift2D Size+CoreGraphics.swift
[9/12] Compiling Swift2D Rect+CoreGraphics.swift
[10/12] Compiling Swift2D Point+CoreGraphics.swift
[11/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.
[12/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
Build complete! (10.76s)
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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.