Build Information
Successful build of GraphPoint with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
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/GraphPoint.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/GraphPoint
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f77bafb Floating Points (#2)
Cloned https://github.com/richardpiazza/GraphPoint.git
Revision (git rev-parse @):
f77bafbffc53c86c7963e4847ebd5ecb11fa5fcf
SUCCESS checkout https://github.com/richardpiazza/GraphPoint.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/richardpiazza/GraphPoint.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/13] Compiling Swift2D Rect.swift
[5/13] Compiling Swift2D Size.swift
[6/13] Compiling Swift2D Size+Computed.swift
[7/13] Compiling Swift2D Size+CoreGraphics.swift
[8/13] Compiling Swift2D Point.swift
[9/13] Compiling Swift2D Rect+Computed.swift
[10/13] Compiling Swift2D Point+Computed.swift
[11/13] Compiling Swift2D Rect+CoreGraphics.swift
[12/13] Compiling Swift2D Point+CoreGraphics.swift
[13/13] Emitting module Swift2D
[14/23] Compiling GraphPoint GraphPointError.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:4:10: warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
2 |
3 | public enum GraphPointError: Swift.Error {
4 | case invalidPoint(_ point: CartesianPoint)
| `- warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
5 | case invalidDegree(_ degree: Degree)
6 | case invalidRadius(_ radius: Radius)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/Sources/Swift2D/Point.swift:2:15: note: struct 'Point' does not conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: struct 'Point' does not conform to the 'Sendable' protocol
3 | public var x: Double
4 | public var y: Double
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 | case invalidDegree(_ degree: Degree)
6 | case invalidRadius(_ radius: Radius)
7 | case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
| `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
8 | public enum Quadrant: Int, CaseIterable {
| `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
9 | /// Quadrant 1
10 | /// * x: + (positive)
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 | case invalidDegree(_ degree: Degree)
6 | case invalidRadius(_ radius: Radius)
7 | case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
| `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
8 | public enum Quadrant: Int, CaseIterable {
| `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
9 | /// Quadrant 1
10 | /// * x: + (positive)
[15/23] Compiling GraphPoint CartesianFrame.swift
[16/23] Compiling GraphPoint CartesianPlane.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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
[17/23] Emitting module GraphPoint
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:4:10: warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
2 |
3 | public enum GraphPointError: Swift.Error {
4 | case invalidPoint(_ point: CartesianPoint)
| `- warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
5 | case invalidDegree(_ degree: Degree)
6 | case invalidRadius(_ radius: Radius)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/Sources/Swift2D/Point.swift:2:15: note: struct 'Point' does not conform to the 'Sendable' protocol
1 | /// The representation of a single point in a two-dimensional plane.
2 | public struct Point {
| `- note: struct 'Point' does not conform to the 'Sendable' protocol
3 | public var x: Double
4 | public var y: Double
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 | case invalidDegree(_ degree: Degree)
6 | case invalidRadius(_ radius: Radius)
7 | case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
| `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
8 | public enum Quadrant: Int, CaseIterable {
| `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
9 | /// Quadrant 1
10 | /// * x: + (positive)
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 | case invalidDegree(_ degree: Degree)
6 | case invalidRadius(_ radius: Radius)
7 | case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
| `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
8 | public enum Quadrant: Int, CaseIterable {
| `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
9 | /// Quadrant 1
10 | /// * x: + (positive)
[18/23] Compiling GraphPoint Degree.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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/.build/checkouts/Swift2D/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
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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
[19/23] Compiling GraphPoint CartesianPoint.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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
[20/23] Compiling GraphPoint Arc.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/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
[21/23] Compiling GraphPoint Radius.swift
[22/23] Compiling GraphPoint Radian.swift
[23/23] Compiling GraphPoint Quadrant.swift
Build complete! (24.66s)
Fetching https://github.com/richardpiazza/Swift2D
[1/231] Fetching swift2d
Fetched https://github.com/richardpiazza/Swift2D from cache (0.79s)
Computing version for https://github.com/richardpiazza/Swift2D
Computed https://github.com/richardpiazza/Swift2D at 2.0.0 (0.66s)
Creating working copy for https://github.com/richardpiazza/Swift2D
Working copy of https://github.com/richardpiazza/Swift2D resolved at 2.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift2d",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/richardpiazza/Swift2D"
}
],
"manifest_display_name" : "GraphPoint",
"name" : "GraphPoint",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "GraphPoint",
"targets" : [
"GraphPoint"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "GraphPointTests",
"module_type" : "SwiftTarget",
"name" : "GraphPointTests",
"path" : "Tests/GraphPointTests",
"sources" : [
"CartesianFrameTests.swift",
"CartesianPlaneTests.swift",
"CartesianPointTests.swift",
"DegreeTests.swift",
"QuadrantTests.swift",
"RadianTests.swift"
],
"target_dependencies" : [
"GraphPoint"
],
"type" : "test"
},
{
"c99name" : "GraphPoint",
"module_type" : "SwiftTarget",
"name" : "GraphPoint",
"path" : "Sources/GraphPoint",
"product_dependencies" : [
"Swift2D"
],
"product_memberships" : [
"GraphPoint"
],
"sources" : [
"Arc.swift",
"CartesianFrame.swift",
"CartesianPlane.swift",
"CartesianPoint.swift",
"Degree.swift",
"GraphPointError.swift",
"Quadrant.swift",
"Radian.swift",
"Radius.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.