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 Geodesic with Swift 6.0 (beta) for macOS (SPM) (6e72f8) on 29 Jun 2024 21:33:37 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.2.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.44.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/sbooth/Geodesic.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/Geodesic
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6e72f87 Update README.md (#10)
Cloned https://github.com/sbooth/Geodesic.git
Revision (git rev-parse @):
6e72f87570522e71f8cc81705e10e3f055abc3a8
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/sbooth/Geodesic.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/sbooth/Geodesic.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Beta.2.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
[1/3] Write swift-version--14728B76ED507284.txt
[2/3] Compiling CGeodesic geodesic.c
[4/5] Compiling Geodesic CLLocationCoordinate2D+Geodesic.swift
/Users/admin/builder/spi-builder-workspace/Sources/Geodesic/CLLocationCoordinate2D+Geodesic.swift:227:13: warning: static property 'wgs84' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
225 | extension CLLocationCoordinate2D {
226 | 	/// The WGS-84 ellipsoid.
227 | 	static var wgs84: geod_geodesic = {
    |             |- warning: static property 'wgs84' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'wgs84' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'wgs84' 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
228 | 		var g = geod_geodesic()
229 | 		geod_init(&g, 6378137, 1 / 298.257223563)
[5/5] Emitting module Geodesic
/Users/admin/builder/spi-builder-workspace/Sources/Geodesic/CLLocationCoordinate2D+Geodesic.swift:227:13: warning: static property 'wgs84' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
225 | extension CLLocationCoordinate2D {
226 | 	/// The WGS-84 ellipsoid.
227 | 	static var wgs84: geod_geodesic = {
    |             |- warning: static property 'wgs84' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
    |             |- note: convert 'wgs84' to a 'let' constant to make 'Sendable' shared state immutable
    |             |- note: annotate 'wgs84' 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
228 | 		var g = geod_geodesic()
229 | 		geod_init(&g, 6378137, 1 / 298.257223563)
Build complete! (8.23s)
Fetching https://github.com/sbooth/CGeodesic
[1/83] Fetching cgeodesic
Fetched https://github.com/sbooth/CGeodesic from cache (0.78s)
Computing version for https://github.com/sbooth/CGeodesic
Computed https://github.com/sbooth/CGeodesic at 2.1.0 (0.62s)
Creating working copy for https://github.com/sbooth/CGeodesic
Working copy of https://github.com/sbooth/CGeodesic resolved at 2.1.0
Build complete.
{
  "dependencies" : [
    {
      "identity" : "cgeodesic",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/sbooth/CGeodesic"
    }
  ],
  "manifest_display_name" : "Geodesic",
  "name" : "Geodesic",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Geodesic",
      "targets" : [
        "Geodesic"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "GeodesicTests",
      "module_type" : "SwiftTarget",
      "name" : "GeodesicTests",
      "path" : "Tests/GeodesicTests",
      "sources" : [
        "GeodesicTests.swift"
      ],
      "target_dependencies" : [
        "Geodesic"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Geodesic",
      "module_type" : "SwiftTarget",
      "name" : "Geodesic",
      "path" : "Sources/Geodesic",
      "product_dependencies" : [
        "CGeodesic"
      ],
      "product_memberships" : [
        "Geodesic"
      ],
      "sources" : [
        "CLLocationCoordinate2D+Geodesic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.