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 SwiftUISineWaveShape, reference 0.1.2 (bd81af), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 02:20:14 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 -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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CypherPoet/SwiftUISineWaveShape.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/SwiftUISineWaveShape
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at bd81afe allow for positive frequencies less than one
Cloned https://github.com/CypherPoet/SwiftUISineWaveShape.git
Revision (git rev-parse @):
bd81afeabfb0008039cf7aaa9ff51e465195b114
SUCCESS checkout https://github.com/CypherPoet/SwiftUISineWaveShape.git at 0.1.2
Fetching https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Fetching https://github.com/CypherPoet/SwiftUIGeometryUtils
Fetching https://github.com/CypherPoet/ClampedPropertyWrapper
[1/125] Fetching unitintervalpropertywrapper
[80/234] Fetching unitintervalpropertywrapper, clampedpropertywrapper
[94/371] Fetching unitintervalpropertywrapper, clampedpropertywrapper, swiftuigeometryutils
Fetched https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache (1.16s)
Fetched https://github.com/CypherPoet/SwiftUIGeometryUtils from cache (1.16s)
Fetched https://github.com/CypherPoet/ClampedPropertyWrapper from cache (1.16s)
Computing version for https://github.com/CypherPoet/SwiftUIGeometryUtils
Computed https://github.com/CypherPoet/SwiftUIGeometryUtils at 0.0.3 (0.56s)
Computing version for https://github.com/CypherPoet/ClampedPropertyWrapper
Computed https://github.com/CypherPoet/ClampedPropertyWrapper at 0.2.0 (0.55s)
Computing version for https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Computed https://github.com/CypherPoet/UnitIntervalPropertyWrapper at 0.1.4 (0.55s)
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
Creating working copy for https://github.com/CypherPoet/SwiftUIGeometryUtils
Working copy of https://github.com/CypherPoet/SwiftUIGeometryUtils resolved at 0.0.3
========================================
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": "swiftuisinewaveshape",
      "name": "SwiftUISineWaveShape",
      "url": "https://github.com/CypherPoet/SwiftUISineWaveShape.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUISineWaveShape",
      "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/SwiftUISineWaveShape.git
[1/118] Fetching swiftuisinewaveshape
Fetched https://github.com/CypherPoet/SwiftUISineWaveShape.git from cache (3.48s)
Fetching https://github.com/CypherPoet/SwiftUIGeometryUtils from cache
Fetching https://github.com/CypherPoet/ClampedPropertyWrapper from cache
Fetching https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache
Fetched https://github.com/CypherPoet/SwiftUIGeometryUtils from cache (0.51s)
Fetched https://github.com/CypherPoet/ClampedPropertyWrapper from cache (0.51s)
Fetched https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache (0.51s)
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/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
Creating working copy for https://github.com/CypherPoet/SwiftUISineWaveShape.git
Working copy of https://github.com/CypherPoet/SwiftUISineWaveShape.git resolved at 0.1.2 (bd81afe)
Creating working copy for https://github.com/CypherPoet/SwiftUIGeometryUtils
Working copy of https://github.com/CypherPoet/SwiftUIGeometryUtils resolved at 0.0.3
warning: '.resolve-product-dependencies': dependency 'swiftuisinewaveshape' 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/SwiftUISineWaveShape.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 -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/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 CGRect+Points.swift
[11/12] Compiling SwiftUIGeometryUtils RectangleCorner.swift
[12/12] Emitting module SwiftUIGeometryUtils
[13/14] Compiling SwiftUISineWaveShape SwiftUISineWaveShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:17:16: warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'UnitInterval<SineWave.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 15 |     /// Ratio of amplitude height to total height of the shape's bounding rect.
 16 |     @UnitInterval
 17 |     public var amplitudeRatio: HeightRatio
    |                `- warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'UnitInterval<SineWave.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 18 |
 19 |
/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/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
  1 | import SwiftUI
  2 | import SwiftUIGeometryUtils
  3 | import UnitIntervalPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
  4 | import ClampedPropertyWrapper
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:29:16: warning: stored property '_frequency' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'Clamped<SineWave.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 27 |         andBelow: .infinity
 28 |     )
 29 |     public var frequency: Hertz = 1.0
    |                `- warning: stored property '_frequency' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'Clamped<SineWave.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 30 |
 31 |
/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/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
  2 | import SwiftUIGeometryUtils
  3 | import UnitIntervalPropertyWrapper
  4 | import ClampedPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
  5 |
  6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:32:16: warning: stored property 'amplitudeModulation' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'SineWave.AmplitudeModulationMode'; this is an error in the Swift 6 language mode
 30 |
 31 |
 32 |     public var amplitudeModulation: AmplitudeModulationMode
    |                `- warning: stored property 'amplitudeModulation' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'SineWave.AmplitudeModulationMode'; this is an error in the Swift 6 language mode
 33 |
 34 |
    :
173 |
174 | extension SineWave {
175 |     public enum AmplitudeModulationMode {
    |                 `- note: consider making enum 'AmplitudeModulationMode' conform to the 'Sendable' protocol
176 |         case none
177 |
[14/14] Emitting module SwiftUISineWaveShape
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:17:16: warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'UnitInterval<SineWave.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 15 |     /// Ratio of amplitude height to total height of the shape's bounding rect.
 16 |     @UnitInterval
 17 |     public var amplitudeRatio: HeightRatio
    |                `- warning: stored property '_amplitudeRatio' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'UnitInterval<SineWave.HeightRatio>' (aka 'UnitInterval<CGFloat>'); this is an error in the Swift 6 language mode
 18 |
 19 |
/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/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
  1 | import SwiftUI
  2 | import SwiftUIGeometryUtils
  3 | import UnitIntervalPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'UnitIntervalPropertyWrapper'
  4 | import ClampedPropertyWrapper
  5 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:29:16: warning: stored property '_frequency' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'Clamped<SineWave.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 27 |         andBelow: .infinity
 28 |     )
 29 |     public var frequency: Hertz = 1.0
    |                `- warning: stored property '_frequency' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'Clamped<SineWave.Hertz>' (aka 'Clamped<CGFloat>'); this is an error in the Swift 6 language mode
 30 |
 31 |
/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/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:4:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
  2 | import SwiftUIGeometryUtils
  3 | import UnitIntervalPropertyWrapper
  4 | import ClampedPropertyWrapper
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ClampedPropertyWrapper'
  5 |
  6 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUISineWaveShape/SwiftUISineWaveShape.swift:32:16: warning: stored property 'amplitudeModulation' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'SineWave.AmplitudeModulationMode'; this is an error in the Swift 6 language mode
 30 |
 31 |
 32 |     public var amplitudeModulation: AmplitudeModulationMode
    |                `- warning: stored property 'amplitudeModulation' of 'Sendable'-conforming struct 'SineWave' has non-sendable type 'SineWave.AmplitudeModulationMode'; this is an error in the Swift 6 language mode
 33 |
 34 |
    :
173 |
174 | extension SineWave {
175 |     public enum AmplitudeModulationMode {
    |                 `- note: consider making enum 'AmplitudeModulationMode' conform to the 'Sendable' protocol
176 |         case none
177 |
Build complete! (10.22s)
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" : "SwiftUISineWaveShape",
  "name" : "SwiftUISineWaveShape",
  "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" : "SwiftUISineWaveShape",
      "targets" : [
        "SwiftUISineWaveShape"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUISineWaveShapeTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUISineWaveShapeTests",
      "path" : "Tests/SwiftUISineWaveShape",
      "sources" : [
        "Cases/SwiftUISineWaveShapeTests.swift"
      ],
      "target_dependencies" : [
        "SwiftUISineWaveShape"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftUISineWaveShape",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUISineWaveShape",
      "path" : "Sources/SwiftUISineWaveShape",
      "product_dependencies" : [
        "UnitIntervalPropertyWrapper",
        "ClampedPropertyWrapper",
        "SwiftUIGeometryUtils"
      ],
      "product_memberships" : [
        "SwiftUISineWaveShape"
      ],
      "sources" : [
        "SwiftUISineWaveShape.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.4"
}
Done.