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 GeoProjector, reference 0.1.1 (81395c), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 07:23:55 UTC.

Swift 6 data race errors: 3

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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maparoni/GeoProjector.git
Reference: 0.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maparoni/GeoProjector
 * tag               0.1.1      -> FETCH_HEAD
HEAD is now at 81395c8 Tweaks (#20)
Cloned https://github.com/maparoni/GeoProjector.git
Revision (git rev-parse @):
81395c8281c84d647bde1b6d8ca1aeb37f5978a6
SUCCESS checkout https://github.com/maparoni/GeoProjector.git at 0.1.1
Fetching https://github.com/maparoni/geojsonkit-turf
Fetching https://github.com/maparoni/geojsonkit.git
Fetching https://github.com/apple/swift-argument-parser
[1/3064] Fetching geojsonkit-turf
[124/3426] Fetching geojsonkit-turf, geojsonkit
[1449/15821] Fetching geojsonkit-turf, geojsonkit, swift-argument-parser
Fetched https://github.com/maparoni/geojsonkit.git from cache (1.52s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.52s)
Fetched https://github.com/maparoni/geojsonkit-turf from cache (1.52s)
Computing version for https://github.com/maparoni/geojsonkit-turf
Computed https://github.com/maparoni/geojsonkit-turf at 0.2.0 (0.60s)
Computing version for https://github.com/maparoni/geojsonkit.git
Computed https://github.com/maparoni/geojsonkit.git at 0.5.2 (0.58s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.61s)
Creating working copy for https://github.com/maparoni/geojsonkit.git
Working copy of https://github.com/maparoni/geojsonkit.git resolved at 0.5.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.3
Creating working copy for https://github.com/maparoni/geojsonkit-turf
Working copy of https://github.com/maparoni/geojsonkit-turf resolved at 0.2.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": "geoprojector",
      "name": "GeoProjector",
      "url": "https://github.com/maparoni/GeoProjector.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GeoProjector",
      "dependencies": [
        {
          "identity": "geojsonkit",
          "name": "GeoJSONKit",
          "url": "https://github.com/maparoni/geojsonkit.git",
          "version": "0.6.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/geojsonkit",
          "dependencies": [
          ]
        },
        {
          "identity": "geojsonkit-turf",
          "name": "GeoJSONKitTurf",
          "url": "https://github.com/maparoni/geojsonkit-turf",
          "version": "0.4.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/geojsonkit-turf",
          "dependencies": [
            {
              "identity": "geojsonkit",
              "name": "GeoJSONKit",
              "url": "https://github.com/maparoni/geojsonkit.git",
              "version": "0.6.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/geojsonkit",
              "dependencies": [
              ]
            },
            {
              "identity": "swift-argument-parser",
              "name": "swift-argument-parser",
              "url": "https://github.com/apple/swift-argument-parser",
              "version": "1.5.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/maparoni/GeoProjector.git
[16/780] Fetching geoprojector
Fetched https://github.com/maparoni/GeoProjector.git from cache (1.07s)
Fetching https://github.com/maparoni/geojsonkit.git from cache
Fetching https://github.com/maparoni/geojsonkit-turf from cache
Fetched https://github.com/maparoni/geojsonkit-turf from cache (0.48s)
Fetched https://github.com/maparoni/geojsonkit.git from cache (0.48s)
Computing version for https://github.com/maparoni/geojsonkit.git
Computed https://github.com/maparoni/geojsonkit.git at 0.6.0 (0.54s)
Computing version for https://github.com/maparoni/geojsonkit-turf
Computed https://github.com/maparoni/geojsonkit-turf at 0.4.1 (0.55s)
Fetching https://github.com/apple/swift-argument-parser from cache
Fetched https://github.com/apple/swift-argument-parser from cache (0.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.44s)
Creating working copy for https://github.com/maparoni/geojsonkit.git
Working copy of https://github.com/maparoni/geojsonkit.git resolved at 0.6.0
Creating working copy for https://github.com/maparoni/GeoProjector.git
Working copy of https://github.com/maparoni/GeoProjector.git resolved at 0.1.1 (81395c8)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.0
Creating working copy for https://github.com/maparoni/geojsonkit-turf
Working copy of https://github.com/maparoni/geojsonkit-turf resolved at 0.4.1
warning: '.resolve-product-dependencies': dependency 'geoprojector' is not used by any target
Found 2 product dependencies
  - GeoJSONKit
  - GeoJSONKitTurf
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/maparoni/GeoProjector.git
{
  "dependencies" : [
    {
      "identity" : "geojsonkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit.git"
    },
    {
      "identity" : "geojsonkit-turf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit-turf"
    }
  ],
  "manifest_display_name" : "GeoProjector",
  "name" : "GeoProjector",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "xros",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GeoProjector",
      "targets" : [
        "GeoProjector"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GeoDrawer",
      "targets" : [
        "GeoDrawer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeoProjectorTests",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjectorTests",
      "path" : "Tests/GeoProjectorTests",
      "sources" : [
        "MapBoundsTests.swift",
        "ProjectionTests.swift",
        "TranslationTests.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeoProjector",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjector",
      "path" : "Sources/GeoProjector",
      "product_dependencies" : [
        "GeoJSONKit",
        "GeoJSONKitTurf"
      ],
      "product_memberships" : [
        "GeoProjector",
        "GeoDrawer"
      ],
      "sources" : [
        "Interpolator.swift",
        "Projection.swift",
        "Projections+Azimuthal.swift",
        "Projections+Cylindrical.swift",
        "Projections+Orthographic.swift",
        "Projections+Pseudocylindrical.swift",
        "Projections.swift",
        "Structs.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GeoDrawer",
      "module_type" : "SwiftTarget",
      "name" : "GeoDrawer",
      "path" : "Sources/GeoDrawer",
      "product_memberships" : [
        "GeoDrawer"
      ],
      "sources" : [
        "GeoDrawer+CoreGraphics.swift",
        "GeoDrawer+UIKit.swift",
        "GeoDrawer.swift",
        "GeoJSON+Continents.swift",
        "GeoMap+AppKit.swift",
        "GeoMap+UIKit.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
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 -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/6] Write sources
[5/6] Write swift-version--7754E27361AE5C74.txt
[7/9] Compiling GeoJSONKit GeoJSON.swift
[8/9] Emitting module GeoJSONKit
[9/9] Compiling GeoJSONKit GeoJSON+Codable.swift
[10/25] Compiling GeoJSONKitTurf Turf+Polygon.swift
[11/25] Compiling GeoJSONKitTurf DouglasPeucker.swift
[12/26] Compiling GeoJSONKitTurf Simplify.swift
[13/26] Compiling GeoJSONKitTurf Spline.swift
[14/26] Compiling GeoJSONKitTurf Turf+BoundingBox.swift
[15/26] Compiling GeoJSONKitTurf Turf+GeometryObject.swift
[16/26] Compiling GeoJSONKitTurf ClosestCoordinate.swift
[17/26] Compiling GeoJSONKitTurf ConvexHull.swift
[18/26] Emitting module GeoJSONKitTurf
[19/26] Compiling GeoJSONKitTurf CoreLocation.swift
[20/26] Compiling GeoJSONKitTurf GeoJSON+Helpers.swift
[21/26] Compiling GeoJSONKitTurf Turf.swift
[22/26] Compiling GeoJSONKitTurf Position+Helpers.swift
[23/26] Compiling GeoJSONKitTurf RadianCoordinate2D.swift
[24/26] Compiling GeoJSONKitTurf Turf+LineString.swift
[25/26] Compiling GeoJSONKitTurf Turf+LinearRing.swift
[26/26] Compiling GeoJSONKitTurf MonotoneChain.swift
[27/35] Compiling GeoProjector Projections.swift
[28/35] Compiling GeoProjector Projections+Pseudocylindrical.swift
[29/35] Compiling GeoProjector Projections+Orthographic.swift
[30/35] Compiling GeoProjector Projections+Cylindrical.swift
[31/35] Compiling GeoProjector Projections+Azimuthal.swift
[32/35] Compiling GeoProjector Structs.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:17:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | public struct Point: Hashable {
 17 |   public static var zero = Point(x: 0, y: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'zero' 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
 18 |
 19 |   public init(x: Double, y: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:34:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 | public struct Size: Hashable {
 34 |   public static var zero = Size(width: 0, height: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'zero' 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
 35 |
 36 |   public init(width: Double, height: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:89:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
 86 | }
 87 |
 88 | public struct EdgeInsets: Hashable {
    |               `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
 89 |   public static let zero = EdgeInsets()
    |                     |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'zero' 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
 90 |
 91 |   public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
[33/35] Compiling GeoProjector Interpolator.swift
[34/35] Emitting module GeoProjector
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:89:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
 86 | }
 87 |
 88 | public struct EdgeInsets: Hashable {
    |               `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
 89 |   public static let zero = EdgeInsets()
    |                     |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'zero' 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
 90 |
 91 |   public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:17:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 15 |
 16 | public struct Point: Hashable {
 17 |   public static var zero = Point(x: 0, y: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'zero' 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
 18 |
 19 |   public init(x: Double, y: Double) {
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:34:21: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 32 |
 33 | public struct Size: Hashable {
 34 |   public static var zero = Size(width: 0, height: 0)
    |                     |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: annotate 'zero' 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
 35 |
 36 |   public init(width: Double, height: Double) {
[35/35] Compiling GeoProjector Projection.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:89:21: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
 86 | }
 87 |
 88 | public struct EdgeInsets: Hashable {
    |               `- note: consider making struct 'EdgeInsets' conform to the 'Sendable' protocol
 89 |   public static let zero = EdgeInsets()
    |                     |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'EdgeInsets' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: annotate 'zero' 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
 90 |
 91 |   public init(top: Double = 0, left: Double = 0, bottom: Double = 0, right: Double = 0) {
[36/42] Compiling GeoDrawer GeoJSON+Continents.swift
[37/42] Compiling GeoDrawer GeoDrawer.swift
/Users/admin/builder/spi-builder-workspace/Sources/GeoDrawer/GeoDrawer.swift:91:49: warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 89 |           return acc
 90 |         } else if let first = points.first {
 91 |           var rect = Rect(origin: first, size: .zero)
    |                                                 `- warning: reference to static property 'zero' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 92 |           for point in points.dropFirst() {
 93 |             rect.absorb(point)
/Users/admin/builder/spi-builder-workspace/Sources/GeoProjector/Structs.swift:34:21: note: static property declared here
 32 |
 33 | public struct Size: Hashable {
 34 |   public static var zero = Size(width: 0, height: 0)
    |                     `- note: static property declared here
 35 |
 36 |   public init(width: Double, height: Double) {
[38/42] Compiling GeoDrawer GeoDrawer+UIKit.swift
[39/42] Compiling GeoDrawer GeoDrawer+CoreGraphics.swift
[40/42] Compiling GeoDrawer GeoMap+UIKit.swift
[41/42] Compiling GeoDrawer GeoMap+AppKit.swift
[42/42] Emitting module GeoDrawer
Build complete! (19.69s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "geojsonkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit.git"
    },
    {
      "identity" : "geojsonkit-turf",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/maparoni/geojsonkit-turf"
    }
  ],
  "manifest_display_name" : "GeoProjector",
  "name" : "GeoProjector",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "xros",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "GeoProjector",
      "targets" : [
        "GeoProjector"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GeoDrawer",
      "targets" : [
        "GeoDrawer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeoProjectorTests",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjectorTests",
      "path" : "Tests/GeoProjectorTests",
      "sources" : [
        "MapBoundsTests.swift",
        "ProjectionTests.swift",
        "TranslationTests.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GeoProjector",
      "module_type" : "SwiftTarget",
      "name" : "GeoProjector",
      "path" : "Sources/GeoProjector",
      "product_dependencies" : [
        "GeoJSONKit",
        "GeoJSONKitTurf"
      ],
      "product_memberships" : [
        "GeoProjector",
        "GeoDrawer"
      ],
      "sources" : [
        "Interpolator.swift",
        "Projection.swift",
        "Projections+Azimuthal.swift",
        "Projections+Cylindrical.swift",
        "Projections+Orthographic.swift",
        "Projections+Pseudocylindrical.swift",
        "Projections.swift",
        "Structs.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GeoDrawer",
      "module_type" : "SwiftTarget",
      "name" : "GeoDrawer",
      "path" : "Sources/GeoDrawer",
      "product_memberships" : [
        "GeoDrawer"
      ],
      "sources" : [
        "GeoDrawer+CoreGraphics.swift",
        "GeoDrawer+UIKit.swift",
        "GeoDrawer.swift",
        "GeoJSON+Continents.swift",
        "GeoMap+AppKit.swift",
        "GeoMap+UIKit.swift"
      ],
      "target_dependencies" : [
        "GeoProjector"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.