Build Information
Successful build of GPX, reference 1.1.0 (e89d1b
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:36:49 UTC.
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isklikas/iOS-GPX-Framework.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/isklikas/iOS-GPX-Framework
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at e89d1b3 Async approach
Cloned https://github.com/isklikas/iOS-GPX-Framework.git
Revision (git rev-parse @):
e89d1b3691cf48fda80734aba7fb27709b95e4b4
SUCCESS checkout https://github.com/isklikas/iOS-GPX-Framework.git at 1.1.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "ios-gpx-framework",
"name": "GPX",
"url": "https://github.com/isklikas/iOS-GPX-Framework.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iOS-GPX-Framework",
"dependencies": [
]
}
]
}
Fetching https://github.com/isklikas/iOS-GPX-Framework.git
[6/538] Fetching ios-gpx-framework
Fetched https://github.com/isklikas/iOS-GPX-Framework.git from cache (0.86s)
Creating working copy for https://github.com/isklikas/iOS-GPX-Framework.git
Working copy of https://github.com/isklikas/iOS-GPX-Framework.git resolved at 1.1.0 (e89d1b3)
warning: '.resolve-product-dependencies': dependency 'ios-gpx-framework' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/isklikas/iOS-GPX-Framework.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/27] Emitting module GPX
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPX-Extensions.swift:15:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public extension DispatchQueue {
14 |
15 | private static var _onceTracker = [String]()
| |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_onceTracker' 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
16 |
17 | /**
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:23:16: warning: static property 'dateFormatter_ssZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | class GPXType: NSObject {
22 | static let pred = NSUUID().uuidString
23 | static var dateFormatter_ssZ: DateFormatter?
| |- warning: static property 'dateFormatter_ssZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_ssZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_ssZ' 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
24 | static let pred_ss_SSSZ = NSUUID().uuidString
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:25:16: warning: static property 'dateFormatter_ss_SSSZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var dateFormatter_ssZ: DateFormatter?
24 | static let pred_ss_SSSZ = NSUUID().uuidString
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
| |- warning: static property 'dateFormatter_ss_SSSZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_ss_SSSZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_ss_SSSZ' 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
26 | static let pred_sszzzz = NSUUID().uuidString
27 | static var dateFormatter_sszzzz: DateFormatter?
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:27:16: warning: static property 'dateFormatter_sszzzz' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
26 | static let pred_sszzzz = NSUUID().uuidString
27 | static var dateFormatter_sszzzz: DateFormatter?
| |- warning: static property 'dateFormatter_sszzzz' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_sszzzz' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_sszzzz' 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
28 |
29 |
[4/29] Compiling GPX GPXAuthor.swift
[5/29] Compiling GPX GPXBounds.swift
[6/29] Compiling GPX GPXCopyright.swift
[7/29] Compiling GPX GPXType.swift
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:23:16: warning: static property 'dateFormatter_ssZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | class GPXType: NSObject {
22 | static let pred = NSUUID().uuidString
23 | static var dateFormatter_ssZ: DateFormatter?
| |- warning: static property 'dateFormatter_ssZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_ssZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_ssZ' 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
24 | static let pred_ss_SSSZ = NSUUID().uuidString
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:25:16: warning: static property 'dateFormatter_ss_SSSZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var dateFormatter_ssZ: DateFormatter?
24 | static let pred_ss_SSSZ = NSUUID().uuidString
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
| |- warning: static property 'dateFormatter_ss_SSSZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_ss_SSSZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_ss_SSSZ' 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
26 | static let pred_sszzzz = NSUUID().uuidString
27 | static var dateFormatter_sszzzz: DateFormatter?
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:27:16: warning: static property 'dateFormatter_sszzzz' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
26 | static let pred_sszzzz = NSUUID().uuidString
27 | static var dateFormatter_sszzzz: DateFormatter?
| |- warning: static property 'dateFormatter_sszzzz' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_sszzzz' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_sszzzz' 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
28 |
29 |
[8/29] Compiling GPX GPXXMLParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:23:16: warning: static property 'dateFormatter_ssZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
21 | class GPXType: NSObject {
22 | static let pred = NSUUID().uuidString
23 | static var dateFormatter_ssZ: DateFormatter?
| |- warning: static property 'dateFormatter_ssZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_ssZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_ssZ' 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
24 | static let pred_ss_SSSZ = NSUUID().uuidString
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:25:16: warning: static property 'dateFormatter_ss_SSSZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 | static var dateFormatter_ssZ: DateFormatter?
24 | static let pred_ss_SSSZ = NSUUID().uuidString
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
| |- warning: static property 'dateFormatter_ss_SSSZ' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_ss_SSSZ' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_ss_SSSZ' 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
26 | static let pred_sszzzz = NSUUID().uuidString
27 | static var dateFormatter_sszzzz: DateFormatter?
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXType.swift:27:16: warning: static property 'dateFormatter_sszzzz' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var dateFormatter_ss_SSSZ: DateFormatter?
26 | static let pred_sszzzz = NSUUID().uuidString
27 | static var dateFormatter_sszzzz: DateFormatter?
| |- warning: static property 'dateFormatter_sszzzz' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'dateFormatter_sszzzz' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'dateFormatter_sszzzz' 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
28 |
29 |
[9/29] Compiling GPX GPXLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXParser.swift:106:34: warning: sending 'parsedElement' risks causing data races; this is an error in the Swift 6 language mode
104 | continuation.resume(throwing: error);
105 | case .success(let parsedElement):
106 | continuation.resume(returning: parsedElement);
| |- warning: sending 'parsedElement' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'parsedElement' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
107 | }
108 | })
[10/29] Compiling GPX GPXParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPXParser.swift:106:34: warning: sending 'parsedElement' risks causing data races; this is an error in the Swift 6 language mode
104 | continuation.resume(throwing: error);
105 | case .success(let parsedElement):
106 | continuation.resume(returning: parsedElement);
| |- warning: sending 'parsedElement' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'parsedElement' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
107 | }
108 | })
[11/29] Compiling GPX GPXRoute.swift
[12/29] Compiling GPX GPXRoutePoint.swift
[13/29] Compiling GPX GPXTrack.swift
[14/29] Compiling GPX GPXWaypoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPX-Extensions.swift:15:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public extension DispatchQueue {
14 |
15 | private static var _onceTracker = [String]()
| |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_onceTracker' 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
16 |
17 | /**
[15/29] Compiling GPX GPX-Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/GPX/GPX-Extensions.swift:15:24: warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public extension DispatchQueue {
14 |
15 | private static var _onceTracker = [String]()
| |- warning: static property '_onceTracker' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_onceTracker' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_onceTracker' 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
16 |
17 | /**
[16/29] Compiling GPX GPXTrailsTrackExtensions.swift
[17/29] Compiling GPX GPXTrailsTrackPointExtensions.swift
[18/29] Compiling GPX GPXLink.swift
[19/29] Compiling GPX GPXMetadata.swift
[20/29] Compiling GPX GPXPerson.swift
[21/29] Compiling GPX GPXElement.swift
[22/29] Compiling GPX GPXEmail.swift
[23/29] Compiling GPX GPXExtensions.swift
[24/29] Compiling GPX GPXTrackPoint.swift
[25/29] Compiling GPX GPXTrackPointExtensions.swift
[26/29] Compiling GPX GPXTrackSegment.swift
[27/29] Compiling GPX GPXPoint.swift
[28/29] Compiling GPX GPXPointSegment.swift
[29/29] Compiling GPX GPXRoot.swift
Build complete! (20.61s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "GPX",
"name" : "GPX",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "GPX",
"targets" : [
"GPX"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "GPXTests",
"module_type" : "SwiftTarget",
"name" : "GPXTests",
"path" : "Tests/GPXTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GPXTests/mystic_basin_trail.gpx",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/GPXTests/sample.gpx",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"GPXTests.swift"
],
"target_dependencies" : [
"GPX"
],
"type" : "test"
},
{
"c99name" : "GPX",
"module_type" : "SwiftTarget",
"name" : "GPX",
"path" : "Sources/GPX",
"product_memberships" : [
"GPX"
],
"sources" : [
"Element/GPXAuthor.swift",
"Element/GPXBounds.swift",
"Element/GPXCopyright.swift",
"Element/GPXElement.swift",
"Element/GPXEmail.swift",
"Element/GPXExtensions.swift",
"Element/GPXLink.swift",
"Element/GPXMetadata.swift",
"Element/GPXPerson.swift",
"Element/GPXPoint.swift",
"Element/GPXPointSegment.swift",
"Element/GPXRoot.swift",
"Element/GPXRoute.swift",
"Element/GPXRoutePoint.swift",
"Element/GPXTrack.swift",
"Element/GPXTrackPoint.swift",
"Element/GPXTrackPointExtensions.swift",
"Element/GPXTrackSegment.swift",
"Element/GPXTrailsTrackExtensions.swift",
"Element/GPXTrailsTrackPointExtensions.swift",
"Element/GPXWaypoint.swift",
"GPX-Extensions.swift",
"GPXLogger.swift",
"GPXParser.swift",
"GPXType.swift",
"GPXXMLParser.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.