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) (9e28b2) on 29 Jun 2024 21:32:10 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: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/sbooth/Geodesic
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 9e28b2e Update README.md
Cloned https://github.com/sbooth/Geodesic.git
Revision (git rev-parse @):
9e28b2e71c7a147ca4ad885e129b7e4c99c53329
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/sbooth/Geodesic.git at v1.0.0
========================================
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] 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)
[5/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)
Build complete! (7.63s)
Fetching https://github.com/sbooth/CGeodesic
[3/83] Fetching cgeodesic
Fetched https://github.com/sbooth/CGeodesic from cache (0.77s)
Computing version for https://github.com/sbooth/CGeodesic
Computed https://github.com/sbooth/CGeodesic at 2.1.0 (0.64s)
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.