Build Information
Successful build of SwiftUIWavyRectangleShape with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 2
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/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
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/CypherPoet/SwiftUIWavyRectangleShape.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] Compiling UnitIntervalPropertyWrapper UnitIntervalPropertyWrapper.swift
[9/12] Emitting module UnitIntervalPropertyWrapper
[10/12] Compiling SwiftUIGeometryUtils CGRect+Points.swift
[11/12] Emitting module SwiftUIGeometryUtils
[12/12] Compiling SwiftUIGeometryUtils RectangleCorner.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! (31.58s)
Fetching https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Fetching https://github.com/CypherPoet/ClampedPropertyWrapper
Fetching https://github.com/CypherPoet/SwiftUIGeometryUtils
[1/137] Fetching swiftuigeometryutils
[86/246] Fetching swiftuigeometryutils, clampedpropertywrapper
[162/371] Fetching swiftuigeometryutils, clampedpropertywrapper, unitintervalpropertywrapper
Fetched https://github.com/CypherPoet/SwiftUIGeometryUtils from cache (1.22s)
Fetched https://github.com/CypherPoet/UnitIntervalPropertyWrapper from cache (1.22s)
Fetched https://github.com/CypherPoet/ClampedPropertyWrapper from cache (1.22s)
Computing version for https://github.com/CypherPoet/SwiftUIGeometryUtils
Computed https://github.com/CypherPoet/SwiftUIGeometryUtils at 0.0.3 (0.68s)
Computing version for https://github.com/CypherPoet/ClampedPropertyWrapper
Computed https://github.com/CypherPoet/ClampedPropertyWrapper at 0.2.0 (0.70s)
Computing version for https://github.com/CypherPoet/UnitIntervalPropertyWrapper
Computed https://github.com/CypherPoet/UnitIntervalPropertyWrapper at 0.1.4 (0.66s)
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
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.