This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of GPX with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 4

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/isklikas/iOS-GPX-Framework.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/isklikas/iOS-GPX-Framework
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7b387b4 Update README.md
Cloned https://github.com/isklikas/iOS-GPX-Framework.git
Revision (git rev-parse @):
7b387b48b04786a0856aec4e933be7acb914a776
SUCCESS checkout https://github.com/isklikas/iOS-GPX-Framework.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/isklikas/iOS-GPX-Framework.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 GPXPoint.swift
[5/29] Compiling GPX GPXPointSegment.swift
[6/29] Compiling GPX GPXRoot.swift
[7/29] Compiling GPX GPXLink.swift
[8/29] Compiling GPX GPXMetadata.swift
[9/29] Compiling GPX GPXPerson.swift
[10/29] Compiling GPX GPXRoute.swift
[11/29] Compiling GPX GPXRoutePoint.swift
[12/29] Compiling GPX GPXTrack.swift
[13/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 |
[14/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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 non-isolated 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 |
[15/29] Compiling GPX GPXAuthor.swift
[16/29] Compiling GPX GPXBounds.swift
[17/29] Compiling GPX GPXCopyright.swift
[18/29] Compiling GPX GPXTrailsTrackExtensions.swift
[19/29] Compiling GPX GPXTrailsTrackPointExtensions.swift
[20/29] Compiling GPX GPXTrackPoint.swift
[21/29] Compiling GPX GPXTrackPointExtensions.swift
[22/29] Compiling GPX GPXTrackSegment.swift
[23/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 non-isolated 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 non-isolated 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 |     /**
[24/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 non-isolated 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 non-isolated 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 |     /**
[25/29] Compiling GPX GPXElement.swift
[26/29] Compiling GPX GPXEmail.swift
[27/29] Compiling GPX GPXExtensions.swift
[28/29] Compiling GPX GPXLogger.swift
[29/29] Compiling GPX GPXParser.swift
Build complete! (26.03s)
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/sample.gpx",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/GPXTests/mystic_basin_trail.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.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.