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, reference 1.0.1 (3a5ad1), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:49:41 UTC.

Swift 6 data race errors: 1

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/RCCoop/RCGPX.git
Reference: 1.0.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/RCCoop/RCGPX
 * tag               1.0.1      -> FETCH_HEAD
HEAD is now at 3a5ad1b Added UTType.gpx
Cloned https://github.com/RCCoop/RCGPX.git
Revision (git rev-parse @):
3a5ad1bc6498e94b304870123fa5fbf17b7fbfd0
SUCCESS checkout https://github.com/RCCoop/RCGPX.git at 1.0.1
Fetching https://github.com/tadija/AEXML.git
[1/2102] 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.63s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.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": "rcgpx",
      "name": "RCGPX",
      "url": "https://github.com/RCCoop/RCGPX.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RCGPX",
      "dependencies": [
        {
          "identity": "aexml",
          "name": "AEXML",
          "url": "https://github.com/tadija/AEXML.git",
          "version": "4.7.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AEXML",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/RCCoop/RCGPX.git
[1/120] Fetching rcgpx
Fetched https://github.com/RCCoop/RCGPX.git from cache (0.72s)
Fetching https://github.com/tadija/AEXML.git from cache
Fetched https://github.com/tadija/AEXML.git from cache (0.51s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.50s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/RCCoop/RCGPX.git
Working copy of https://github.com/RCCoop/RCGPX.git resolved at 1.0.1 (3a5ad1b)
warning: '.resolve-product-dependencies': dependency 'rcgpx' is not used by any target
Found 1 product dependencies
  - AEXML
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/RCCoop/RCGPX.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/9] Compiling AEXML Parser.swift
[5/9] Compiling AEXML Options.swift
[6/9] Compiling AEXML Document.swift
[7/9] Compiling AEXML Element.swift
[8/9] Compiling AEXML Error.swift
[9/9] Emitting module AEXML
[10/18] Compiling RCGPX GPXWaypoint+Internals.swift
[11/18] Compiling RCGPX UTType+GPX.swift
[12/18] Compiling RCGPX GPXWaypoint.swift
[13/18] Emitting module RCGPX
/Users/admin/builder/spi-builder-workspace/Sources/RCGPX/GPXTrack.swift:67:29: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 |         public var time: Date?
66 |
67 |         internal static var dateFormatter: ISO8601DateFormatter? = {
   |                             |- warning: static property 'dateFormatter' 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' 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
68 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
69 |                 return nil
[14/18] Compiling RCGPX GPXDocument.swift
[15/18] Compiling RCGPX GPXTrack.swift
/Users/admin/builder/spi-builder-workspace/Sources/RCGPX/GPXTrack.swift:67:29: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 |         public var time: Date?
66 |
67 |         internal static var dateFormatter: ISO8601DateFormatter? = {
   |                             |- warning: static property 'dateFormatter' 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' 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
68 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
69 |                 return nil
[16/18] Compiling RCGPX GPXDocument+Internals.swift
[17/18] Compiling RCGPX GPXElement.swift
[18/18] Compiling RCGPX GPXTrack+Internals.swift
/Users/admin/builder/spi-builder-workspace/Sources/RCGPX/GPXTrack.swift:67:29: warning: static property 'dateFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
65 |         public var time: Date?
66 |
67 |         internal static var dateFormatter: ISO8601DateFormatter? = {
   |                             |- warning: static property 'dateFormatter' 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' 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
68 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
69 |                 return nil
Build complete! (9.84s)
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",
        "GPXTrack.swift",
        "GPXWaypoint.swift",
        "Internal/GPXDocument+Internals.swift",
        "Internal/GPXElement.swift",
        "Internal/GPXTrack+Internals.swift",
        "Internal/GPXWaypoint+Internals.swift",
        "UTType+GPX.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.