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 RCGPX with Swift 6.0 for macOS (SPM).

Swift 6 data race errors: 1

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/RCCoop/RCGPX.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RCCoop/RCGPX
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8998513 Update README.md
Cloned https://github.com/RCCoop/RCGPX.git
Revision (git rev-parse @):
89985137c2ea4b77fe96b07d416afb683a36a2b9
SUCCESS checkout https://github.com/RCCoop/RCGPX.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/RCCoop/RCGPX.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/3] Write sources
[2/3] Write swift-version-6F35C1178C84523A.txt
[4/9] Compiling AEXML Parser.swift
[5/9] Compiling AEXML Error.swift
[6/9] Compiling AEXML Options.swift
[7/9] Compiling AEXML Element.swift
[8/9] Emitting module AEXML
[9/9] Compiling AEXML Document.swift
[10/20] Compiling RCGPX GPXTrack+Internals.swift
/Users/admin/builder/spi-builder-workspace/Sources/RCGPX/GPXTrack.swift:66:29: warning: static property 'dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 64 |         public var time: Date?
 65 |
 66 |         internal static var dateFormatter: ISO8601DateFormatter? = {
    |                             |- warning: static property 'dateFormatter' 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' to a 'let' constant to make 'Sendable' shared state immutable
    |                             |- note: annotate 'dateFormatter' 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
 67 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
 68 |                 return nil
[11/21] Compiling RCGPX GPXDocument.swift
[12/21] Compiling RCGPX GPXFeature.swift
[13/21] Compiling RCGPX GPXWaypoint+Internals.swift
[14/21] Compiling RCGPX GPXDocument+Internals.swift
[15/21] Compiling RCGPX GPXWaypoint.swift
[16/21] Emitting module RCGPX
/Users/admin/builder/spi-builder-workspace/Sources/RCGPX/GPXTrack.swift:66:29: warning: static property 'dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 64 |         public var time: Date?
 65 |
 66 |         internal static var dateFormatter: ISO8601DateFormatter? = {
    |                             |- warning: static property 'dateFormatter' 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' to a 'let' constant to make 'Sendable' shared state immutable
    |                             |- note: annotate 'dateFormatter' 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
 67 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
 68 |                 return nil
[17/21] Compiling RCGPX GPXRoute.swift
[18/21] Compiling RCGPX GPXElement.swift
[19/21] Compiling RCGPX GPXRoute+Internals.swift
[20/21] Compiling RCGPX GPXTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/RCGPX/GPXTrack.swift:66:29: warning: static property 'dateFormatter' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
 64 |         public var time: Date?
 65 |
 66 |         internal static var dateFormatter: ISO8601DateFormatter? = {
    |                             |- warning: static property 'dateFormatter' 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' to a 'let' constant to make 'Sendable' shared state immutable
    |                             |- note: annotate 'dateFormatter' 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
 67 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
 68 |                 return nil
[21/21] Compiling RCGPX UTType+GPX.swift
Build complete! (22.58s)
Fetching https://github.com/tadija/AEXML.git
[1/2095] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.98s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.0 (0.66s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "aexml",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.6.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tadija/AEXML.git"
    }
  ],
  "manifest_display_name" : "RCGPX",
  "name" : "RCGPX",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "macos",
      "version" : "10.12"
    },
    {
      "name" : "watchos",
      "version" : "3.0"
    }
  ],
  "products" : [
    {
      "name" : "RCGPX",
      "targets" : [
        "RCGPX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "RCGPXTests",
      "module_type" : "SwiftTarget",
      "name" : "RCGPXTests",
      "path" : "Tests/RCGPXTests",
      "product_dependencies" : [
        "AEXML"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/RCGPXTests/GPSVisSample.gpx",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "RCGPXTests.swift"
      ],
      "target_dependencies" : [
        "RCGPX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RCGPX",
      "module_type" : "SwiftTarget",
      "name" : "RCGPX",
      "path" : "Sources/RCGPX",
      "product_dependencies" : [
        "AEXML"
      ],
      "product_memberships" : [
        "RCGPX"
      ],
      "sources" : [
        "GPXDocument.swift",
        "GPXFeature.swift",
        "GPXRoute.swift",
        "GPXTrack.swift",
        "GPXWaypoint.swift",
        "Internal/GPXDocument+Internals.swift",
        "Internal/GPXElement.swift",
        "Internal/GPXRoute+Internals.swift",
        "Internal/GPXTrack+Internals.swift",
        "Internal/GPXWaypoint+Internals.swift",
        "UTType+GPX.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.