Build Information
Successful build of SwiftClockUI, reference main (e20124
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 00:42:15 UTC.
Swift 6 data race errors: 11
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/renaudjenny/SwiftClockUI.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/renaudjenny/SwiftClockUI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e201240 Merge pull request #19 from renaudjenny/update-snapshots-for-tests
Cloned https://github.com/renaudjenny/SwiftClockUI.git
Revision (git rev-parse @):
e2012408d166ebafa0f0c0cdf568c984e77c3ded
SUCCESS checkout https://github.com/renaudjenny/SwiftClockUI.git at main
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git
[1/12436] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (2.63s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.10.0 (0.82s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.10.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": "swiftclockui",
"name": "SwiftClockUI",
"url": "https://github.com/renaudjenny/SwiftClockUI.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftClockUI",
"dependencies": [
{
"identity": "swift-snapshot-testing",
"name": "swift-snapshot-testing",
"url": "https://github.com/pointfreeco/swift-snapshot-testing.git",
"version": "1.17.6",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-snapshot-testing",
"dependencies": [
{
"identity": "swift-syntax",
"name": "swift-syntax",
"url": "https://github.com/swiftlang/swift-syntax",
"version": "600.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/renaudjenny/SwiftClockUI.git
[1/3230] Fetching swiftclockui
Fetched https://github.com/renaudjenny/SwiftClockUI.git from cache (1.44s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing.git from cache
Fetched https://github.com/pointfreeco/swift-snapshot-testing.git from cache (0.58s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing.git
Computed https://github.com/pointfreeco/swift-snapshot-testing.git at 1.17.6 (0.66s)
Fetching https://github.com/swiftlang/swift-syntax
[1/66399] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (3.21s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (0.74s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
Creating working copy for https://github.com/renaudjenny/SwiftClockUI.git
Working copy of https://github.com/renaudjenny/SwiftClockUI.git resolved at main (e201240)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing.git
Working copy of https://github.com/pointfreeco/swift-snapshot-testing.git resolved at 1.17.6
warning: '.resolve-product-dependencies': dependency 'swiftclockui' is not used by any target
Found 1 product dependencies
- swift-snapshot-testing
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/renaudjenny/SwiftClockUI.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/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/49] Emitting module SwiftClockUI
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift:26:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
24 | let type: ArmType
25 | var drawStep: CGFloat
26 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
27 |
28 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:29:37: warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
27 |
28 | private struct HoursShape: Shape {
29 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
30 | var drawStep: CGFloat
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:59:44: warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
57 |
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
| `- warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
60 | @Environment(\.clockRandom) var random
61 | var drawStep: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:3:15: note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:60:37: warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
60 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
61 | var drawStep: CGFloat
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:97:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
95 | private struct DrawnIndicator: Shape {
96 | var drawStep: CGFloat
97 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
98 |
99 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Steampunk/Plate.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | private struct RectPreferenceKey: PreferenceKey {
90 | static var defaultValue: CGRect = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
91 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
92 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift:14:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockArmColors: Equatable {
| `- note: consider making struct 'ClockArmColors' conform to the 'Sendable' protocol
4 | var minute: Color
5 | var hour: Color
:
12 |
13 | public struct ClockArmColorsKey: EnvironmentKey {
14 | public static let defaultValue = ClockArmColors(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' 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
15 | minute: .primary,
16 | hour: .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:20:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
:
18 |
19 | public struct ClockConfigurationEnvironmentKey: EnvironmentKey {
20 | public static let defaultValue: ClockConfiguration = ClockConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' 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
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:23:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
:
21 |
22 | public struct ClockRandomKey: EnvironmentKey {
23 | public static let defaultValue: Random = .random
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:50:16: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension Random {
50 | static var random = Random()
| |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'random' 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
51 | static var fixed: Random {
52 | Random(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift:29:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ClockStyle: Identifiable, CaseIterable {
| `- note: consider making enum 'ClockStyle' conform to the 'Sendable' protocol
4 | case classic
5 | case artNouveau
:
27 |
28 | public struct ClockStyleKey: EnvironmentKey {
29 | public static let defaultValue: ClockStyle = .classic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' 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
30 | }
31 |
[4/54] Compiling SwiftClockUI ClockFaceView.swift
[5/54] Compiling SwiftClockUI Eye.swift
[6/54] Compiling SwiftClockUI Mouth.swift
[7/54] Compiling SwiftClockUI FontProportional.swift
[8/54] Compiling SwiftClockUI PositionInCircle.swift
[9/54] Compiling SwiftClockUI DrawnIndicators.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:29:37: warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
27 |
28 | private struct HoursShape: Shape {
29 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
30 | var drawStep: CGFloat
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:59:44: warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
57 |
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
| `- warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
60 | @Environment(\.clockRandom) var random
61 | var drawStep: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:3:15: note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:60:37: warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
60 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
61 | var drawStep: CGFloat
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:97:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
95 | private struct DrawnIndicator: Shape {
96 | var drawStep: CGFloat
97 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
98 |
99 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[10/54] Compiling SwiftClockUI IndicatorsView.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:29:37: warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
27 |
28 | private struct HoursShape: Shape {
29 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
30 | var drawStep: CGFloat
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:59:44: warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
57 |
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
| `- warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
60 | @Environment(\.clockRandom) var random
61 | var drawStep: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:3:15: note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:60:37: warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
60 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
61 | var drawStep: CGFloat
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:97:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
95 | private struct DrawnIndicator: Shape {
96 | var drawStep: CGFloat
97 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
98 |
99 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[11/54] Compiling SwiftClockUI RomanNumber.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:29:37: warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
27 |
28 | private struct HoursShape: Shape {
29 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
30 | var drawStep: CGFloat
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:59:44: warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
57 |
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
| `- warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
60 | @Environment(\.clockRandom) var random
61 | var drawStep: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:3:15: note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:60:37: warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
60 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
61 | var drawStep: CGFloat
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:97:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
95 | private struct DrawnIndicator: Shape {
96 | var drawStep: CGFloat
97 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
98 |
99 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[12/54] Compiling SwiftClockUI SteampunkIndicators.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:29:37: warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
27 |
28 | private struct HoursShape: Shape {
29 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
30 | var drawStep: CGFloat
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:59:44: warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
57 |
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
| `- warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
60 | @Environment(\.clockRandom) var random
61 | var drawStep: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:3:15: note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:60:37: warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
60 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
61 | var drawStep: CGFloat
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:97:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
95 | private struct DrawnIndicator: Shape {
96 | var drawStep: CGFloat
97 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
98 |
99 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[13/54] Compiling SwiftClockUI Cogwheel.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:29:37: warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
27 |
28 | private struct HoursShape: Shape {
29 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'HoursShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
30 | var drawStep: CGFloat
31 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:59:44: warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
57 |
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
| `- warning: stored property '_configuration' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<ClockConfiguration>'; this is an error in the Swift 6 language mode
60 | @Environment(\.clockRandom) var random
61 | var drawStep: CGFloat
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:3:15: note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:60:37: warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
58 | private struct MinutesShape: Shape {
59 | @Environment(\.clockConfiguration) var configuration
60 | @Environment(\.clockRandom) var random
| `- warning: stored property '_random' of 'Sendable'-conforming struct 'MinutesShape' has non-sendable type 'Environment<Random>'; this is an error in the Swift 6 language mode
61 | var drawStep: CGFloat
62 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:3:15: note: consider making struct 'Random' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Indicators/DrawnIndicators.swift:97:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
95 | private struct DrawnIndicator: Shape {
96 | var drawStep: CGFloat
97 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnIndicator' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
98 |
99 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[14/54] Compiling SwiftClockUI CGPoint+Circle.swift
[15/54] Compiling SwiftClockUI CGRect+Circle.swift
[16/54] Compiling SwiftClockUI Color+Background.swift
[17/54] Compiling SwiftClockUI Date+Clock.swift
[18/54] Compiling SwiftClockUI Double+Time.swift
[19/54] Compiling SwiftClockUI ClockBorderView.swift
[20/54] Compiling SwiftClockUI DrawnClockBorder.swift
[21/54] Compiling SwiftClockUI SteampunkClockBorder.swift
[22/54] Compiling SwiftClockUI ArtNouveauIndicators.swift
[23/54] Compiling SwiftClockUI ClassicIndicators.swift
[24/54] Compiling SwiftClockUI DrawnArm.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift:26:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
24 | let type: ArmType
25 | var drawStep: CGFloat
26 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
27 |
28 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[25/54] Compiling SwiftClockUI SteampunkArm.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift:26:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
24 | let type: ArmType
25 | var drawStep: CGFloat
26 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
27 |
28 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[26/54] Compiling SwiftClockUI Arms.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift:26:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
24 | let type: ArmType
25 | var drawStep: CGFloat
26 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
27 |
28 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[27/54] Compiling SwiftClockUI ArtNouveauClockBorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift:26:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
24 | let type: ArmType
25 | var drawStep: CGFloat
26 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
27 |
28 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[28/54] Compiling SwiftClockUI ClassicClockBorder.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Arm/DrawnArm.swift:26:9: warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
24 | let type: ArmType
25 | var drawStep: CGFloat
26 | let controlRatios: Random.ControlRatio
| `- warning: stored property 'controlRatios' of 'Sendable'-conforming struct 'DrawnArmShape' has non-sendable type 'Random.ControlRatio'; this is an error in the Swift 6 language mode
27 |
28 | var animatableData: CGFloat {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:34:12: note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
32 |
33 | public extension Random {
34 | struct ControlRatio {
| `- note: consider making struct 'ControlRatio' conform to the 'Sendable' protocol
35 | let leftX: CGFloat
36 | let leftY: CGFloat
[29/54] Compiling SwiftClockUI ClockView.swift
[30/54] Compiling SwiftClockUI ArmDragGesture.swift
[31/54] Compiling SwiftClockUI ArmType.swift
[32/54] Compiling SwiftClockUI ArmView.swift
[33/54] Compiling SwiftClockUI ArtNouveauArm.swift
[34/54] Compiling SwiftClockUI ClassicArm.swift
[35/54] Compiling SwiftClockUI Moon.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Steampunk/Plate.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | private struct RectPreferenceKey: PreferenceKey {
90 | static var defaultValue: CGRect = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
91 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
92 | }
[36/54] Compiling SwiftClockUI Plate.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Steampunk/Plate.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | private struct RectPreferenceKey: PreferenceKey {
90 | static var defaultValue: CGRect = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
91 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
92 | }
[37/54] Compiling SwiftClockUI SteampunkHourArm.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Steampunk/Plate.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | private struct RectPreferenceKey: PreferenceKey {
90 | static var defaultValue: CGRect = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
91 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
92 | }
[38/54] Compiling SwiftClockUI SteampunkMinuteArm.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Steampunk/Plate.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | private struct RectPreferenceKey: PreferenceKey {
90 | static var defaultValue: CGRect = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
91 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
92 | }
[39/54] Compiling SwiftClockUI WindUpKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Elements/Steampunk/Plate.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
88 |
89 | private struct RectPreferenceKey: PreferenceKey {
90 | static var defaultValue: CGRect = .zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
91 | static func reduce(value: inout CGRect, nextValue: () -> CGRect) {}
92 | }
[40/54] Compiling SwiftClockUI GeometryProxy+Diameter.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Extensions/NSBezierPath+CGPath.swift:12:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
10 | for i in 0 ..< self.elementCount {
11 | let type = self.element(at: i, associatedPoints: &points)
12 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
13 | case .moveTo: path.move(to: points[0])
14 | case .lineTo: path.addLine(to: points[0])
[41/54] Compiling SwiftClockUI NSBezierPath+CGPath.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Extensions/NSBezierPath+CGPath.swift:12:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
10 | for i in 0 ..< self.elementCount {
11 | let type = self.element(at: i, associatedPoints: &points)
12 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
13 | case .moveTo: path.move(to: points[0])
14 | case .lineTo: path.addLine(to: points[0])
[42/54] Compiling SwiftClockUI Path+Circle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Extensions/NSBezierPath+CGPath.swift:12:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
10 | for i in 0 ..< self.elementCount {
11 | let type = self.element(at: i, associatedPoints: &points)
12 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
13 | case .moveTo: path.move(to: points[0])
14 | case .lineTo: path.addLine(to: points[0])
[43/54] Compiling SwiftClockUI Path+VerticalMirror.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Extensions/NSBezierPath+CGPath.swift:12:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
10 | for i in 0 ..< self.elementCount {
11 | let type = self.element(at: i, associatedPoints: &points)
12 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
13 | case .moveTo: path.move(to: points[0])
14 | case .lineTo: path.addLine(to: points[0])
[44/54] Compiling SwiftClockUI ClockFaceEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Extensions/NSBezierPath+CGPath.swift:12:13: warning: switch must be exhaustive; this is an error in the Swift 6 language mode
10 | for i in 0 ..< self.elementCount {
11 | let type = self.element(at: i, associatedPoints: &points)
12 | switch type {
| |- warning: switch must be exhaustive; this is an error in the Swift 6 language mode
| |- note: add missing case: '.cubicCurveTo'
| `- note: add missing case: '.quadraticCurveTo'
13 | case .moveTo: path.move(to: points[0])
14 | case .lineTo: path.addLine(to: points[0])
[45/54] Compiling SwiftClockUI ClockAnimationEnabled.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift:14:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockArmColors: Equatable {
| `- note: consider making struct 'ClockArmColors' conform to the 'Sendable' protocol
4 | var minute: Color
5 | var hour: Color
:
12 |
13 | public struct ClockArmColorsKey: EnvironmentKey {
14 | public static let defaultValue = ClockArmColors(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' 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
15 | minute: .primary,
16 | hour: .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:20:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
:
18 |
19 | public struct ClockConfigurationEnvironmentKey: EnvironmentKey {
20 | public static let defaultValue: ClockConfiguration = ClockConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' 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
21 | }
22 |
[46/54] Compiling SwiftClockUI ClockArmColorsEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift:14:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockArmColors: Equatable {
| `- note: consider making struct 'ClockArmColors' conform to the 'Sendable' protocol
4 | var minute: Color
5 | var hour: Color
:
12 |
13 | public struct ClockArmColorsKey: EnvironmentKey {
14 | public static let defaultValue = ClockArmColors(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' 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
15 | minute: .primary,
16 | hour: .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:20:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
:
18 |
19 | public struct ClockConfigurationEnvironmentKey: EnvironmentKey {
20 | public static let defaultValue: ClockConfiguration = ClockConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' 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
21 | }
22 |
[47/54] Compiling SwiftClockUI ClockBorderColorEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift:14:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockArmColors: Equatable {
| `- note: consider making struct 'ClockArmColors' conform to the 'Sendable' protocol
4 | var minute: Color
5 | var hour: Color
:
12 |
13 | public struct ClockArmColorsKey: EnvironmentKey {
14 | public static let defaultValue = ClockArmColors(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' 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
15 | minute: .primary,
16 | hour: .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:20:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
:
18 |
19 | public struct ClockConfigurationEnvironmentKey: EnvironmentKey {
20 | public static let defaultValue: ClockConfiguration = ClockConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' 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
21 | }
22 |
[48/54] Compiling SwiftClockUI ClockConfigurationEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift:14:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockArmColors: Equatable {
| `- note: consider making struct 'ClockArmColors' conform to the 'Sendable' protocol
4 | var minute: Color
5 | var hour: Color
:
12 |
13 | public struct ClockArmColorsKey: EnvironmentKey {
14 | public static let defaultValue = ClockArmColors(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' 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
15 | minute: .primary,
16 | hour: .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:20:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
:
18 |
19 | public struct ClockConfigurationEnvironmentKey: EnvironmentKey {
20 | public static let defaultValue: ClockConfiguration = ClockConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' 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
21 | }
22 |
[49/54] Compiling SwiftClockUI ClockDateEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockArmColorsEnvironment.swift:14:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockArmColors: Equatable {
| `- note: consider making struct 'ClockArmColors' conform to the 'Sendable' protocol
4 | var minute: Color
5 | var hour: Color
:
12 |
13 | public struct ClockArmColorsKey: EnvironmentKey {
14 | public static let defaultValue = ClockArmColors(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockArmColors' 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
15 | minute: .primary,
16 | hour: .primary
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockConfigurationEnvironment.swift:20:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ClockConfiguration: Equatable {
| `- note: consider making struct 'ClockConfiguration' conform to the 'Sendable' protocol
4 | public var isLimitedHoursShown = false
5 | public var isMinuteIndicatorsShown = true
:
18 |
19 | public struct ClockConfigurationEnvironmentKey: EnvironmentKey {
20 | public static let defaultValue: ClockConfiguration = ClockConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockConfiguration' 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
21 | }
22 |
[50/54] Compiling SwiftClockUI ClockIndicatorsColorEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:23:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
:
21 |
22 | public struct ClockRandomKey: EnvironmentKey {
23 | public static let defaultValue: Random = .random
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:50:16: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension Random {
50 | static var random = Random()
| |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'random' 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
51 | static var fixed: Random {
52 | Random(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift:29:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ClockStyle: Identifiable, CaseIterable {
| `- note: consider making enum 'ClockStyle' conform to the 'Sendable' protocol
4 | case classic
5 | case artNouveau
:
27 |
28 | public struct ClockStyleKey: EnvironmentKey {
29 | public static let defaultValue: ClockStyle = .classic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' 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
30 | }
31 |
[51/54] Compiling SwiftClockUI ClockIsAnimationEnabledEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:23:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
:
21 |
22 | public struct ClockRandomKey: EnvironmentKey {
23 | public static let defaultValue: Random = .random
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:50:16: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension Random {
50 | static var random = Random()
| |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'random' 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
51 | static var fixed: Random {
52 | Random(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift:29:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ClockStyle: Identifiable, CaseIterable {
| `- note: consider making enum 'ClockStyle' conform to the 'Sendable' protocol
4 | case classic
5 | case artNouveau
:
27 |
28 | public struct ClockStyleKey: EnvironmentKey {
29 | public static let defaultValue: ClockStyle = .classic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' 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
30 | }
31 |
[52/54] Compiling SwiftClockUI ClockRandomEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:23:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
:
21 |
22 | public struct ClockRandomKey: EnvironmentKey {
23 | public static let defaultValue: Random = .random
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:50:16: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension Random {
50 | static var random = Random()
| |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'random' 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
51 | static var fixed: Random {
52 | Random(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift:29:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ClockStyle: Identifiable, CaseIterable {
| `- note: consider making enum 'ClockStyle' conform to the 'Sendable' protocol
4 | case classic
5 | case artNouveau
:
27 |
28 | public struct ClockStyleKey: EnvironmentKey {
29 | public static let defaultValue: ClockStyle = .classic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' 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
30 | }
31 |
[53/54] Compiling SwiftClockUI ClockStyleEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:23:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
:
21 |
22 | public struct ClockRandomKey: EnvironmentKey {
23 | public static let defaultValue: Random = .random
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:50:16: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension Random {
50 | static var random = Random()
| |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'random' 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
51 | static var fixed: Random {
52 | Random(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift:29:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ClockStyle: Identifiable, CaseIterable {
| `- note: consider making enum 'ClockStyle' conform to the 'Sendable' protocol
4 | case classic
5 | case artNouveau
:
27 |
28 | public struct ClockStyleKey: EnvironmentKey {
29 | public static let defaultValue: ClockStyle = .classic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' 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
30 | }
31 |
[54/54] Compiling SwiftClockUI Angle+Circle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:23:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct Random {
| `- note: consider making struct 'Random' conform to the 'Sendable' protocol
4 | var controlRatio = (
5 | leftX: { CGFloat.random(in: 0.1...1) },
:
21 |
22 | public struct ClockRandomKey: EnvironmentKey {
23 | public static let defaultValue: Random = .random
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Random' 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
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockRandomEnvironment.swift:50:16: warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | extension Random {
50 | static var random = Random()
| |- warning: static property 'random' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'random' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'random' 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
51 | static var fixed: Random {
52 | Random(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftClockUI/Environment/ClockStyleEnvironment.swift:29:23: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public enum ClockStyle: Identifiable, CaseIterable {
| `- note: consider making enum 'ClockStyle' conform to the 'Sendable' protocol
4 | case classic
5 | case artNouveau
:
27 |
28 | public struct ClockStyleKey: EnvironmentKey {
29 | public static let defaultValue: ClockStyle = .classic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ClockStyle' 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
30 | }
31 |
Build complete! (32.39s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-snapshot-testing",
"requirement" : {
"range" : [
{
"lower_bound" : "1.9.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-snapshot-testing.git"
}
],
"manifest_display_name" : "SwiftClockUI",
"name" : "SwiftClockUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "SwiftClockUI",
"targets" : [
"SwiftClockUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftClockUITests",
"module_type" : "SwiftTarget",
"name" : "SwiftClockUITests",
"path" : "Tests/SwiftClockUITests",
"product_dependencies" : [
"SnapshotTesting"
],
"sources" : [
"Calendar+Test.swift",
"ClockViewTests.swift",
"Elements/Arm/ArmTests.swift",
"Elements/Arm/ArmTypeTests.swift",
"Elements/Arm/ArtNouveauArmTests.swift",
"Elements/Arm/ClassicArmTests.swift",
"Elements/ArmsTests.swift",
"Elements/Borders/ClassicClockBorderTests.swift",
"Elements/Borders/DrawnClockBorderTests.swift",
"Elements/Borders/SteampunkClockBorderTests.swift",
"Elements/Indicators/ArtNouveauIndicatorsTests.swift",
"Elements/Indicators/SteampunkIndicatorsTests.swift",
"Elements/Steampunk/CogwheelTests.swift",
"Elements/Steampunk/MoonTests.swift",
"Elements/Steampunk/PlateTests.swift",
"Elements/Steampunk/SteampunkHourArmTests.swift",
"Elements/Steampunk/SteampunkMinuteArmTests.swift",
"Elements/Steampunk/WindUpKeyTests.swift",
"EnvironmentTests.swift",
"Extensions/CGPoint+CircleTests.swift",
"Extensions/CGRect+CircleTests.swift",
"Extensions/Date+ClockTests.swift",
"Extensions/Path+CircleTests.swift",
"Face/ClockFaceTests.swift",
"Face/EyeTests.swift",
"Face/MouthTests.swift",
"Snapshotting+DefaultImage.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftClockUI"
],
"type" : "test"
},
{
"c99name" : "SwiftClockUI",
"module_type" : "SwiftTarget",
"name" : "SwiftClockUI",
"path" : "Sources/SwiftClockUI",
"product_memberships" : [
"SwiftClockUI"
],
"sources" : [
"ClockView.swift",
"Elements/Arm/ArmDragGesture.swift",
"Elements/Arm/ArmType.swift",
"Elements/Arm/ArmView.swift",
"Elements/Arm/ArtNouveauArm.swift",
"Elements/Arm/ClassicArm.swift",
"Elements/Arm/DrawnArm.swift",
"Elements/Arm/SteampunkArm.swift",
"Elements/Arms.swift",
"Elements/Borders/ArtNouveauClockBorder.swift",
"Elements/Borders/ClassicClockBorder.swift",
"Elements/Borders/ClockBorderView.swift",
"Elements/Borders/DrawnClockBorder.swift",
"Elements/Borders/SteampunkClockBorder.swift",
"Elements/Indicators/ArtNouveauIndicators.swift",
"Elements/Indicators/ClassicIndicators.swift",
"Elements/Indicators/DrawnIndicators.swift",
"Elements/Indicators/IndicatorsView.swift",
"Elements/Indicators/RomanNumber.swift",
"Elements/Indicators/SteampunkIndicators.swift",
"Elements/Steampunk/Cogwheel.swift",
"Elements/Steampunk/Moon.swift",
"Elements/Steampunk/Plate.swift",
"Elements/Steampunk/SteampunkHourArm.swift",
"Elements/Steampunk/SteampunkMinuteArm.swift",
"Elements/Steampunk/WindUpKey.swift",
"Environment/ClockAnimationEnabled.swift",
"Environment/ClockArmColorsEnvironment.swift",
"Environment/ClockBorderColorEnvironment.swift",
"Environment/ClockConfigurationEnvironment.swift",
"Environment/ClockDateEnvironment.swift",
"Environment/ClockIndicatorsColorEnvironment.swift",
"Environment/ClockIsAnimationEnabledEnvironment.swift",
"Environment/ClockRandomEnvironment.swift",
"Environment/ClockStyleEnvironment.swift",
"Extensions/Angle+Circle.swift",
"Extensions/CGPoint+Circle.swift",
"Extensions/CGRect+Circle.swift",
"Extensions/Color+Background.swift",
"Extensions/Date+Clock.swift",
"Extensions/Double+Time.swift",
"Extensions/GeometryProxy+Diameter.swift",
"Extensions/NSBezierPath+CGPath.swift",
"Extensions/Path+Circle.swift",
"Extensions/Path+VerticalMirror.swift",
"Face/ClockFaceEnvironment.swift",
"Face/ClockFaceView.swift",
"Face/Eye.swift",
"Face/Mouth.swift",
"ViewModifiers/FontProportional.swift",
"ViewModifiers/PositionInCircle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.