Build Information
Successful build of RatingControl with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 1
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/edonv/RatingControl.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/edonv/RatingControl
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2793a96 Added empty privacy manifest
Cloned https://github.com/edonv/RatingControl.git
Revision (git rev-parse @):
2793a961e29bc18493354b0cf26e63e3685977b7
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/edonv/RatingControl.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/edonv/RatingControl.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/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/14] Compiling RatingControl Number+RoundToNearest.swift
[4/15] Compiling RatingControl Clamping.swift
[5/15] Compiling RatingControl IconSizePreferenceKey.swift
[6/15] Compiling RatingControl Float+IsWholeNumber.swift
[7/15] Compiling RatingControl BackportSymbolVariants.swift
[8/15] Compiling RatingControl RatingControl+Inits.swift
[9/15] Compiling RatingControl RatingControl.swift
[10/15] Compiling RatingControl BackportViewModifiers.swift
[11/15] Emitting module RatingControl
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/InternalEnvironmentValues.swift:163:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Binding<Double?>' may have shared mutable state; this is an error in the Swift 6 language mode
161 |
162 | private struct RatingControlStepIncrementEnvironmentKey: EnvironmentKey {
163 | static let defaultValue: Binding<Double?> = .constant(nil)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Binding<Double?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | }
165 |
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
| `- note: generic struct 'Binding' does not conform to the 'Sendable' protocol
3 | public var transaction: Transaction
4 | public init(get: @escaping () -> Value, set: @escaping (Value) -> Void)
[12/15] Compiling RatingControl InternalEnvironmentValues.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/InternalEnvironmentValues.swift:163:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Binding<Double?>' may have shared mutable state; this is an error in the Swift 6 language mode
161 |
162 | private struct RatingControlStepIncrementEnvironmentKey: EnvironmentKey {
163 | static let defaultValue: Binding<Double?> = .constant(nil)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Binding<Double?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | }
165 |
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
| `- note: generic struct 'Binding' does not conform to the 'Sendable' protocol
3 | public var transaction: Transaction
4 | public init(get: @escaping () -> Value, set: @escaping (Value) -> Void)
[13/15] Compiling RatingControl RatingControlIconFrameSizingMode.swift
/Users/admin/builder/spi-builder-workspace/Sources/RatingControl/Helper Types/InternalEnvironmentValues.swift:163:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Binding<Double?>' may have shared mutable state; this is an error in the Swift 6 language mode
161 |
162 | private struct RatingControlStepIncrementEnvironmentKey: EnvironmentKey {
163 | static let defaultValue: Binding<Double?> = .constant(nil)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Binding<Double?>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
164 | }
165 |
SwiftUI.Binding:2:61: note: generic struct 'Binding' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen @propertyWrapper @dynamicMemberLookup public struct Binding<Value> {
| `- note: generic struct 'Binding' does not conform to the 'Sendable' protocol
3 | public var transaction: Transaction
4 | public init(get: @escaping () -> Value, set: @escaping (Value) -> Void)
[14/15] Compiling RatingControl BackportShapeStyle.swift
[15/15] Compiling RatingControl Shape+ScaleCGSizeModifier.swift
Build complete! (36.59s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RatingControl",
"name" : "RatingControl",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "maccatalyst",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RatingControl",
"targets" : [
"RatingControl"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RatingControlTests",
"module_type" : "SwiftTarget",
"name" : "RatingControlTests",
"path" : "Tests/RatingControlTests",
"sources" : [
"RatingControlTests.swift"
],
"target_dependencies" : [
"RatingControl"
],
"type" : "test"
},
{
"c99name" : "RatingControl",
"module_type" : "SwiftTarget",
"name" : "RatingControl",
"path" : "Sources/RatingControl",
"product_memberships" : [
"RatingControl"
],
"sources" : [
"Helper Types/InternalEnvironmentValues.swift",
"Helper Types/RatingControlIconFrameSizingMode.swift",
"RatingControl+Inits.swift",
"RatingControl.swift",
"Supporting/BackportShapeStyle.swift",
"Supporting/BackportSymbolVariants.swift",
"Supporting/BackportViewModifiers.swift",
"Supporting/Clamping.swift",
"Supporting/Float+IsWholeNumber.swift",
"Supporting/IconSizePreferenceKey.swift",
"Supporting/Number+RoundToNearest.swift",
"Supporting/Shape+ScaleCGSizeModifier.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.