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 CoreGPX, reference master (42662c), with Swift 6.1 for Linux on 29 Apr 2025 15:26:32 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vincentneo/CoreGPX.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/vincentneo/CoreGPX
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 42662cc iOS minimum deployment is now set to v12.
Cloned https://github.com/vincentneo/CoreGPX.git
Revision (git rev-parse @):
42662cc9235d385bdd0356c8f4cb7b581da24e39
SUCCESS checkout https://github.com/vincentneo/CoreGPX.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vincentneo/CoreGPX.git
https://github.com/vincentneo/CoreGPX.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoreGPX",
  "name" : "CoreGPX",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreGPX",
      "targets" : [
        "CoreGPX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoreGPXTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreGPXTests",
      "path" : "Example/Tests",
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "CoreGPX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreGPX",
      "module_type" : "SwiftTarget",
      "name" : "CoreGPX",
      "path" : "Classes",
      "product_memberships" : [
        "CoreGPX"
      ],
      "sources" : [
        "Converters.swift",
        "DateTimeParsers.swift",
        "GPXAuthor.swift",
        "GPXBounds.swift",
        "GPXCompression.swift",
        "GPXCopyright.swift",
        "GPXElement.swift",
        "GPXEmail.swift",
        "GPXError.swift",
        "GPXExtensions.swift",
        "GPXExtensionsElement.swift",
        "GPXFix.swift",
        "GPXLegacy.swift",
        "GPXLink.swift",
        "GPXMetadata.swift",
        "GPXParser.swift",
        "GPXPerson.swift",
        "GPXPoint.swift",
        "GPXPointSegment.swift",
        "GPXRawElement.swift",
        "GPXRoot.swift",
        "GPXRoute.swift",
        "GPXRoutePoint.swift",
        "GPXRouteProtocol.swift",
        "GPXTrack.swift",
        "GPXTrackPoint.swift",
        "GPXTrackSegment.swift",
        "GPXWaypoint.swift",
        "GPXWaypointProtocol.swift",
        "NSMutableString+XML.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/30] Emitting module CoreGPX
/host/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 |     public enum coordinates: Error {
15 |         /// when lat is outside range (-90˚ to 90˚)
16 |         case invalidLatitude(dueTo: reason)
   |              `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
/host/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 |         case invalidLatitude(dueTo: reason)
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
   |              `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
[4/33] Compiling CoreGPX GPXWaypoint.swift
[5/33] Compiling CoreGPX GPXWaypointProtocol.swift
[6/33] Compiling CoreGPX NSMutableString+XML.swift
[7/33] Compiling CoreGPX Converters.swift
[8/33] Compiling CoreGPX DateTimeParsers.swift
[9/33] Compiling CoreGPX GPXAuthor.swift
[10/33] Compiling CoreGPX GPXBounds.swift
[11/33] Compiling CoreGPX GPXCompression.swift
[12/33] Compiling CoreGPX GPXCopyright.swift
[13/33] Compiling CoreGPX GPXElement.swift
[14/33] Compiling CoreGPX GPXEmail.swift
[15/33] Compiling CoreGPX GPXPerson.swift
[16/33] Compiling CoreGPX GPXPoint.swift
[17/33] Compiling CoreGPX GPXPointSegment.swift
[18/33] Compiling CoreGPX GPXRawElement.swift
[19/33] Compiling CoreGPX GPXError.swift
/host/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 |     public enum coordinates: Error {
15 |         /// when lat is outside range (-90˚ to 90˚)
16 |         case invalidLatitude(dueTo: reason)
   |              `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
/host/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 |         case invalidLatitude(dueTo: reason)
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
   |              `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
[20/33] Compiling CoreGPX GPXExtensions.swift
/host/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 |     public enum coordinates: Error {
15 |         /// when lat is outside range (-90˚ to 90˚)
16 |         case invalidLatitude(dueTo: reason)
   |              `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
/host/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 |         case invalidLatitude(dueTo: reason)
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
   |              `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
[21/33] Compiling CoreGPX GPXExtensionsElement.swift
/host/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 |     public enum coordinates: Error {
15 |         /// when lat is outside range (-90˚ to 90˚)
16 |         case invalidLatitude(dueTo: reason)
   |              `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
/host/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 |         case invalidLatitude(dueTo: reason)
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
   |              `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
[22/33] Compiling CoreGPX GPXFix.swift
/host/spi-builder-workspace/Classes/GPXError.swift:16:14: warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
14 |     public enum coordinates: Error {
15 |         /// when lat is outside range (-90˚ to 90˚)
16 |         case invalidLatitude(dueTo: reason)
   |              `- warning: associated value 'invalidLatitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
/host/spi-builder-workspace/Classes/GPXError.swift:18:14: warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
16 |         case invalidLatitude(dueTo: reason)
17 |         /// when lon is outside range (-180˚ to 180˚)
18 |         case invalidLongitude(dueTo: reason)
   |              `- warning: associated value 'invalidLongitude(dueTo:)' of 'Sendable'-conforming enum 'coordinates' has non-sendable type 'GPXError.coordinates.reason'; this is an error in the Swift 6 language mode
19 |
20 |         /// reason of why a coordinate error is thrown.
21 |         public enum reason {
   |                     `- note: consider making enum 'reason' conform to the 'Sendable' protocol
22 |             /// < -90˚ (lat) / < -180˚ (lon)
23 |             case underLimit
[23/33] Compiling CoreGPX GPXLegacy.swift
[24/33] Compiling CoreGPX GPXLink.swift
[25/33] Compiling CoreGPX GPXMetadata.swift
[26/33] Compiling CoreGPX GPXParser.swift
[27/33] Compiling CoreGPX GPXRoot.swift
[28/33] Compiling CoreGPX GPXRoute.swift
[29/33] Compiling CoreGPX GPXRoutePoint.swift
[30/33] Compiling CoreGPX GPXRouteProtocol.swift
[31/33] Compiling CoreGPX GPXTrack.swift
[32/33] Compiling CoreGPX GPXTrackPoint.swift
[33/33] Compiling CoreGPX GPXTrackSegment.swift
Build complete! (8.54s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CoreGPX",
  "name" : "CoreGPX",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "CoreGPX",
      "targets" : [
        "CoreGPX"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CoreGPXTests",
      "module_type" : "SwiftTarget",
      "name" : "CoreGPXTests",
      "path" : "Example/Tests",
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "CoreGPX"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CoreGPX",
      "module_type" : "SwiftTarget",
      "name" : "CoreGPX",
      "path" : "Classes",
      "product_memberships" : [
        "CoreGPX"
      ],
      "sources" : [
        "Converters.swift",
        "DateTimeParsers.swift",
        "GPXAuthor.swift",
        "GPXBounds.swift",
        "GPXCompression.swift",
        "GPXCopyright.swift",
        "GPXElement.swift",
        "GPXEmail.swift",
        "GPXError.swift",
        "GPXExtensions.swift",
        "GPXExtensionsElement.swift",
        "GPXFix.swift",
        "GPXLegacy.swift",
        "GPXLink.swift",
        "GPXMetadata.swift",
        "GPXParser.swift",
        "GPXPerson.swift",
        "GPXPoint.swift",
        "GPXPointSegment.swift",
        "GPXRawElement.swift",
        "GPXRoot.swift",
        "GPXRoute.swift",
        "GPXRoutePoint.swift",
        "GPXRouteProtocol.swift",
        "GPXTrack.swift",
        "GPXTrackPoint.swift",
        "GPXTrackSegment.swift",
        "GPXWaypoint.swift",
        "GPXWaypointProtocol.swift",
        "NSMutableString+XML.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.