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 main (540f1b), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 02:28:15 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: 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 540f1b9 Update swift.yml (#11)
Cloned https://github.com/sbooth/Geodesic.git
Revision (git rev-parse @):
540f1b9fb7ef739001f850ae1d40d3000146fb18
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/sbooth/Geodesic.git at main
Fetching https://github.com/sbooth/CGeodesic
[1/93] 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.68s)
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.75s)
Fetching https://github.com/sbooth/CGeodesic from cache
Fetched https://github.com/sbooth/CGeodesic from cache (0.46s)
Computing version for https://github.com/sbooth/CGeodesic
Computed https://github.com/sbooth/CGeodesic at 2.1.0 (0.03s)
Creating working copy for https://github.com/sbooth/Geodesic.git
Working copy of https://github.com/sbooth/Geodesic.git resolved at main (540f1b9)
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.64s)
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/main
Repository:               sbooth/Geodesic
Swift version used:       6.0
Target:                   Geodesic
Extracting symbol information for 'Geodesic'...
Finished extracting symbol information for 'Geodesic'. (2.79s)
Building documentation for 'Geodesic'...
Finished building documentation for 'Geodesic' (0.17s)
Generated documentation archive at:
  /Users/admin/builder/spi-builder-workspace/.docs/sbooth/geodesic/main
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/sbooth/CGeodesic
Updated https://github.com/sbooth/CGeodesic (0.46s)
[1/2038] Fetching swift-docc-plugin
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.23s)
Computing version for https://github.com/sbooth/CGeodesic
Computed https://github.com/sbooth/CGeodesic at 2.1.0 (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.69s)
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.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.65s)
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
[3/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/57] Emitting module SymbolKit
[11/57] Compiling SymbolKit SemanticVersion.swift
[12/57] Compiling SymbolKit AccessControl.swift
[13/57] Compiling SymbolKit Availability.swift
[14/57] Compiling SymbolKit AvailabilityItem.swift
[15/57] Compiling SymbolKit Domain.swift
[16/57] Compiling SymbolKit Identifier.swift
[17/57] Compiling SymbolKit KindIdentifier.swift
[18/57] Compiling SymbolKit Location.swift
[19/57] Compiling SymbolKit Mutability.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[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 Relationship.swift
[40/57] Compiling SymbolKit RelationshipKind.swift
[41/57] Compiling SymbolKit SourceOrigin.swift
[42/57] Compiling SymbolKit GenericConstraints.swift
[43/57] Compiling SymbolKit Swift.swift
[44/57] Compiling SymbolKit Symbol.swift
[45/57] Compiling SymbolKit SymbolKind.swift
[46/57] Compiling SymbolKit SymbolGraph.swift
[47/57] Compiling SymbolKit GraphCollector.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] Compiling snippet_extract URL+Status.swift
[57/61] Emitting module snippet_extract
[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.41s)
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/3] Emitting module Geodesic
[3/3] Compiling Geodesic CLLocationCoordinate2D+Geodesic.swift
Build of target: 'Geodesic' complete! (0.53s)
      88
2	/Users/admin/builder/spi-builder-workspace/.docs/sbooth/geodesic/main
✅  Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/sbooth/geodesic/main
File count: 88
Doc size:   2.0MB
Preparing doc bundle ...
Uploading prod-sbooth-geodesic-main-9a275d88.zip to s3://spi-docs-inbox/prod-sbooth-geodesic-main-9a275d88.zip
Copying... [18%]
Copying... [36%]
Copying... [54%]
Copying... [72%]
Copying... [90%]
Copying... [100%]
Done.