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 iShape, reference 1.13.0 (5093a2), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 04:34:52 UTC.

Swift 6 data race errors: 1

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/iShape-Swift/iShape.git
Reference: 1.13.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/iShape-Swift/iShape
 * tag               1.13.0     -> FETCH_HEAD
HEAD is now at 5093a24 fix version
Cloned https://github.com/iShape-Swift/iShape.git
Revision (git rev-parse @):
5093a243acb8bad08545a74165bd82aa84fda313
SUCCESS checkout https://github.com/iShape-Swift/iShape.git at 1.13.0
Fetching https://github.com/iShape-Swift/iFixFloat
[1/195] Fetching ifixfloat
Fetched https://github.com/iShape-Swift/iFixFloat from cache (0.71s)
Computing version for https://github.com/iShape-Swift/iFixFloat
Computed https://github.com/iShape-Swift/iFixFloat at 1.9.0 (1.18s)
Creating working copy for https://github.com/iShape-Swift/iFixFloat
Working copy of https://github.com/iShape-Swift/iFixFloat resolved at 1.9.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": "ishape",
      "name": "iShape",
      "url": "https://github.com/iShape-Swift/iShape.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iShape",
      "dependencies": [
        {
          "identity": "ifixfloat",
          "name": "iFixFloat",
          "url": "https://github.com/iShape-Swift/iFixFloat",
          "version": "1.9.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/iFixFloat",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/iShape-Swift/iShape.git
[1/437] Fetching ishape
Fetched https://github.com/iShape-Swift/iShape.git from cache (0.66s)
Fetching https://github.com/iShape-Swift/iFixFloat from cache
Fetched https://github.com/iShape-Swift/iFixFloat from cache (0.42s)
Computing version for https://github.com/iShape-Swift/iFixFloat
Computed https://github.com/iShape-Swift/iFixFloat at 1.9.0 (0.47s)
Creating working copy for https://github.com/iShape-Swift/iFixFloat
Working copy of https://github.com/iShape-Swift/iFixFloat resolved at 1.9.0
Creating working copy for https://github.com/iShape-Swift/iShape.git
Working copy of https://github.com/iShape-Swift/iShape.git resolved at 1.13.0 (5093a24)
warning: '.resolve-product-dependencies': dependency 'ishape' is not used by any target
Found 1 product dependencies
  - iFixFloat
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/iShape-Swift/iShape.git
https://github.com/iShape-Swift/iShape.git
{
  "dependencies" : [
    {
      "identity" : "ifixfloat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/iShape-Swift/iFixFloat"
    }
  ],
  "manifest_display_name" : "iShape",
  "name" : "iShape",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "iShape",
      "targets" : [
        "iShape"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iShapeTests",
      "module_type" : "SwiftTarget",
      "name" : "iShapeTests",
      "path" : "Tests/iShapeTests",
      "sources" : [
        "AdapterTests.swift",
        "iShapeTests.swift"
      ],
      "target_dependencies" : [
        "iShape"
      ],
      "type" : "test"
    },
    {
      "c99name" : "iShape",
      "module_type" : "SwiftTarget",
      "name" : "iShape",
      "path" : "Sources/iShape",
      "product_dependencies" : [
        "iFixFloat"
      ],
      "product_memberships" : [
        "iShape"
      ],
      "sources" : [
        "Fix/FixBnd.swift",
        "Fix/FixPath.swift",
        "Fix/FixPaths.swift",
        "Fix/FixShape.swift",
        "Fix/FixShapes.swift",
        "Graphic/Adapter.swift",
        "Graphic/CGFloat.swift",
        "Graphic/CGPoint.swift",
        "Int/Path.swift",
        "Int/Shape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/13] Compiling iFixFloat UInt128.swift
[5/14] Compiling iFixFloat Triangle.swift
[6/14] Emitting module iFixFloat
[7/14] Compiling iFixFloat FixAngle.swift
[8/14] Compiling iFixFloat BitPack.swift
[9/14] Compiling iFixFloat Vec.swift
[10/14] Compiling iFixFloat Point.swift
[11/14] Compiling iFixFloat FixSin.swift
[12/14] Compiling iFixFloat Rect.swift
[13/14] Compiling iFixFloat FixFloat.swift
[14/14] Compiling iFixFloat FixVec.swift
[15/24] Compiling iShape FixShapes.swift
[16/25] Emitting module iShape
/Users/admin/builder/spi-builder-workspace/Sources/iShape/Fix/FixBnd.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FixBnd' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import iFixFloat
  9 |
 10 | public struct FixBnd: Equatable {
    |               `- note: consider making struct 'FixBnd' conform to the 'Sendable' protocol
 11 |
 12 |     public static let zero = FixBnd(min: .zero, max: .zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FixBnd' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public let min: FixVec
[17/25] Compiling iShape Shape.swift
[18/25] Compiling iShape Path.swift
[19/25] Compiling iShape CGFloat.swift
[20/25] Compiling iShape CGPoint.swift
[21/25] Compiling iShape FixShape.swift
[22/25] Compiling iShape FixBnd.swift
/Users/admin/builder/spi-builder-workspace/Sources/iShape/Fix/FixBnd.swift:12:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FixBnd' may have shared mutable state; this is an error in the Swift 6 language mode
  8 | import iFixFloat
  9 |
 10 | public struct FixBnd: Equatable {
    |               `- note: consider making struct 'FixBnd' conform to the 'Sendable' protocol
 11 |
 12 |     public static let zero = FixBnd(min: .zero, max: .zero)
    |                       |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FixBnd' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public let min: FixVec
[23/25] Compiling iShape FixPaths.swift
[24/25] Compiling iShape FixPath.swift
[25/25] Compiling iShape Adapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/iShape/Graphic/Adapter.swift:173:13: warning: immutable value 'unionRect' was never used; consider replacing with '_' or removing it
171 |
172 |     init?(rect0: CGRect?, rect1: CGRect?) {
173 |         let unionRect: CGRect
    |             `- warning: immutable value 'unionRect' was never used; consider replacing with '_' or removing it
174 |         if let rect0 = rect0, let rect1 = rect1 {
175 |             self = CGRect(rect0: rect0, rect1: rect1)
Build complete! (6.77s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "ifixfloat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/iShape-Swift/iFixFloat"
    }
  ],
  "manifest_display_name" : "iShape",
  "name" : "iShape",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "iShape",
      "targets" : [
        "iShape"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "iShapeTests",
      "module_type" : "SwiftTarget",
      "name" : "iShapeTests",
      "path" : "Tests/iShapeTests",
      "sources" : [
        "AdapterTests.swift",
        "iShapeTests.swift"
      ],
      "target_dependencies" : [
        "iShape"
      ],
      "type" : "test"
    },
    {
      "c99name" : "iShape",
      "module_type" : "SwiftTarget",
      "name" : "iShape",
      "path" : "Sources/iShape",
      "product_dependencies" : [
        "iFixFloat"
      ],
      "product_memberships" : [
        "iShape"
      ],
      "sources" : [
        "Fix/FixBnd.swift",
        "Fix/FixPath.swift",
        "Fix/FixPaths.swift",
        "Fix/FixShape.swift",
        "Fix/FixShapes.swift",
        "Graphic/Adapter.swift",
        "Graphic/CGFloat.swift",
        "Graphic/CGPoint.swift",
        "Int/Path.swift",
        "Int/Shape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Done.