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 5.0.0 (f77baf), with Swift 6.1 for Linux on 27 Apr 2025 01:07:21 UTC.

Swift 6 data race errors: 3

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/richardpiazza/GraphPoint.git
Reference: 5.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/richardpiazza/GraphPoint
 * tag               5.0.0      -> FETCH_HEAD
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 5.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/richardpiazza/GraphPoint.git
https://github.com/richardpiazza/GraphPoint.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/richardpiazza/Swift2D
[1/231] Fetching swift2d
Fetched https://github.com/richardpiazza/Swift2D from cache (0.24s)
Computing version for https://github.com/richardpiazza/Swift2D
Computed https://github.com/richardpiazza/Swift2D at 2.1.0 (0.78s)
Creating working copy for https://github.com/richardpiazza/Swift2D
Working copy of https://github.com/richardpiazza/Swift2D resolved at 2.1.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/12] Compiling Swift2D Size+Computed.swift
[5/12] Compiling Swift2D Rect.swift
[6/13] Compiling Swift2D Size.swift
[7/13] Compiling Swift2D Size+CoreGraphics.swift
[8/13] Compiling Swift2D Rect+Computed.swift
[9/13] Compiling Swift2D Rect+CoreGraphics.swift
[10/13] Emitting module Swift2D
[11/13] Compiling Swift2D Point.swift
[12/13] Compiling Swift2D Point+Computed.swift
[13/13] Compiling Swift2D Point+CoreGraphics.swift
[15/23] Compiling GraphPoint Radian.swift
[16/24] Compiling GraphPoint Quadrant.swift
[17/24] Compiling GraphPoint GraphPointError.swift
/host/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)
/host/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 |
 4 |     public var x: Double
/host/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 |
/host/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)
/host/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 |
/host/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/24] Compiling GraphPoint Degree.swift
[19/24] Compiling GraphPoint Radius.swift
[20/24] Emitting module GraphPoint
/host/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)
/host/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 |
 4 |     public var x: Double
/host/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 |
/host/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)
/host/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 |
/host/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)
[21/24] Compiling GraphPoint Arc.swift
[22/24] Compiling GraphPoint CartesianFrame.swift
[23/24] Compiling GraphPoint CartesianPoint.swift
[24/24] Compiling GraphPoint CartesianPlane.swift
Build complete! (10.39s)
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" : "/host/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"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.