Build Information
Successful build of StepperView with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 18
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/badrinathvm/StepperView.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/badrinathvm/StepperView
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 158c70c Update LICENSE (#97)
Cloned https://github.com/badrinathvm/StepperView.git
Revision (git rev-parse @):
158c70c0a803fba8dabe44fe04ceab8eb50ceada
SUCCESS checkout https://github.com/badrinathvm/StepperView.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/badrinathvm/StepperView.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/20] Compiling StepperView StepIndicatorVerticalView.swift
[4/20] Compiling StepperView PitStopView.swift
[5/20] Compiling StepperView StepIndicatorHorizontalView.swift
[6/20] Compiling StepperView View+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:47:16: warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// default value for top
47 | static var topValue: CGFloat = 0.0
| |- warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'topValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'topValue' 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
48 |
49 | /// default value for center
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:50:16: warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// default value for center
50 | static var centerValue: CGFloat = 0.0
| |- warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerValue' 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 |
52 | /// default value for bottom
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:53:16: warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// default value for bottom
53 | static var bottomValue: CGFloat = 0.0
| |- warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bottomValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomValue' 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
54 | }
55 |
[7/20] Compiling StepperView LoadingTimer.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:47:16: warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// default value for top
47 | static var topValue: CGFloat = 0.0
| |- warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'topValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'topValue' 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
48 |
49 | /// default value for center
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:50:16: warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// default value for center
50 | static var centerValue: CGFloat = 0.0
| |- warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerValue' 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 |
52 | /// default value for bottom
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:53:16: warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// default value for bottom
53 | static var bottomValue: CGFloat = 0.0
| |- warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bottomValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomValue' 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
54 | }
55 |
[8/21] Compiling StepperView StepperView.swift
[9/21] Compiling StepperView PreferenceKey+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/PreferenceKey+Extension.swift:64:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// provide a default value for custom dependency
64 | public static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
65 |
66 | public static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/PreferenceKey+Extension.swift:76:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 |
75 | /// provide a default value for custom dependency
76 | static var defaultValue: Value?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
77 |
78 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:47:16: warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// default value for top
47 | static var topValue: CGFloat = 0.0
| |- warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'topValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'topValue' 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
48 |
49 | /// default value for center
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:50:16: warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// default value for center
50 | static var centerValue: CGFloat = 0.0
| |- warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerValue' 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 |
52 | /// default value for bottom
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:53:16: warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// default value for bottom
53 | static var bottomValue: CGFloat = 0.0
| |- warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bottomValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomValue' 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
54 | }
55 |
[10/21] Compiling StepperView VerticalAlignment+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/PreferenceKey+Extension.swift:64:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// provide a default value for custom dependency
64 | public static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
65 |
66 | public static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/PreferenceKey+Extension.swift:76:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 |
75 | /// provide a default value for custom dependency
76 | static var defaultValue: Value?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
77 |
78 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:47:16: warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// default value for top
47 | static var topValue: CGFloat = 0.0
| |- warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'topValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'topValue' 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
48 |
49 | /// default value for center
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:50:16: warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// default value for center
50 | static var centerValue: CGFloat = 0.0
| |- warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerValue' 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 |
52 | /// default value for bottom
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:53:16: warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// default value for bottom
53 | static var bottomValue: CGFloat = 0.0
| |- warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bottomValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomValue' 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
54 | }
55 |
[11/21] Compiling StepperView NumberedCircleView.swift
[12/21] Compiling StepperView HorizontalLineView.swift
[13/21] Compiling StepperView CircledIconView.swift
[14/21] Compiling StepperView IndicatorView.swift
[15/21] Compiling StepperView PitStopLineView.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:50:16: warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// default value for center
50 | static var centerValue: CGFloat = 0.0
| |- warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerValue' 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 |
52 | /// default value for bottom
[16/21] Compiling StepperView VerticalLineView.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:50:16: warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// default value for center
50 | static var centerValue: CGFloat = 0.0
| |- warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerValue' 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 |
52 | /// default value for bottom
[17/21] Emitting module StepperView
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:97:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
95 | struct StepsKey: EnvironmentKey {
96 | /// provide a default value for custom dependency
97 | static var defaultValue = [AnyView]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:104:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | struct AlignmentKey: EnvironmentKey {
103 | /// provide a default value for custom dependency
104 | static var defaultValue = [StepperAlignment]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:111:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
109 | struct IndicatorKey: EnvironmentKey {
110 | /// provide a default value for custom dependency
111 | static var defaultValue = [StepperIndicationType<AnyView>]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:118:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | struct StepIndicatorModeKey: EnvironmentKey {
117 | /// provide a default value for custom dependency
118 | static var defaultValue = StepperMode.vertical
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
119 | }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:125:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
123 | struct SpacingKey: EnvironmentKey {
124 | /// provide a default value for custom dependency
125 | static var defaultValue:CGFloat = 30.0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:132:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
130 | struct AutoSpacingKey: EnvironmentKey {
131 | /// provide a default value for custom dependency
132 | static var defaultValue:Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
133 | }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:139:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
137 | struct LineOptionsKey: EnvironmentKey {
138 | /// provide a default value for custom dependency
139 | static var defaultValue:StepperLineOptions = StepperLineOptions.defaults
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
140 | }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:146:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
144 | struct PitStopOptionsKey: EnvironmentKey {
145 | /// provide a default value for custom dependency
146 | static var defaultValue = [AnyView]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
147 | }
148 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:153:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
151 | struct PitStopLineOptionsKey: EnvironmentKey {
152 | /// provide a default value for custom dependency
153 | static var defaultValue:[StepperLineOptions] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
154 | }
155 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:160:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
158 | struct StepAnimationOptionsKey: EnvironmentKey {
159 | /// provide a default value for custom dependency
160 | static var defaultValue:Int = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:167:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
165 | struct LoadAnimationOptionsKey: EnvironmentKey {
166 | /// provide a default value for custom dependency
167 | static var defaultValue:Double = 0.05
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:174:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
172 | struct StepLifeCycleKey: EnvironmentKey {
173 | /// provide a default value for custom dependency
174 | static var defaultValue:[StepLifeCycle] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
175 | }
176 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:181:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
179 | struct StepperEdgeInsetsKey: EnvironmentKey {
180 | /// provide a default value for custom dependency
181 | static var defaultValue: EdgeInsets = EdgeInsets(top: 10, leading: 10, bottom: 10, trailing: 10)
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
182 | }
183 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/PreferenceKey+Extension.swift:64:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// provide a default value for custom dependency
64 | public static var defaultValue: Value = nil
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
65 |
66 | public static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/PreferenceKey+Extension.swift:76:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
74 |
75 | /// provide a default value for custom dependency
76 | static var defaultValue: Value?
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
77 |
78 | static func reduce(value: inout Value, nextValue: () -> Value) {
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:47:16: warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | /// default value for top
47 | static var topValue: CGFloat = 0.0
| |- warning: static property 'topValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'topValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'topValue' 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
48 |
49 | /// default value for center
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:50:16: warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
48 |
49 | /// default value for center
50 | static var centerValue: CGFloat = 0.0
| |- warning: static property 'centerValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'centerValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'centerValue' 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 |
52 | /// default value for bottom
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/VerticalAlignment+Extension.swift:53:16: warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | /// default value for bottom
53 | static var bottomValue: CGFloat = 0.0
| |- warning: static property 'bottomValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'bottomValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'bottomValue' 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
54 | }
55 |
[18/21] Compiling StepperView Colors+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:97:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
95 | struct StepsKey: EnvironmentKey {
96 | /// provide a default value for custom dependency
97 | static var defaultValue = [AnyView]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:104:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | struct AlignmentKey: EnvironmentKey {
103 | /// provide a default value for custom dependency
104 | static var defaultValue = [StepperAlignment]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:111:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
109 | struct IndicatorKey: EnvironmentKey {
110 | /// provide a default value for custom dependency
111 | static var defaultValue = [StepperIndicationType<AnyView>]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:118:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | struct StepIndicatorModeKey: EnvironmentKey {
117 | /// provide a default value for custom dependency
118 | static var defaultValue = StepperMode.vertical
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
119 | }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:125:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
123 | struct SpacingKey: EnvironmentKey {
124 | /// provide a default value for custom dependency
125 | static var defaultValue:CGFloat = 30.0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:132:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
130 | struct AutoSpacingKey: EnvironmentKey {
131 | /// provide a default value for custom dependency
132 | static var defaultValue:Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
133 | }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:139:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
137 | struct LineOptionsKey: EnvironmentKey {
138 | /// provide a default value for custom dependency
139 | static var defaultValue:StepperLineOptions = StepperLineOptions.defaults
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
140 | }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:146:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
144 | struct PitStopOptionsKey: EnvironmentKey {
145 | /// provide a default value for custom dependency
146 | static var defaultValue = [AnyView]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
147 | }
148 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:153:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
151 | struct PitStopLineOptionsKey: EnvironmentKey {
152 | /// provide a default value for custom dependency
153 | static var defaultValue:[StepperLineOptions] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
154 | }
155 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:160:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
158 | struct StepAnimationOptionsKey: EnvironmentKey {
159 | /// provide a default value for custom dependency
160 | static var defaultValue:Int = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:167:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
165 | struct LoadAnimationOptionsKey: EnvironmentKey {
166 | /// provide a default value for custom dependency
167 | static var defaultValue:Double = 0.05
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:174:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
172 | struct StepLifeCycleKey: EnvironmentKey {
173 | /// provide a default value for custom dependency
174 | static var defaultValue:[StepLifeCycle] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
175 | }
176 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:181:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
179 | struct StepperEdgeInsetsKey: EnvironmentKey {
180 | /// provide a default value for custom dependency
181 | static var defaultValue: EdgeInsets = EdgeInsets(top: 10, leading: 10, bottom: 10, trailing: 10)
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
182 | }
183 |
[19/21] Compiling StepperView EnvironmentValues+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:97:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
95 | struct StepsKey: EnvironmentKey {
96 | /// provide a default value for custom dependency
97 | static var defaultValue = [AnyView]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
98 | }
99 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:104:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | struct AlignmentKey: EnvironmentKey {
103 | /// provide a default value for custom dependency
104 | static var defaultValue = [StepperAlignment]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
105 | }
106 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:111:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
109 | struct IndicatorKey: EnvironmentKey {
110 | /// provide a default value for custom dependency
111 | static var defaultValue = [StepperIndicationType<AnyView>]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
112 | }
113 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:118:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
116 | struct StepIndicatorModeKey: EnvironmentKey {
117 | /// provide a default value for custom dependency
118 | static var defaultValue = StepperMode.vertical
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
119 | }
120 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:125:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
123 | struct SpacingKey: EnvironmentKey {
124 | /// provide a default value for custom dependency
125 | static var defaultValue:CGFloat = 30.0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
126 | }
127 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:132:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
130 | struct AutoSpacingKey: EnvironmentKey {
131 | /// provide a default value for custom dependency
132 | static var defaultValue:Bool = false
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
133 | }
134 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:139:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
137 | struct LineOptionsKey: EnvironmentKey {
138 | /// provide a default value for custom dependency
139 | static var defaultValue:StepperLineOptions = StepperLineOptions.defaults
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
140 | }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:146:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
144 | struct PitStopOptionsKey: EnvironmentKey {
145 | /// provide a default value for custom dependency
146 | static var defaultValue = [AnyView]()
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
147 | }
148 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:153:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
151 | struct PitStopLineOptionsKey: EnvironmentKey {
152 | /// provide a default value for custom dependency
153 | static var defaultValue:[StepperLineOptions] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
154 | }
155 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:160:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
158 | struct StepAnimationOptionsKey: EnvironmentKey {
159 | /// provide a default value for custom dependency
160 | static var defaultValue:Int = 0
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
161 | }
162 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:167:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
165 | struct LoadAnimationOptionsKey: EnvironmentKey {
166 | /// provide a default value for custom dependency
167 | static var defaultValue:Double = 0.05
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
168 | }
169 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:174:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
172 | struct StepLifeCycleKey: EnvironmentKey {
173 | /// provide a default value for custom dependency
174 | static var defaultValue:[StepLifeCycle] = []
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
175 | }
176 |
/Users/admin/builder/spi-builder-workspace/Sources/StepperView/Extension/EnvironmentValues+Extension.swift:181:16: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
179 | struct StepperEdgeInsetsKey: EnvironmentKey {
180 | /// provide a default value for custom dependency
181 | static var defaultValue: EdgeInsets = EdgeInsets(top: 10, leading: 10, bottom: 10, trailing: 10)
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated 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
182 | }
183 |
[20/21] Compiling StepperView Utils.swift
[21/21] Compiling StepperView TextView.swift
Build complete! (38.27s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "StepperView",
"name" : "StepperView",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
}
],
"products" : [
{
"name" : "StepperView",
"targets" : [
"StepperView"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StepperViewTests",
"module_type" : "SwiftTarget",
"name" : "StepperViewTests",
"path" : "Tests/StepperViewTests",
"sources" : [
"StepperViewTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"StepperView"
],
"type" : "test"
},
{
"c99name" : "StepperView",
"module_type" : "SwiftTarget",
"name" : "StepperView",
"path" : "Sources/StepperView",
"product_memberships" : [
"StepperView"
],
"sources" : [
"Extension/Colors+Extension.swift",
"Extension/EnvironmentValues+Extension.swift",
"Extension/PreferenceKey+Extension.swift",
"Extension/VerticalAlignment+Extension.swift",
"Extension/View+Extensions.swift",
"Utils/LoadingTimer.swift",
"Utils/Utils.swift",
"Views/Components/TextView.swift",
"Views/Indicators/CircledIconView.swift",
"Views/Indicators/IndicatorView.swift",
"Views/Indicators/NumberedCircleView.swift",
"Views/Lines/HorizontalLineView.swift",
"Views/Lines/PitStopLineView.swift",
"Views/Lines/VerticalLineView.swift",
"Views/PitStopView.swift",
"Views/StepIndicatorHorizontalView.swift",
"Views/StepIndicatorVerticalView.swift",
"Views/StepperView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.