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 GraphPoint, reference main (f77baf), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 12:28:07 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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/GraphPoint.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/richardpiazza/GraphPoint
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f77bafb Floating Points (#2)
Cloned https://github.com/richardpiazza/GraphPoint.git
Revision (git rev-parse @):
f77bafbffc53c86c7963e4847ebd5ecb11fa5fcf
SUCCESS checkout https://github.com/richardpiazza/GraphPoint.git at main
Fetching https://github.com/richardpiazza/Swift2D
[1/231] Fetching swift2d
Fetched https://github.com/richardpiazza/Swift2D from cache (0.79s)
Computing version for https://github.com/richardpiazza/Swift2D
Computed https://github.com/richardpiazza/Swift2D at 2.0.0 (0.64s)
Creating working copy for https://github.com/richardpiazza/Swift2D
Working copy of https://github.com/richardpiazza/Swift2D resolved at 2.0.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": "graphpoint",
      "name": "GraphPoint",
      "url": "https://github.com/richardpiazza/GraphPoint.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GraphPoint",
      "dependencies": [
        {
          "identity": "swift2d",
          "name": "Swift2D",
          "url": "https://github.com/richardpiazza/Swift2D",
          "version": "2.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Swift2D",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/richardpiazza/GraphPoint.git
[1/568] Fetching graphpoint
Fetched https://github.com/richardpiazza/GraphPoint.git from cache (0.98s)
Fetching https://github.com/richardpiazza/Swift2D from cache
Fetched https://github.com/richardpiazza/Swift2D from cache (0.46s)
Computing version for https://github.com/richardpiazza/Swift2D
Computed https://github.com/richardpiazza/Swift2D at 2.1.0 (0.03s)
Creating working copy for https://github.com/richardpiazza/GraphPoint.git
Working copy of https://github.com/richardpiazza/GraphPoint.git resolved at main (f77bafb)
Creating working copy for https://github.com/richardpiazza/Swift2D
Working copy of https://github.com/richardpiazza/Swift2D resolved at 2.1.0
warning: '.resolve-product-dependencies': dependency 'graphpoint' is not used by any target
Found 1 product dependencies
  - Swift2D
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/richardpiazza/GraphPoint.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
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/13] Compiling Swift2D Rect.swift
[5/13] Compiling Swift2D Rect+CoreGraphics.swift
[6/13] Compiling Swift2D Point.swift
[7/13] Compiling Swift2D Point+Computed.swift
[8/13] Compiling Swift2D Size.swift
[9/13] Emitting module Swift2D
[10/13] Compiling Swift2D Size+Computed.swift
[11/13] Compiling Swift2D Size+CoreGraphics.swift
[12/13] Compiling Swift2D Rect+Computed.swift
[13/13] Compiling Swift2D Point+CoreGraphics.swift
[14/23] Compiling GraphPoint Radius.swift
[15/23] Compiling GraphPoint Radian.swift
[16/23] Compiling GraphPoint Quadrant.swift
[17/23] Compiling GraphPoint GraphPointError.swift
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:4:10: warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
2 |
3 | public enum GraphPointError: Swift.Error {
4 |     case invalidPoint(_ point: CartesianPoint)
  |          `- warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
5 |     case invalidDegree(_ degree: Degree)
6 |     case invalidRadius(_ radius: Radius)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/Sources/Swift2D/Point.swift:2:15: note: struct 'Point' does not conform to the 'Sendable' protocol
 1 | /// The representation of a single point in a two-dimensional plane.
 2 | public struct Point {
   |               `- note: struct 'Point' does not conform to the 'Sendable' protocol
 3 |     public var x: Double
 4 |     public var y: Double
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 |     case invalidDegree(_ degree: Degree)
6 |     case invalidRadius(_ radius: Radius)
7 |     case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
  |          `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
 7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
 8 | public enum Quadrant: Int, CaseIterable {
   |             `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 9 |     /// Quadrant 1
10 |     /// * x: + (positive)
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 |     case invalidDegree(_ degree: Degree)
6 |     case invalidRadius(_ radius: Radius)
7 |     case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
  |          `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
 7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
 8 | public enum Quadrant: Int, CaseIterable {
   |             `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 9 |     /// Quadrant 1
10 |     /// * x: + (positive)
[18/23] Compiling GraphPoint CartesianFrame.swift
[19/23] Emitting module GraphPoint
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:4:10: warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
2 |
3 | public enum GraphPointError: Swift.Error {
4 |     case invalidPoint(_ point: CartesianPoint)
  |          `- warning: associated value 'invalidPoint' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'CartesianPoint' (aka 'Point'); this is an error in the Swift 6 language mode
5 |     case invalidDegree(_ degree: Degree)
6 |     case invalidRadius(_ radius: Radius)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Swift2D/Sources/Swift2D/Point.swift:2:15: note: struct 'Point' does not conform to the 'Sendable' protocol
 1 | /// The representation of a single point in a two-dimensional plane.
 2 | public struct Point {
   |               `- note: struct 'Point' does not conform to the 'Sendable' protocol
 3 |     public var x: Double
 4 |     public var y: Double
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 |     case invalidDegree(_ degree: Degree)
6 |     case invalidRadius(_ radius: Radius)
7 |     case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
  |          `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
 7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
 8 | public enum Quadrant: Int, CaseIterable {
   |             `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 9 |     /// Quadrant 1
10 |     /// * x: + (positive)
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/GraphPointError.swift:7:10: warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
5 |     case invalidDegree(_ degree: Degree)
6 |     case invalidRadius(_ radius: Radius)
7 |     case unhandledQuadrantTransition(_ q1: Quadrant, _ q2: Quadrant)
  |          `- warning: associated value 'unhandledQuadrantTransition' of 'Sendable'-conforming enum 'GraphPointError' has non-sendable type 'Quadrant'; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/GraphPoint/Quadrant.swift:8:13: note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 6 | /// bounded by two half-axes. When the axes are drawn according to the mathematical custom, the numbering goes
 7 | /// counter-clockwise starting from the upper right ("northeast") quadrant.
 8 | public enum Quadrant: Int, CaseIterable {
   |             `- note: consider making enum 'Quadrant' conform to the 'Sendable' protocol
 9 |     /// Quadrant 1
10 |     /// * x: + (positive)
[20/23] Compiling GraphPoint Arc.swift
[21/23] Compiling GraphPoint CartesianPoint.swift
[22/23] Compiling GraphPoint Degree.swift
[23/23] Compiling GraphPoint CartesianPlane.swift
Build complete! (16.05s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift2d",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/richardpiazza/Swift2D"
    }
  ],
  "manifest_display_name" : "GraphPoint",
  "name" : "GraphPoint",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    }
  ],
  "products" : [
    {
      "name" : "GraphPoint",
      "targets" : [
        "GraphPoint"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "GraphPointTests",
      "module_type" : "SwiftTarget",
      "name" : "GraphPointTests",
      "path" : "Tests/GraphPointTests",
      "sources" : [
        "CartesianFrameTests.swift",
        "CartesianPlaneTests.swift",
        "CartesianPointTests.swift",
        "DegreeTests.swift",
        "QuadrantTests.swift",
        "RadianTests.swift"
      ],
      "target_dependencies" : [
        "GraphPoint"
      ],
      "type" : "test"
    },
    {
      "c99name" : "GraphPoint",
      "module_type" : "SwiftTarget",
      "name" : "GraphPoint",
      "path" : "Sources/GraphPoint",
      "product_dependencies" : [
        "Swift2D"
      ],
      "product_memberships" : [
        "GraphPoint"
      ],
      "sources" : [
        "Arc.swift",
        "CartesianFrame.swift",
        "CartesianPlane.swift",
        "CartesianPoint.swift",
        "Degree.swift",
        "GraphPointError.swift",
        "Quadrant.swift",
        "Radian.swift",
        "Radius.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.