Build Information
Successful build of Swift2D, reference 2.0.0 (4df6f7
), with Swift 6.0 for Linux on 3 Nov 2024 13:46:21 UTC.
Swift 6 data race errors: 11
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/Swift2D.git
Reference: 2.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/richardpiazza/Swift2D
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 4df6f74 Double Raw Values (#4)
Cloned https://github.com/richardpiazza/Swift2D.git
Revision (git rev-parse @):
4df6f74d3e3ad11075ea53fbb13fceda7c60b7b6
SUCCESS checkout https://github.com/richardpiazza/Swift2D.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/richardpiazza/Swift2D.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/11] Compiling Swift2D Rect+Computed.swift
/host/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)
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
/host/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: - Static 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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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)
/host/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 | public var width: Double
4 | public var height: Double
/host/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)
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
/host/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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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 |
/host/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 | public var width: Double
4 | public var height: Double
/host/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 |
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
/host/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 |
/host/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 | public var x: Double
4 | public var y: Double
/host/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 {
/host/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 | public var width: Double
4 | public var height: Double
/host/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 {
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
/host/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 {
/host/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 | public var x: Double
4 | public var y: Double
[4/12] Compiling Swift2D Size.swift
[5/12] Compiling Swift2D Point+Computed.swift
/host/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: - Static 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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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 |
/host/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 | public var x: Double
4 | public var y: Double
/host/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 {
/host/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 | public var x: Double
4 | public var y: Double
[6/12] Compiling Swift2D Point+CoreGraphics.swift
/host/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: - Static 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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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 |
/host/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 | public var x: Double
4 | public var y: Double
/host/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 {
/host/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 | public var x: Double
4 | public var y: Double
[7/12] Emitting module Swift2D
/host/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: - Static 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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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 |
/host/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 | public var x: Double
4 | public var y: Double
/host/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 {
/host/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 | public var x: Double
4 | public var y: Double
/host/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)
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
/host/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)
/host/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 | public var width: Double
4 | public var height: Double
/host/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)
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
/host/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 |
/host/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 | public var width: Double
4 | public var height: Double
/host/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 |
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
/host/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 {
/host/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 | public var width: Double
4 | public var height: Double
/host/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 {
/host/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 | /// A point that specifies the coordinates of the rectangle’s origin.
4 | public var origin: Point
[8/12] Compiling Swift2D Rect.swift
/host/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: - Static 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)
/host/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 | public var x: Double
4 | public var y: Double
/host/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)
/host/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 | public var width: Double
4 | public var height: Double
[9/12] Compiling Swift2D Point.swift
[10/12] Compiling Swift2D Rect+CoreGraphics.swift
[11/12] Compiling Swift2D Size+CoreGraphics.swift
[12/12] Compiling Swift2D Size+Computed.swift
/host/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)
/host/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 | public var width: Double
4 | public var height: Double
/host/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 |
/host/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 | public var width: Double
4 | public var height: Double
/host/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 {
/host/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 | public var width: Double
4 | public var height: Double
Build complete! (15.00s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Swift2D",
"name" : "Swift2D",
"path" : "/host/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",
"XCTestManifests.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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.