The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of CoreGPX, reference 0.9.3 (42662c), with Swift 6.0 for Linux on 2 Dec 2024 02:14:16 UTC.

Swift 6 data race errors: 2

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vincentneo/CoreGPX.git
Reference: 0.9.3
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
 * tag               0.9.3      -> FETCH_HEAD
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 0.9.3
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/vincentneo/CoreGPX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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 Converters.swift
[5/33] Compiling CoreGPX DateTimeParsers.swift
[6/33] Compiling CoreGPX GPXAuthor.swift
[7/33] Compiling CoreGPX GPXBounds.swift
[8/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
[9/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
[10/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
[11/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
[12/33] Compiling CoreGPX GPXWaypoint.swift
[13/33] Compiling CoreGPX GPXWaypointProtocol.swift
[14/33] Compiling CoreGPX NSMutableString+XML.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 GPXRoot.swift
[20/33] Compiling CoreGPX GPXRoute.swift
[21/33] Compiling CoreGPX GPXRoutePoint.swift
[22/33] Compiling CoreGPX GPXRouteProtocol.swift
[23/33] Compiling CoreGPX GPXTrack.swift
[24/33] Compiling CoreGPX GPXTrackPoint.swift
[25/33] Compiling CoreGPX GPXTrackSegment.swift
[26/33] Compiling CoreGPX GPXCompression.swift
[27/33] Compiling CoreGPX GPXCopyright.swift
[28/33] Compiling CoreGPX GPXElement.swift
[29/33] Compiling CoreGPX GPXEmail.swift
[30/33] Compiling CoreGPX GPXLegacy.swift
[31/33] Compiling CoreGPX GPXLink.swift
[32/33] Compiling CoreGPX GPXMetadata.swift
[33/33] Compiling CoreGPX GPXParser.swift
Build complete! (12.41s)
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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.