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 SwiftUIWavyRectangleShape, reference main (46ea86), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 16:37:58 UTC.

Swift 6 data race errors: 2

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/CypherPoet/SwiftUIWavyRectangleShape.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/SwiftUIWavyRectangleShape
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 46ea869 Fix range for `WavyRectangle` frequency
Cloned https://github.com/CypherPoet/SwiftUIWavyRectangleShape.git
Revision (git rev-parse @):
46ea869cb37444d22fdc84fdde37ac2ac532b5bf
SUCCESS checkout https://github.com/CypherPoet/SwiftUIWavyRectangleShape.git at main
Fetching https://github.com/CypherPoet/SwiftUIGeometryUtils
Fetching https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Fetching https://github.com/CypherPoet/ClampedPropertyWrapper
[1/137] Fetching swiftuigeometryutils
[86/246] Fetching swiftuigeometryutils, clampedpropertywrapper
[156/371] Fetching swiftuigeometryutils, clampedpropertywrapper, unitintervalpropertywrapper
Fetched https://github.com/CypherPoet/ClampedPropertyWrapper from cache (1.33s)
Fetched https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache (1.33s)
Fetched https://github.com/CypherPoet/SwiftUIGeometryUtils from cache (1.33s)
Computing version for https://github.com/CypherPoet/SwiftUIGeometryUtils
Computed https://github.com/CypherPoet/SwiftUIGeometryUtils at 0.0.3 (0.64s)
Computing version for https://github.com/CypherPoet/ClampedPropertyWrapper
Computed https://github.com/CypherPoet/ClampedPropertyWrapper at 0.2.0 (0.63s)
Computing version for https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Computed https://github.com/CypherPoet/UnitIntervalPropertyWrapper at 0.1.4 (0.68s)
Creating working copy for https://github.com/CypherPoet/SwiftUIGeometryUtils
Working copy of https://github.com/CypherPoet/SwiftUIGeometryUtils resolved at 0.0.3
Creating working copy for https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Working copy of https://github.com/CypherPoet/UnitIntervalPropertyWrapper resolved at 0.1.4
Creating working copy for https://github.com/CypherPoet/ClampedPropertyWrapper
Working copy of https://github.com/CypherPoet/ClampedPropertyWrapper resolved at 0.2.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": "swiftuiwavyrectangleshape",
      "name": "SwiftUIWavyRectangleShape",
      "url": "https://github.com/CypherPoet/SwiftUIWavyRectangleShape.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIWavyRectangleShape",
      "dependencies": [
        {
          "identity": "unitintervalpropertywrapper",
          "name": "UnitIntervalPropertyWrapper",
          "url": "https://github.com/CypherPoet/UnitIntervalPropertyWrapper",
          "version": "0.1.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UnitIntervalPropertyWrapper",
          "dependencies": [
            {
              "identity": "clampedpropertywrapper",
              "name": "ClampedPropertyWrapper",
              "url": "https://github.com/CypherPoet/ClampedPropertyWrapper",
              "version": "0.2.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ClampedPropertyWrapper",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "clampedpropertywrapper",
          "name": "ClampedPropertyWrapper",
          "url": "https://github.com/CypherPoet/ClampedPropertyWrapper",
          "version": "0.2.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ClampedPropertyWrapper",
          "dependencies": [
          ]
        },
        {
          "identity": "swiftuigeometryutils",
          "name": "SwiftUIGeometryUtils",
          "url": "https://github.com/CypherPoet/SwiftUIGeometryUtils",
          "version": "0.0.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUIGeometryUtils",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/CypherPoet/SwiftUIWavyRectangleShape.git
[1/101] Fetching swiftuiwavyrectangleshape
Fetched https://github.com/CypherPoet/SwiftUIWavyRectangleShape.git from cache (1.51s)
Fetching https://github.com/CypherPoet/ClampedPropertyWrapper from cache
Fetching https://github.com/CypherPoet/SwiftUIGeometryUtils from cache
Fetching https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache
Fetched https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache (0.53s)
Fetched https://github.com/CypherPoet/ClampedPropertyWrapper from cache (0.53s)
Fetched https://github.com/CypherPoet/SwiftUIGeometryUtils from cache (0.53s)
Computing version for https://github.com/CypherPoet/SwiftUIGeometryUtils
Computed https://github.com/CypherPoet/SwiftUIGeometryUtils at 0.0.3 (0.02s)
Computing version for https://github.com/CypherPoet/ClampedPropertyWrapper
Computed https://github.com/CypherPoet/ClampedPropertyWrapper at 0.2.0 (0.02s)
Computing version for https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Computed https://github.com/CypherPoet/UnitIntervalPropertyWrapper at 0.1.4 (0.02s)
Creating working copy for https://github.com/CypherPoet/SwiftUIWavyRectangleShape.git
Working copy of https://github.com/CypherPoet/SwiftUIWavyRectangleShape.git resolved at main (46ea869)
Creating working copy for https://github.com/CypherPoet/ClampedPropertyWrapper
Working copy of https://github.com/CypherPoet/ClampedPropertyWrapper resolved at 0.2.0
Creating working copy for https://github.com/CypherPoet/SwiftUIGeometryUtils
Working copy of https://github.com/CypherPoet/SwiftUIGeometryUtils resolved at 0.0.3
Creating working copy for https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Working copy of https://github.com/CypherPoet/UnitIntervalPropertyWrapper resolved at 0.1.4
warning: '.resolve-product-dependencies': dependency 'swiftuiwavyrectangleshape' is not used by any target
Found 3 product dependencies
  - UnitIntervalPropertyWrapper
  - ClampedPropertyWrapper
  - SwiftUIGeometryUtils
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CypherPoet/SwiftUIWavyRectangleShape.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/5] Write sources
[4/5] Write swift-version--7754E27361AE5C74.txt
[6/10] Emitting module ClampedPropertyWrapper
[7/10] Compiling ClampedPropertyWrapper Clamped.swift
[8/12] Emitting module UnitIntervalPropertyWrapper
[9/12] Compiling UnitIntervalPropertyWrapper UnitIntervalPropertyWrapper.swift
[10/12] Compiling SwiftUIGeometryUtils RectangleCorner.swift
[11/12] Emitting module SwiftUIGeometryUtils
[12/12] Compiling SwiftUIGeometryUtils CGRect+Points.swift
[13/14] Compiling SwiftUIWavyRectangleShape WavyRectangle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:29:16: warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'UnitInterval<WavyRectangle.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 27 |     /// Ratio of amplitude height to total height of the shape's bounding rect.
 28 |     @UnitInterval
 29 |     public var amplitudeRatio: HeightRatio
    |                `- warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'UnitInterval<WavyRectangle.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 30 |
 31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UnitIntervalPropertyWrapper/Sources/UnitIntervalPropertyWrapper/UnitIntervalPropertyWrapper.swift:5:15: note: generic struct 'UnitInterval' does not conform to the 'Sendable' protocol
 3 |
 4 | @propertyWrapper
 5 | public struct UnitInterval<Value: FloatingPoint> {
   |               `- note: generic struct 'UnitInterval' does not conform to the 'Sendable' protocol
 6 |
 7 |     @Clamped(to: 0...1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
 11 | import SwiftUI
 12 | import SwiftUIGeometryUtils
 13 | import UnitIntervalPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
 14 | import ClampedPropertyWrapper
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:41:16: warning: stored property '_frequency' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'Clamped<WavyRectangle.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 39 |         andBelow: .infinity
 40 |     )
 41 |     public var frequency: Hertz = 1.0
    |                `- warning: stored property '_frequency' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'Clamped<WavyRectangle.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 42 |
 43 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ClampedPropertyWrapper/Sources/ClampedPropertyWrapper/Clamped.swift:4:15: note: generic struct 'Clamped' does not conform to the 'Sendable' protocol
  2 |
  3 | @propertyWrapper
  4 | public struct Clamped<Value: Comparable> {
    |               `- note: generic struct 'Clamped' does not conform to the 'Sendable' protocol
  5 |
  6 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
 12 | import SwiftUIGeometryUtils
 13 | import UnitIntervalPropertyWrapper
 14 | import ClampedPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
 15 |
 16 |
[14/14] Emitting module SwiftUIWavyRectangleShape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:29:16: warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'UnitInterval<WavyRectangle.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 27 |     /// Ratio of amplitude height to total height of the shape's bounding rect.
 28 |     @UnitInterval
 29 |     public var amplitudeRatio: HeightRatio
    |                `- warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'UnitInterval<WavyRectangle.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 30 |
 31 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/UnitIntervalPropertyWrapper/Sources/UnitIntervalPropertyWrapper/UnitIntervalPropertyWrapper.swift:5:15: note: generic struct 'UnitInterval' does not conform to the 'Sendable' protocol
 3 |
 4 | @propertyWrapper
 5 | public struct UnitInterval<Value: FloatingPoint> {
   |               `- note: generic struct 'UnitInterval' does not conform to the 'Sendable' protocol
 6 |
 7 |     @Clamped(to: 0...1)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:13:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
 11 | import SwiftUI
 12 | import SwiftUIGeometryUtils
 13 | import UnitIntervalPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
 14 | import ClampedPropertyWrapper
 15 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:41:16: warning: stored property '_frequency' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'Clamped<WavyRectangle.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 39 |         andBelow: .infinity
 40 |     )
 41 |     public var frequency: Hertz = 1.0
    |                `- warning: stored property '_frequency' of 'Sendable'-conforming struct 'WavyRectangle' has non-sendable type 'Clamped<WavyRectangle.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 42 |
 43 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ClampedPropertyWrapper/Sources/ClampedPropertyWrapper/Clamped.swift:4:15: note: generic struct 'Clamped' does not conform to the 'Sendable' protocol
  2 |
  3 | @propertyWrapper
  4 | public struct Clamped<Value: Comparable> {
    |               `- note: generic struct 'Clamped' does not conform to the 'Sendable' protocol
  5 |
  6 |     private var value: Value
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUIWavyRectangleShape/WavyRectangle.swift:14:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
 12 | import SwiftUIGeometryUtils
 13 | import UnitIntervalPropertyWrapper
 14 | import ClampedPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
 15 |
 16 |
Build complete! (11.20s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "unitintervalpropertywrapper",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "0.2.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CypherPoet/UnitIntervalPropertyWrapper"
    },
    {
      "identity" : "clampedpropertywrapper",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.2.0",
            "upper_bound" : "0.3.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CypherPoet/ClampedPropertyWrapper"
    },
    {
      "identity" : "swiftuigeometryutils",
      "requirement" : {
        "exact" : [
          "0.0.3"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CypherPoet/SwiftUIGeometryUtils"
    }
  ],
  "manifest_display_name" : "SwiftUIWavyRectangleShape",
  "name" : "SwiftUIWavyRectangleShape",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUIWavyRectangleShape",
      "targets" : [
        "SwiftUIWavyRectangleShape"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUIWavyRectangleShapeTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIWavyRectangleShapeTests",
      "path" : "Tests/SwiftUIWavyRectangleShape",
      "sources" : [
        "Cases/SwiftUIWavyRectangleShapeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUIWavyRectangleShape"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUIWavyRectangleShape",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUIWavyRectangleShape",
      "path" : "Sources/SwiftUIWavyRectangleShape",
      "product_dependencies" : [
        "UnitIntervalPropertyWrapper",
        "ClampedPropertyWrapper",
        "SwiftUIGeometryUtils"
      ],
      "product_memberships" : [
        "SwiftUIWavyRectangleShape"
      ],
      "sources" : [
        "WavyRectangle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.