Build Information
Successful build of GeoProjector with Swift 6.0 for Linux.
Swift 6 data race errors: 4
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/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/maparoni/GeoProjector.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/maparoni/GeoProjector
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8f48d3f Switch to MIT license (#23)
Cloned https://github.com/maparoni/GeoProjector.git
Revision (git rev-parse @):
8f48d3faca2cc40c39a1fd884b588a9a550c176f
SUCCESS checkout https://github.com/maparoni/GeoProjector.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/maparoni/GeoProjector.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/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/maparoni/geojsonkit.git
Fetching https://github.com/maparoni/geojsonkit-turf
Fetching https://github.com/apple/swift-argument-parser
[1/3064] Fetching geojsonkit-turf
[1564/3426] Fetching geojsonkit-turf, geojsonkit
[3424/15105] Fetching geojsonkit-turf, geojsonkit, swift-argument-parser
Fetched https://github.com/maparoni/geojsonkit-turf from cache (0.49s)
[1177/12041] Fetching geojsonkit, swift-argument-parser
Fetched https://github.com/maparoni/geojsonkit.git from cache (0.78s)
Computing version for https://github.com/maparoni/geojsonkit-turf
Fetched https://github.com/apple/swift-argument-parser from cache (0.78s)
Computed https://github.com/maparoni/geojsonkit-turf at 0.2.0 (0.53s)
Computing version for https://github.com/maparoni/geojsonkit.git
Computed https://github.com/maparoni/geojsonkit.git at 0.5.2 (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.55s)
Creating working copy for https://github.com/maparoni/geojsonkit.git
Working copy of https://github.com/maparoni/geojsonkit.git resolved at 0.5.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/maparoni/geojsonkit-turf
Working copy of https://github.com/maparoni/geojsonkit-turf resolved at 0.2.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/9] Compiling GeoJSONKit GeoJSON.swift
[8/9] Compiling GeoJSONKit GeoJSON+Codable.swift
[9/9] Emitting module GeoJSONKit
[11/25] Emitting module GeoJSONKitTurf
[12/27] Compiling GeoJSONKitTurf Turf+BoundingBox.swift
[13/27] Compiling GeoJSONKitTurf Turf+GeometryObject.swift
[14/27] Compiling GeoJSONKitTurf CoreLocation.swift
[15/27] Compiling GeoJSONKitTurf GeoJSON+Helpers.swift
[16/27] Compiling GeoJSONKitTurf Position+Helpers.swift
[17/27] Compiling GeoJSONKitTurf RadianCoordinate2D.swift
[18/27] Compiling GeoJSONKitTurf ClosestCoordinate.swift
[19/27] Compiling GeoJSONKitTurf ConvexHull.swift
[20/27] Compiling GeoJSONKitTurf Simplify.swift
[21/27] Compiling GeoJSONKitTurf Spline.swift
[22/27] Compiling GeoJSONKitTurf Turf+Polygon.swift
[23/27] Compiling GeoJSONKitTurf Turf.swift
[24/27] Compiling GeoJSONKitTurf Turf+LineString.swift
[25/27] Compiling GeoJSONKitTurf Turf+LinearRing.swift
[26/27] Compiling GeoJSONKitTurf DouglasPeucker.swift
[27/27] Compiling GeoJSONKitTurf MonotoneChain.swift
[29/36] Compiling GeoProjector Interpolator.swift
[30/36] Emitting module GeoProjector
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:85:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct EdgeInsets: Hashable {
| `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
85 | public static let zero = EdgeInsets()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' 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
86 |
87 | public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:13:21: warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Point: Hashable {
13 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
14 |
15 | public init(x: Double, y: Double) {
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:30:21: warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct Size: Hashable {
30 | public static var zero = Size(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
31 |
32 | public init(width: Double, height: Double) {
[31/36] Compiling GeoProjector Projection.swift
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:85:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct EdgeInsets: Hashable {
| `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
85 | public static let zero = EdgeInsets()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' 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
86 |
87 | public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
[32/37] Compiling GeoProjector Projections+Orthographic.swift
[33/37] Compiling GeoProjector Projections+Azimuthal.swift
[34/37] Compiling GeoProjector Projections+Cylindrical.swift
[35/37] Compiling GeoProjector Projections.swift
[36/37] Compiling GeoProjector Projections+Pseudocylindrical.swift
[37/37] Compiling GeoProjector Structs.swift
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:13:21: warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | public struct Point: Hashable {
13 | public static var zero = Point(x: 0, y: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
14 |
15 | public init(x: Double, y: Double) {
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:30:21: warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct Size: Hashable {
30 | public static var zero = Size(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
31 |
32 | public init(width: Double, height: Double) {
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:85:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct EdgeInsets: Hashable {
| `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
85 | public static let zero = EdgeInsets()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' 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
86 |
87 | public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
[39/45] Compiling GeoDrawer GeoMap+AppKit.swift
[40/45] Compiling GeoDrawer GeoMap+UIKit.swift
[41/45] Compiling GeoDrawer GeoJSON+Continents.swift
[42/45] Compiling GeoDrawer GeoDrawer+UIKit.swift
[43/45] Compiling GeoDrawer GeoDrawer+CoreGraphics.swift
[44/45] Emitting module GeoDrawer
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:85:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct EdgeInsets: Hashable {
| `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
85 | public static let zero = EdgeInsets()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' 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
86 |
87 | public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
[45/45] Compiling GeoDrawer GeoDrawer.swift
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:85:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
82 | }
83 |
84 | public struct EdgeInsets: Hashable {
| `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
85 | public static let zero = EdgeInsets()
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' 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
86 |
87 | public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:30:21: warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
28 |
29 | public struct Size: Hashable {
30 | public static var zero = Size(width: 0, height: 0)
| |- warning: static property 'zero' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
31 |
32 | public init(width: Double, height: Double) {
/host/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:87:49: warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | return acc
86 | } else if let first = points.first {
87 | var rect = Rect(origin: first, size: .zero)
| `- warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
88 | for point in points.dropFirst() {
89 | rect.absorb(point)
/host/spi-builder-workspace/Sources/GeoProjector/Structs.swift:30:21: note: static property declared here
28 |
29 | public struct Size: Hashable {
30 | public static var zero = Size(width: 0, height: 0)
| `- note: static property declared here
31 |
32 | public init(width: Double, height: Double) {
Build complete! (21.45s)
Build complete.
{
"dependencies" : [
{
"identity" : "geojsonkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/maparoni/geojsonkit.git"
},
{
"identity" : "geojsonkit-turf",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/maparoni/geojsonkit-turf"
}
],
"manifest_display_name" : "GeoProjector",
"name" : "GeoProjector",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "xros",
"version" : "1.0"
}
],
"products" : [
{
"name" : "GeoProjector",
"targets" : [
"GeoProjector"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "GeoDrawer",
"targets" : [
"GeoDrawer"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GeoProjectorTests",
"module_type" : "SwiftTarget",
"name" : "GeoProjectorTests",
"path" : "Tests/GeoProjectorTests",
"sources" : [
"MapBoundsTests.swift",
"ProjectionTests.swift",
"TranslationTests.swift"
],
"target_dependencies" : [
"GeoProjector"
],
"type" : "test"
},
{
"c99name" : "GeoProjector",
"module_type" : "SwiftTarget",
"name" : "GeoProjector",
"path" : "Sources/GeoProjector",
"product_dependencies" : [
"GeoJSONKit",
"GeoJSONKitTurf"
],
"product_memberships" : [
"GeoProjector",
"GeoDrawer"
],
"sources" : [
"Interpolator.swift",
"Projection.swift",
"Projections+Azimuthal.swift",
"Projections+Cylindrical.swift",
"Projections+Orthographic.swift",
"Projections+Pseudocylindrical.swift",
"Projections.swift",
"Structs.swift"
],
"type" : "library"
},
{
"c99name" : "GeoDrawer",
"module_type" : "SwiftTarget",
"name" : "GeoDrawer",
"path" : "Sources/GeoDrawer",
"product_memberships" : [
"GeoDrawer"
],
"sources" : [
"GeoDrawer+CoreGraphics.swift",
"GeoDrawer+UIKit.swift",
"GeoDrawer.swift",
"GeoJSON+Continents.swift",
"GeoMap+AppKit.swift",
"GeoMap+UIKit.swift"
],
"target_dependencies" : [
"GeoProjector"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.