Build Information
Successful build of CoreGPX, reference 0.9.3 (42662c
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 15:31:35 UTC.
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vincentneo/CoreGPX.git
Reference: 0.9.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vincentneo/CoreGPX
* tag 0.9.3 -> FETCH_HEAD
HEAD is now at 42662cc iOS minimum deployment is now set to v12.
Cloned https://github.com/vincentneo/CoreGPX.git
Revision (git rev-parse @):
42662cc9235d385bdd0356c8f4cb7b581da24e39
SUCCESS checkout https://github.com/vincentneo/CoreGPX.git at 0.9.3
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/vincentneo/CoreGPX.git
https://github.com/vincentneo/CoreGPX.git
{
"dependencies" : [
],
"manifest_display_name" : "CoreGPX",
"name" : "CoreGPX",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "CoreGPX",
"targets" : [
"CoreGPX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreGPXTests",
"module_type" : "SwiftTarget",
"name" : "CoreGPXTests",
"path" : "Example/Tests",
"sources" : [
"Tests.swift"
],
"target_dependencies" : [
"CoreGPX"
],
"type" : "test"
},
{
"c99name" : "CoreGPX",
"module_type" : "SwiftTarget",
"name" : "CoreGPX",
"path" : "Classes",
"product_memberships" : [
"CoreGPX"
],
"sources" : [
"Converters.swift",
"DateTimeParsers.swift",
"GPXAuthor.swift",
"GPXBounds.swift",
"GPXCompression.swift",
"GPXCopyright.swift",
"GPXElement.swift",
"GPXEmail.swift",
"GPXError.swift",
"GPXExtensions.swift",
"GPXExtensionsElement.swift",
"GPXFix.swift",
"GPXLegacy.swift",
"GPXLink.swift",
"GPXMetadata.swift",
"GPXParser.swift",
"GPXPerson.swift",
"GPXPoint.swift",
"GPXPointSegment.swift",
"GPXRawElement.swift",
"GPXRoot.swift",
"GPXRoute.swift",
"GPXRoutePoint.swift",
"GPXRouteProtocol.swift",
"GPXTrack.swift",
"GPXTrackPoint.swift",
"GPXTrackSegment.swift",
"GPXWaypoint.swift",
"GPXWaypointProtocol.swift",
"NSMutableString+XML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/30] Emitting module CoreGPX
/Users/admin/builder/spi-builder-workspace/Classes/DateTimeParsers.swift:27:24: warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | #if !os(Linux)
26 | /// Caching Calendar such that it can be used repeatedly without reinitializing it.
27 | private static var calendarCache = [Int : Calendar]()
| |- warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendarCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'calendarCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Components of Date stored together
29 | private var components = DateComponents()
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 | public enum coordinates: Error {
15 | /// when lat is outside range (-90˚ to 90˚)
16 | case invalidLatitude(dueTo: reason)
| `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 | case invalidLatitude(dueTo: reason)
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
| `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
[4/33] Compiling CoreGPX GPXWaypoint.swift
[5/33] Compiling CoreGPX GPXWaypointProtocol.swift
[6/33] Compiling CoreGPX NSMutableString+XML.swift
[7/33] Compiling CoreGPX GPXExtensions.swift
[8/33] Compiling CoreGPX GPXExtensionsElement.swift
[9/33] Compiling CoreGPX GPXFix.swift
[10/33] Compiling CoreGPX Converters.swift
/Users/admin/builder/spi-builder-workspace/Classes/DateTimeParsers.swift:27:24: warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | #if !os(Linux)
26 | /// Caching Calendar such that it can be used repeatedly without reinitializing it.
27 | private static var calendarCache = [Int : Calendar]()
| |- warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendarCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'calendarCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Components of Date stored together
29 | private var components = DateComponents()
[11/33] Compiling CoreGPX DateTimeParsers.swift
/Users/admin/builder/spi-builder-workspace/Classes/DateTimeParsers.swift:27:24: warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | #if !os(Linux)
26 | /// Caching Calendar such that it can be used repeatedly without reinitializing it.
27 | private static var calendarCache = [Int : Calendar]()
| |- warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendarCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'calendarCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Components of Date stored together
29 | private var components = DateComponents()
[12/33] Compiling CoreGPX GPXAuthor.swift
/Users/admin/builder/spi-builder-workspace/Classes/DateTimeParsers.swift:27:24: warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | #if !os(Linux)
26 | /// Caching Calendar such that it can be used repeatedly without reinitializing it.
27 | private static var calendarCache = [Int : Calendar]()
| |- warning: static property 'calendarCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'calendarCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'calendarCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Components of Date stored together
29 | private var components = DateComponents()
[13/33] Compiling CoreGPX GPXElement.swift
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 | public enum coordinates: Error {
15 | /// when lat is outside range (-90˚ to 90˚)
16 | case invalidLatitude(dueTo: reason)
| `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 | case invalidLatitude(dueTo: reason)
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
| `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
[14/33] Compiling CoreGPX GPXEmail.swift
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 | public enum coordinates: Error {
15 | /// when lat is outside range (-90˚ to 90˚)
16 | case invalidLatitude(dueTo: reason)
| `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 | case invalidLatitude(dueTo: reason)
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
| `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
[15/33] Compiling CoreGPX GPXError.swift
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 | public enum coordinates: Error {
15 | /// when lat is outside range (-90˚ to 90˚)
16 | case invalidLatitude(dueTo: reason)
| `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
/Users/admin/builder/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 | case invalidLatitude(dueTo: reason)
17 | /// when lon is outside range (-180˚ to 180˚)
18 | case invalidLongitude(dueTo: reason)
| `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 | /// reason of why a coordinate error is thrown.
21 | public enum reason {
| `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 | /// < -90˚ (lat) / < -180˚ (lon)
23 | case underLimit
[16/33] Compiling CoreGPX GPXPointSegment.swift
[17/33] Compiling CoreGPX GPXRawElement.swift
[18/33] Compiling CoreGPX GPXRoot.swift
[19/33] Compiling CoreGPX GPXParser.swift
[20/33] Compiling CoreGPX GPXPerson.swift
[21/33] Compiling CoreGPX GPXPoint.swift
[22/33] Compiling CoreGPX GPXLegacy.swift
[23/33] Compiling CoreGPX GPXLink.swift
[24/33] Compiling CoreGPX GPXMetadata.swift
[25/33] Compiling CoreGPX GPXTrack.swift
[26/33] Compiling CoreGPX GPXTrackPoint.swift
[27/33] Compiling CoreGPX GPXTrackSegment.swift
[28/33] Compiling CoreGPX GPXRoute.swift
[29/33] Compiling CoreGPX GPXRoutePoint.swift
[30/33] Compiling CoreGPX GPXRouteProtocol.swift
[31/33] Compiling CoreGPX GPXBounds.swift
[32/33] Compiling CoreGPX GPXCompression.swift
[33/33] Compiling CoreGPX GPXCopyright.swift
Build complete! (6.39s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CoreGPX",
"name" : "CoreGPX",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "watchos",
"version" : "4.0"
},
{
"name" : "visionos",
"version" : "1.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "CoreGPX",
"targets" : [
"CoreGPX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "CoreGPXTests",
"module_type" : "SwiftTarget",
"name" : "CoreGPXTests",
"path" : "Example/Tests",
"sources" : [
"Tests.swift"
],
"target_dependencies" : [
"CoreGPX"
],
"type" : "test"
},
{
"c99name" : "CoreGPX",
"module_type" : "SwiftTarget",
"name" : "CoreGPX",
"path" : "Classes",
"product_memberships" : [
"CoreGPX"
],
"sources" : [
"Converters.swift",
"DateTimeParsers.swift",
"GPXAuthor.swift",
"GPXBounds.swift",
"GPXCompression.swift",
"GPXCopyright.swift",
"GPXElement.swift",
"GPXEmail.swift",
"GPXError.swift",
"GPXExtensions.swift",
"GPXExtensionsElement.swift",
"GPXFix.swift",
"GPXLegacy.swift",
"GPXLink.swift",
"GPXMetadata.swift",
"GPXParser.swift",
"GPXPerson.swift",
"GPXPoint.swift",
"GPXPointSegment.swift",
"GPXRawElement.swift",
"GPXRoot.swift",
"GPXRoute.swift",
"GPXRoutePoint.swift",
"GPXRouteProtocol.swift",
"GPXTrack.swift",
"GPXTrackPoint.swift",
"GPXTrackSegment.swift",
"GPXWaypoint.swift",
"GPXWaypointProtocol.swift",
"NSMutableString+XML.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.