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, reference v1.0.0 (9e28b2), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 02:28:32 UTC.

Swift 6 data race errors: 1

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.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: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/Geodesic.git at v1.0.0
Fetching https://github.com/sbooth/CGeodesic
[1/93] Fetching cgeodesic
Fetched https://github.com/sbooth/CGeodesic from cache (0.80s)
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
========================================
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": "geodesic",
      "name": "Geodesic",
      "url": "https://github.com/sbooth/Geodesic.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Geodesic",
      "dependencies": [
        {
          "identity": "cgeodesic",
          "name": "CGeodesic",
          "url": "https://github.com/sbooth/CGeodesic",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/CGeodesic",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/sbooth/Geodesic.git
[1/220] Fetching geodesic
Fetched https://github.com/sbooth/Geodesic.git from cache (0.74s)
Fetching https://github.com/sbooth/CGeodesic from cache
Fetched https://github.com/sbooth/CGeodesic from cache (0.47s)
Computing version for https://github.com/sbooth/CGeodesic
Computed https://github.com/sbooth/CGeodesic at 2.1.0 (0.02s)
Creating working copy for https://github.com/sbooth/Geodesic.git
Working copy of https://github.com/sbooth/Geodesic.git resolved at v1.0.0 (9e28b2e)
Creating working copy for https://github.com/sbooth/CGeodesic
Working copy of https://github.com/sbooth/CGeodesic resolved at 2.1.0
warning: '.resolve-product-dependencies': dependency 'geodesic' is not used by any target
Found 1 product dependencies
  - CGeodesic
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/sbooth/Geodesic.git
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
Building for debugging...
[0/3] Write sources
[1/3] Write swift-version--7754E27361AE5C74.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 nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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! (6.81s)
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"
}
✅  Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path:  $PWD/.docs/sbooth/geodesic/v1.0.0
Repository:               sbooth/Geodesic
Swift version used:       6.0
Target:                   Geodesic
Extracting symbol information for 'Geodesic'...
Finished extracting symbol information for 'Geodesic'. (2.56s)
Building documentation for 'Geodesic'...
Finished building documentation for 'Geodesic' (0.15s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/sbooth/geodesic/v1.0.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/sbooth/CGeodesic
Updated https://github.com/sbooth/CGeodesic (0.45s)
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.27s)
Computing version for https://github.com/sbooth/CGeodesic
Computed https://github.com/sbooth/CGeodesic at 2.1.0 (0.73s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.67s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.68s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[2/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit GenericConstraint.swift
[7/53] Compiling SymbolKit GenericParameter.swift
[8/53] Compiling SymbolKit Generics.swift
[9/53] Compiling SymbolKit Namespace.swift
[10/53] Compiling SymbolKit Mixin+Equals.swift
[11/53] Compiling SymbolKit Mixin+Hash.swift
[12/53] Compiling SymbolKit Mixin.swift
[13/53] Compiling SymbolKit LineList.swift
[14/53] Compiling SymbolKit Position.swift
[15/57] Compiling SymbolKit SemanticVersion.swift
[16/57] Compiling SymbolKit AccessControl.swift
[17/57] Compiling SymbolKit Availability.swift
[18/57] Compiling SymbolKit AvailabilityItem.swift
[19/57] Compiling SymbolKit Domain.swift
[20/57] Compiling SymbolKit Identifier.swift
[21/57] Compiling SymbolKit KindIdentifier.swift
[22/57] Compiling SymbolKit Location.swift
[23/57] Compiling SymbolKit Mutability.swift
[24/57] Emitting module SymbolKit
[25/57] Compiling SymbolKit DeclarationFragments.swift
[26/57] Compiling SymbolKit Fragment.swift
[27/57] Compiling SymbolKit FragmentKind.swift
[28/57] Compiling SymbolKit FunctionParameter.swift
[29/57] Compiling SymbolKit FunctionSignature.swift
[30/57] Compiling SymbolKit Names.swift
[31/57] Compiling SymbolKit SPI.swift
[32/57] Compiling SymbolKit Snippet.swift
[33/57] Compiling SymbolKit Extension.swift
[34/57] Compiling SymbolKit SourceRange.swift
[35/57] Compiling SymbolKit Metadata.swift
[36/57] Compiling SymbolKit Module.swift
[37/57] Compiling SymbolKit OperatingSystem.swift
[38/57] Compiling SymbolKit Platform.swift
[39/57] Compiling SymbolKit Symbol.swift
[40/57] Compiling SymbolKit SymbolKind.swift
[41/57] Compiling SymbolKit SymbolGraph.swift
[42/57] Compiling SymbolKit GraphCollector.swift
[43/57] Compiling SymbolKit Relationship.swift
[44/57] Compiling SymbolKit RelationshipKind.swift
[45/57] Compiling SymbolKit SourceOrigin.swift
[46/57] Compiling SymbolKit GenericConstraints.swift
[47/57] Compiling SymbolKit Swift.swift
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets SnippetParser.swift
[53/57] Compiling Snippets Snippet.swift
[54/57] Emitting module Snippets
[55/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[56/61] Emitting module snippet_extract
[57/61] Compiling snippet_extract URL+Status.swift
[58/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.35s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Compiling Geodesic CLLocationCoordinate2D+Geodesic.swift
[3/3] Emitting module Geodesic
Build of target: 'Geodesic' complete! (0.49s)
      88
2	/Users/admin/builder/spi-builder-workspace/.docs/sbooth/geodesic/v1.0.0
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sbooth/geodesic/v1.0.0
File count: 88
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-sbooth-geodesic-v1.0.0-57b6267b.zip to s3://spi-docs-inbox/prod-sbooth-geodesic-v1.0.0-57b6267b.zip
Copying... [18%]
Copying... [36%]
Copying... [54%]
Copying... [72%]
Copying... [90%]
Copying... [100%]
Done.