Build Information
Successful build of GraphPoint with Swift 6.0 for Linux.
Swift 6 data race errors: 3
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/GraphPoint.git
Reference: main
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/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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/richardpiazza/GraphPoint.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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
Fetching https://github.com/richardpiazza/Swift2D
[1/231] Fetching swift2d
Fetched https://github.com/richardpiazza/Swift2D from cache (0.25s)
Computing version for https://github.com/richardpiazza/Swift2D
Computed https://github.com/richardpiazza/Swift2D at 2.0.0 (0.52s)
Creating working copy for https://github.com/richardpiazza/Swift2D
Working copy of https://github.com/richardpiazza/Swift2D resolved at 2.0.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling Swift2D Size+Computed.swift
[5/13] Compiling Swift2D Size.swift
[6/13] Compiling Swift2D Rect+Computed.swift
[7/13] Compiling Swift2D Point.swift
[8/13] Compiling Swift2D Rect+CoreGraphics.swift
[9/13] Compiling Swift2D Point+Computed.swift
[10/13] Compiling Swift2D Point+CoreGraphics.swift
[11/13] Emitting module Swift2D
[12/13] Compiling Swift2D Rect.swift
[13/13] Compiling Swift2D Size+CoreGraphics.swift
[15/23] Compiling GraphPoint GraphPointError.swift
/host/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)
/host/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
/host/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 |
/host/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)
/host/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 |
/host/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)
[16/23] Compiling GraphPoint Radian.swift
[17/24] Compiling GraphPoint Radius.swift
[18/24] Compiling GraphPoint Degree.swift
/host/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)
/host/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
/host/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)
/host/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/24] Compiling GraphPoint Quadrant.swift
[20/24] Compiling GraphPoint CartesianPlane.swift
/host/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)
/host/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/24] Emitting module GraphPoint
/host/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)
/host/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
/host/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 |
/host/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)
/host/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 |
/host/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)
[22/24] Compiling GraphPoint Arc.swift
/host/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)
/host/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
[23/24] Compiling GraphPoint CartesianFrame.swift
/host/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)
/host/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
[24/24] Compiling GraphPoint CartesianPoint.swift
/host/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)
/host/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
Build complete! (15.52s)
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" : "/host/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.