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 main (899851), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 01:48:59 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: 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
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.67s)
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.69s)
Fetching https://github.com/tadija/AEXML.git from cache
Fetched https://github.com/tadija/AEXML.git from cache (0.47s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.51s)
Creating working copy for https://github.com/RCCoop/RCGPX.git
Working copy of https://github.com/RCCoop/RCGPX.git resolved at main (8998513)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
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 Document.swift
[5/9] Compiling AEXML Options.swift
[6/9] Compiling AEXML Parser.swift
[7/9] Compiling AEXML Error.swift
[8/9] Compiling AEXML Element.swift
[9/9] Emitting module AEXML
[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 nonisolated 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 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
 67 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
 68 |                 return nil
[11/21] Compiling RCGPX GPXWaypoint+Internals.swift
[12/21] Compiling RCGPX GPXRoute+Internals.swift
[13/21] Compiling RCGPX GPXWaypoint.swift
[14/21] Compiling RCGPX GPXElement.swift
[15/21] Compiling RCGPX GPXDocument+Internals.swift
[16/21] Compiling RCGPX GPXDocument.swift
[17/21] Compiling RCGPX GPXFeature.swift
[18/21] Compiling RCGPX GPXRoute.swift
[19/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 nonisolated 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 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
 67 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
 68 |                 return nil
[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 nonisolated 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 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
 67 |             if #available(iOS 15.0, macOS 12.0, watchOS 8.0, *) {
 68 |                 return nil
[21/21] Compiling RCGPX UTType+GPX.swift
Build complete! (12.47s)
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.