Build Information
Successful build of SwiftUISineWaveShape with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 3
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CypherPoet/SwiftUISineWaveShape.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CypherPoet/SwiftUISineWaveShape
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/CypherPoet/SwiftUISineWaveShape.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a 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-6F35C1178C84523A.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] Emitting module SwiftUIGeometryUtils
[11/12] Compiling SwiftUIGeometryUtils CGRect+Points.swift
[12/12] Compiling SwiftUIGeometryUtils RectangleCorner.swift
[13/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 |
[14/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 |
Build complete! (31.72s)
Fetching https://github.com/CypherPoet/ClampedPropertyWrapper
Fetching https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Fetching https://github.com/CypherPoet/SwiftUIGeometryUtils
[1/109] Fetching clampedpropertywrapper
[73/246] Fetching clampedpropertywrapper, swiftuigeometryutils
[162/371] Fetching clampedpropertywrapper, swiftuigeometryutils, unitintervalpropertywrapper
Fetched https://github.com/CypherPoet/ClampedPropertyWrapper from cache (1.25s)
Fetched https://github.com/CypherPoet/SwiftUIGeometryUtils from cache (1.25s)
Fetched https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache (1.25s)
Computing version for https://github.com/CypherPoet/SwiftUIGeometryUtils
Computed https://github.com/CypherPoet/SwiftUIGeometryUtils at 0.0.3 (0.65s)
Computing version for https://github.com/CypherPoet/ClampedPropertyWrapper
Computed https://github.com/CypherPoet/ClampedPropertyWrapper at 0.2.0 (0.65s)
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/UnitIntervalPropertyWrapper
Working copy of https://github.com/CypherPoet/UnitIntervalPropertyWrapper resolved at 0.1.4
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/ClampedPropertyWrapper
Working copy of https://github.com/CypherPoet/ClampedPropertyWrapper resolved at 0.2.0
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.