Build Information
Successful build of CompactSlider, reference 2.1.0 (52a01b), with Swift 6.1 for macOS (SPM) on 22 Nov 2025 14:31:23 UTC.
Swift 6 data race errors: 21
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
59 |
60 | struct CompactSliderGridStyleKey: EnvironmentKey {
61 | static let defaultValue = AnyCompactSliderStyle(DefaultCompactSliderStyle.grid())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCompactSliderStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
:
83 | }
84 |
85 | struct AnyCompactSliderStyle: CompactSliderStyle {
| `- note: consider making struct 'AnyCompactSliderStyle' conform to the 'Sendable' protocol
86 | let type: CompactSliderType
87 | let padding: EdgeInsets
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/CompactSliderStyle.swift:65:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCompactSliderStyle' may have shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | struct CompactSliderCircularGridStyleKey: EnvironmentKey {
65 | static let defaultValue = AnyCompactSliderStyle(DefaultCompactSliderStyle.circularGrid())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCompactSliderStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | }
67 |
:
83 | }
84 |
85 | struct AnyCompactSliderStyle: CompactSliderStyle {
| `- note: consider making struct 'AnyCompactSliderStyle' conform to the 'Sendable' protocol
86 | let type: CompactSliderType
87 | let padding: EdgeInsets
[47/74] Compiling CompactSlider DefaultCompactSliderStyle+Init.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| `- warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
76 | .environment(\.compactSliderStyleConfiguration, configuration)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:111:10: note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
109 |
110 | @ViewBuilder
111 | func contentShape(_ clipShape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
112 | if let shape = clipShape {
113 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ProgressViewWrapper.swift:8:8: note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ProgressViewWrapper: View {
| |- note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.compactSliderOptions) var sliderOptions
10 | @Environment(\.compactSliderProgressView) var progressView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ScaleViewWrapper.swift:8:8: note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ScaleViewWrapper: View {
| |- note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.scaleView) var scaleView
10 | let configuration: CompactSliderStyleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/HandleViewWrapper.swift:8:8: note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct HandleViewWrapper: View {
| |- note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.handleStyle) var environmentHandleStyle
10 | @Environment(\.compactSliderHandleView) var handleView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| `- warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/BackgroundViewWrapper.swift:14:5: note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
12 | let padding: EdgeInsets
13 |
14 | init(configuration: CompactSliderStyleConfiguration, padding: EdgeInsets = .zero) {
| |- note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
15 | self.configuration = configuration
16 | self.padding = padding
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'ClipShapeStyle.Shape?' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'some View' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
76 | .environment(\.compactSliderStyleConfiguration, configuration)
| `- note: access can happen concurrently
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
[48/74] Compiling CompactSlider DefaultCompactSliderStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| `- warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
76 | .environment(\.compactSliderStyleConfiguration, configuration)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:111:10: note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
109 |
110 | @ViewBuilder
111 | func contentShape(_ clipShape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
112 | if let shape = clipShape {
113 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ProgressViewWrapper.swift:8:8: note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ProgressViewWrapper: View {
| |- note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.compactSliderOptions) var sliderOptions
10 | @Environment(\.compactSliderProgressView) var progressView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ScaleViewWrapper.swift:8:8: note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ScaleViewWrapper: View {
| |- note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.scaleView) var scaleView
10 | let configuration: CompactSliderStyleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/HandleViewWrapper.swift:8:8: note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct HandleViewWrapper: View {
| |- note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.handleStyle) var environmentHandleStyle
10 | @Environment(\.compactSliderHandleView) var handleView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| `- warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/BackgroundViewWrapper.swift:14:5: note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
12 | let padding: EdgeInsets
13 |
14 | init(configuration: CompactSliderStyleConfiguration, padding: EdgeInsets = .zero) {
| |- note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
15 | self.configuration = configuration
16 | self.padding = padding
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'ClipShapeStyle.Shape?' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'some View' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
76 | .environment(\.compactSliderStyleConfiguration, configuration)
| `- note: access can happen concurrently
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
[49/74] Compiling CompactSlider HandleViewWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| `- warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
76 | .environment(\.compactSliderStyleConfiguration, configuration)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:111:10: note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
109 |
110 | @ViewBuilder
111 | func contentShape(_ clipShape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
112 | if let shape = clipShape {
113 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ProgressViewWrapper.swift:8:8: note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ProgressViewWrapper: View {
| |- note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.compactSliderOptions) var sliderOptions
10 | @Environment(\.compactSliderProgressView) var progressView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ScaleViewWrapper.swift:8:8: note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ScaleViewWrapper: View {
| |- note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.scaleView) var scaleView
10 | let configuration: CompactSliderStyleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/HandleViewWrapper.swift:8:8: note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct HandleViewWrapper: View {
| |- note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.handleStyle) var environmentHandleStyle
10 | @Environment(\.compactSliderHandleView) var handleView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| `- warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/BackgroundViewWrapper.swift:14:5: note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
12 | let padding: EdgeInsets
13 |
14 | init(configuration: CompactSliderStyleConfiguration, padding: EdgeInsets = .zero) {
| |- note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
15 | self.configuration = configuration
16 | self.padding = padding
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'ClipShapeStyle.Shape?' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'some View' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
76 | .environment(\.compactSliderStyleConfiguration, configuration)
| `- note: access can happen concurrently
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
[50/74] Compiling CompactSlider ProgressViewWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| `- warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
76 | .environment(\.compactSliderStyleConfiguration, configuration)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:111:10: note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
109 |
110 | @ViewBuilder
111 | func contentShape(_ clipShape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
112 | if let shape = clipShape {
113 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ProgressViewWrapper.swift:8:8: note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ProgressViewWrapper: View {
| |- note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.compactSliderOptions) var sliderOptions
10 | @Environment(\.compactSliderProgressView) var progressView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ScaleViewWrapper.swift:8:8: note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ScaleViewWrapper: View {
| |- note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.scaleView) var scaleView
10 | let configuration: CompactSliderStyleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/HandleViewWrapper.swift:8:8: note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct HandleViewWrapper: View {
| |- note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.handleStyle) var environmentHandleStyle
10 | @Environment(\.compactSliderHandleView) var handleView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| `- warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/BackgroundViewWrapper.swift:14:5: note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
12 | let padding: EdgeInsets
13 |
14 | init(configuration: CompactSliderStyleConfiguration, padding: EdgeInsets = .zero) {
| |- note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
15 | self.configuration = configuration
16 | self.padding = padding
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'ClipShapeStyle.Shape?' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'some View' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
76 | .environment(\.compactSliderStyleConfiguration, configuration)
| `- note: access can happen concurrently
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
[51/74] Compiling CompactSlider ScaleViewWrapper.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| `- warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
76 | .environment(\.compactSliderStyleConfiguration, configuration)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:111:10: note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
109 |
110 | @ViewBuilder
111 | func contentShape(_ clipShape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
112 | if let shape = clipShape {
113 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ProgressViewWrapper.swift:8:8: note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ProgressViewWrapper: View {
| |- note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.compactSliderOptions) var sliderOptions
10 | @Environment(\.compactSliderProgressView) var progressView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ScaleViewWrapper.swift:8:8: note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ScaleViewWrapper: View {
| |- note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.scaleView) var scaleView
10 | let configuration: CompactSliderStyleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/HandleViewWrapper.swift:8:8: note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct HandleViewWrapper: View {
| |- note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.handleStyle) var environmentHandleStyle
10 | @Environment(\.compactSliderHandleView) var handleView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| `- warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/BackgroundViewWrapper.swift:14:5: note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
12 | let padding: EdgeInsets
13 |
14 | init(configuration: CompactSliderStyleConfiguration, padding: EdgeInsets = .zero) {
| |- note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
15 | self.configuration = configuration
16 | self.padding = padding
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'ClipShapeStyle.Shape?' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'some View' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
76 | .environment(\.compactSliderStyleConfiguration, configuration)
| `- note: access can happen concurrently
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
[52/74] Compiling CompactSlider Convertor.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| `- warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
76 | .environment(\.compactSliderStyleConfiguration, configuration)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:111:10: note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
109 |
110 | @ViewBuilder
111 | func contentShape(_ clipShape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
112 | if let shape = clipShape {
113 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ProgressViewWrapper.swift:8:8: note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ProgressViewWrapper: View {
| |- note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.compactSliderOptions) var sliderOptions
10 | @Environment(\.compactSliderProgressView) var progressView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ScaleViewWrapper.swift:8:8: note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ScaleViewWrapper: View {
| |- note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.scaleView) var scaleView
10 | let configuration: CompactSliderStyleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/HandleViewWrapper.swift:8:8: note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct HandleViewWrapper: View {
| |- note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.handleStyle) var environmentHandleStyle
10 | @Environment(\.compactSliderHandleView) var handleView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| `- warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/BackgroundViewWrapper.swift:14:5: note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
12 | let padding: EdgeInsets
13 |
14 | init(configuration: CompactSliderStyleConfiguration, padding: EdgeInsets = .zero) {
| |- note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
15 | self.configuration = configuration
16 | self.padding = padding
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'ClipShapeStyle.Shape?' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'some View' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
76 | .environment(\.compactSliderStyleConfiguration, configuration)
| `- note: access can happen concurrently
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
[53/74] Compiling CompactSlider EdgeInsets.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| `- warning: call to main actor-isolated instance method 'contentShape' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
76 | .environment(\.compactSliderStyleConfiguration, configuration)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:111:10: note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
109 |
110 | @ViewBuilder
111 | func contentShape(_ clipShape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'contentShape' from outside of its actor context are implicitly asynchronous
112 | if let shape = clipShape {
113 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(sliderOptions:progressView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ProgressViewWrapper.swift:8:8: note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ProgressViewWrapper: View {
| |- note: calls to initializer 'init(sliderOptions:progressView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.compactSliderOptions) var sliderOptions
10 | @Environment(\.compactSliderProgressView) var progressView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(scaleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ScaleViewWrapper.swift:8:8: note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct ScaleViewWrapper: View {
| |- note: calls to initializer 'init(scaleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.scaleView) var scaleView
10 | let configuration: CompactSliderStyleConfiguration
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| `- warning: call to main actor-isolated initializer 'init(environmentHandleStyle:handleView:configuration:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/HandleViewWrapper.swift:8:8: note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
6 | import SwiftUI
7 |
8 | struct HandleViewWrapper: View {
| |- note: calls to initializer 'init(environmentHandleStyle:handleView:configuration:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
9 | @Environment(\.handleStyle) var environmentHandleStyle
10 | @Environment(\.compactSliderHandleView) var handleView
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| `- warning: call to main actor-isolated instance method 'clipShapeStyleIf(_:shape:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/ClipShapeStyle.swift:93:10: note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
91 | extension View {
92 | @ViewBuilder
93 | func clipShapeStyleIf(_ condition: Bool, shape: ClipShapeStyle.Shape?) -> some View {
| `- note: calls to instance method 'clipShapeStyleIf(_:shape:)' from outside of its actor context are implicitly asynchronous
94 | if condition, let shape {
95 | switch shape {
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
41 | }
42 |
43 | public func makeBody(configuration: Configuration) -> some View {
| `- note: add '@MainActor' to make instance method 'makeBody(configuration:)' part of global actor 'MainActor'
44 | ZStack {
45 | if !configuration.progress.isMultipleValues,
:
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| `- warning: call to main actor-isolated initializer 'init(configuration:padding:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/BackgroundViewWrapper.swift:14:5: note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
12 | let padding: EdgeInsets
13 |
14 | init(configuration: CompactSliderStyleConfiguration, padding: EdgeInsets = .zero) {
| |- note: calls to initializer 'init(configuration:padding:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
15 | self.configuration = configuration
16 | self.padding = padding
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'ClipShapeStyle.Shape?' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'ClipShapeStyle.Shape?' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:74:10: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
72 | )
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
| |- warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending value of non-Sendable type 'some View' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| `- note: access can happen concurrently
76 | .environment(\.compactSliderStyleConfiguration, configuration)
77 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:75:10: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
73 | .compositingGroup()
74 | .contentShape(ClipShapeStyle.default(for: configuration.type).shape)
75 | .clipShapeStyleIf(clipShapeStyle.options.contains(.all), shape: clipShapeStyle.shape)
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and local nonisolated uses
76 | .environment(\.compactSliderStyleConfiguration, configuration)
| `- note: access can happen concurrently
77 | }
78 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:67:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
65 | .padding(padding)
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
68 | .clipShapeStyleIf(
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:68:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
66 | .background(
67 | BackgroundViewWrapper(configuration: configuration, padding: padding)
68 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
69 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.background),
70 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:49:17: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
47 | !configuration.progress.isCircularGridValues,
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
50 | .clipShapeStyleIf(
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:50:22: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
48 | !configuration.type.isScrollable {
49 | ProgressViewWrapper(configuration: configuration)
50 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
51 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.progress),
52 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:56:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
54 | }
55 |
56 | ScaleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
57 | .clipShapeStyleIf(
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:57:18: warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
55 |
56 | ScaleViewWrapper(configuration: configuration)
57 | .clipShapeStyleIf(
| |- warning: sending 'self.clipShapeStyle.shape' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self.clipShapeStyle.shape' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
58 | !clipShapeStyle.options.contains(.all) && clipShapeStyle.options.contains(.scale),
59 | shape: clipShapeStyle.shape
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/Styles/DefaultCompactSliderStyle.swift:62:13: warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
60 | )
61 |
62 | HandleViewWrapper(configuration: configuration)
| |- warning: sending 'configuration' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'configuration' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
63 | }
64 | .frame(maxWidth: .infinity, maxHeight: .infinity)
[54/74] Compiling CompactSlider CompactSliderPoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:51:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
49 | extension CompactSliderPolarPoint {
50 | /// A zero angle and zero radius.
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:53:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'full' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:72:20: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | }
71 |
72 | static var none = FocusState(isHovering: false, isDragging: false, isWheelScrolling: false)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:393:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// - The step defines the step for the slider values.
17 | /// - The colorScheme defines the possible color schemes, corresponding to the light and dark appearances.
18 | public struct CompactSliderStyleConfiguration: Equatable {
| `- note: consider making struct 'CompactSliderStyleConfiguration' conform to the 'Sendable' protocol
19 | /// A slider type in which the slider will indicate the selected value.
20 | public let type: CompactSliderType
:
391 |
392 | struct CompactSliderStyleConfigurationKey: EnvironmentKey {
393 | static let defaultValue: CompactSliderStyleConfiguration = CompactSliderStyleConfiguration(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | type: .horizontal(.leading),
395 | size: .zero,
[55/74] Compiling CompactSlider CompactSliderPolarPoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:51:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
49 | extension CompactSliderPolarPoint {
50 | /// A zero angle and zero radius.
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:53:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'full' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:72:20: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | }
71 |
72 | static var none = FocusState(isHovering: false, isDragging: false, isWheelScrolling: false)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:393:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// - The step defines the step for the slider values.
17 | /// - The colorScheme defines the possible color schemes, corresponding to the light and dark appearances.
18 | public struct CompactSliderStyleConfiguration: Equatable {
| `- note: consider making struct 'CompactSliderStyleConfiguration' conform to the 'Sendable' protocol
19 | /// A slider type in which the slider will indicate the selected value.
20 | public let type: CompactSliderType
:
391 |
392 | struct CompactSliderStyleConfigurationKey: EnvironmentKey {
393 | static let defaultValue: CompactSliderStyleConfiguration = CompactSliderStyleConfiguration(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | type: .horizontal(.leading),
395 | size: .zero,
[56/74] Compiling CompactSlider CompactSliderStep.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:51:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
49 | extension CompactSliderPolarPoint {
50 | /// A zero angle and zero radius.
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:53:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'full' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:72:20: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | }
71 |
72 | static var none = FocusState(isHovering: false, isDragging: false, isWheelScrolling: false)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:393:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// - The step defines the step for the slider values.
17 | /// - The colorScheme defines the possible color schemes, corresponding to the light and dark appearances.
18 | public struct CompactSliderStyleConfiguration: Equatable {
| `- note: consider making struct 'CompactSliderStyleConfiguration' conform to the 'Sendable' protocol
19 | /// A slider type in which the slider will indicate the selected value.
20 | public let type: CompactSliderType
:
391 |
392 | struct CompactSliderStyleConfigurationKey: EnvironmentKey {
393 | static let defaultValue: CompactSliderStyleConfiguration = CompactSliderStyleConfiguration(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | type: .horizontal(.leading),
395 | size: .zero,
[57/74] Compiling CompactSlider CompactSliderStyleConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:51:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
49 | extension CompactSliderPolarPoint {
50 | /// A zero angle and zero radius.
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:53:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'full' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:72:20: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | }
71 |
72 | static var none = FocusState(isHovering: false, isDragging: false, isWheelScrolling: false)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:393:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// - The step defines the step for the slider values.
17 | /// - The colorScheme defines the possible color schemes, corresponding to the light and dark appearances.
18 | public struct CompactSliderStyleConfiguration: Equatable {
| `- note: consider making struct 'CompactSliderStyleConfiguration' conform to the 'Sendable' protocol
19 | /// A slider type in which the slider will indicate the selected value.
20 | public let type: CompactSliderType
:
391 |
392 | struct CompactSliderStyleConfigurationKey: EnvironmentKey {
393 | static let defaultValue: CompactSliderStyleConfiguration = CompactSliderStyleConfiguration(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | type: .horizontal(.leading),
395 | size: .zero,
[58/74] Compiling CompactSlider CompactSliderType.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:51:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
49 | extension CompactSliderPolarPoint {
50 | /// A zero angle and zero radius.
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:53:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'full' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:72:20: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | }
71 |
72 | static var none = FocusState(isHovering: false, isDragging: false, isWheelScrolling: false)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:393:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// - The step defines the step for the slider values.
17 | /// - The colorScheme defines the possible color schemes, corresponding to the light and dark appearances.
18 | public struct CompactSliderStyleConfiguration: Equatable {
| `- note: consider making struct 'CompactSliderStyleConfiguration' conform to the 'Sendable' protocol
19 | /// A slider type in which the slider will indicate the selected value.
20 | public let type: CompactSliderType
:
391 |
392 | struct CompactSliderStyleConfigurationKey: EnvironmentKey {
393 | static let defaultValue: CompactSliderStyleConfiguration = CompactSliderStyleConfiguration(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | type: .horizontal(.leading),
395 | size: .zero,
[59/74] Compiling CompactSlider BackgroundContainerView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:51:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
49 | extension CompactSliderPolarPoint {
50 | /// A zero angle and zero radius.
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:53:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'full' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:72:20: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | }
71 |
72 | static var none = FocusState(isHovering: false, isDragging: false, isWheelScrolling: false)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:393:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// - The step defines the step for the slider values.
17 | /// - The colorScheme defines the possible color schemes, corresponding to the light and dark appearances.
18 | public struct CompactSliderStyleConfiguration: Equatable {
| `- note: consider making struct 'CompactSliderStyleConfiguration' conform to the 'Sendable' protocol
19 | /// A slider type in which the slider will indicate the selected value.
20 | public let type: CompactSliderType
:
391 |
392 | struct CompactSliderStyleConfigurationKey: EnvironmentKey {
393 | static let defaultValue: CompactSliderStyleConfiguration = CompactSliderStyleConfiguration(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | type: .horizontal(.leading),
395 | size: .zero,
[60/74] Compiling CompactSlider DefaultBackgroundView.swift
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:51:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
49 | extension CompactSliderPolarPoint {
50 | /// A zero angle and zero radius.
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderPolarPoint.swift:53:23: warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
11 | /// The center of the circle is in the center of the view.
12 | /// The radius is a half of the min size of the view.
13 | public struct CompactSliderPolarPoint: Hashable {
| `- note: consider making struct 'CompactSliderPolarPoint' conform to the 'Sendable' protocol
14 | /// An angle.
15 | public let angle: Angle
:
51 | public static let zero = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 0)
52 | /// A zero angle and radius is 1.
53 | public static let full = CompactSliderPolarPoint(angle: .zero, normalizedRadius: 1)
| |- warning: static property 'full' is not concurrency-safe because non-'Sendable' type 'CompactSliderPolarPoint' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'full' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:72:20: warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
70 | }
71 |
72 | static var none = FocusState(isHovering: false, isDragging: false, isWheelScrolling: false)
| |- warning: static property 'none' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'none' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | }
74 | }
/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/CompactSliderStyleConfiguration.swift:393:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// - The step defines the step for the slider values.
17 | /// - The colorScheme defines the possible color schemes, corresponding to the light and dark appearances.
18 | public struct CompactSliderStyleConfiguration: Equatable {
| `- note: consider making struct 'CompactSliderStyleConfiguration' conform to the 'Sendable' protocol
19 | /// A slider type in which the slider will indicate the selected value.
20 | public let type: CompactSliderType
:
391 |
392 | struct CompactSliderStyleConfigurationKey: EnvironmentKey {
393 | static let defaultValue: CompactSliderStyleConfiguration = CompactSliderStyleConfiguration(
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'CompactSliderStyleConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
394 | type: .horizontal(.leading),
395 | size: .zero,
[61/74] Compiling CompactSlider Functions.swift
[62/74] Compiling CompactSlider HapticFeedback.swift
[63/74] Compiling CompactSlider ScreenScaleFactor.swift
[64/74] Compiling CompactSlider ScrollWheelModifier.swift
[65/74] Compiling CompactSlider View.swift
[66/74] Compiling CompactSlider WatchOSFillMaterial.swift
[67/74] Compiling CompactSlider resource_bundle_accessor.swift
[68/74] Compiling CompactSlider SystemSliderBackgroundView.swift
[69/74] Compiling CompactSlider SystemSliderHandleView.swift
[70/74] Compiling CompactSlider SystemSliderProgressView.swift
[71/74] Compiling CompactSlider SystemSliderType.swift
[72/74] Compiling CompactSlider ClosedRange.swift
[73/74] Compiling CompactSlider CoreGraphics.swift
[74/74] Compiling CompactSlider Defaults.swift
Build complete! (11.06s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "CompactSlider",
"name" : "CompactSlider",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "CompactSlider",
"targets" : [
"CompactSlider"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "CompactSlider",
"module_type" : "SwiftTarget",
"name" : "CompactSlider",
"path" : "Sources/CompactSlider",
"product_memberships" : [
"CompactSlider"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/CompactSlider/PrivacyInfo.xcprivacy",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"CompactSlider+Dragging.swift",
"CompactSlider+OnChange.swift",
"CompactSlider+ScrollWheel.swift",
"CompactSlider.swift",
"CompactSliderAnimations.swift",
"CompactSliderOnChangeAction.swift",
"CompactSliderOption.swift",
"CompactSliderPoint.swift",
"CompactSliderPolarPoint.swift",
"CompactSliderStep.swift",
"CompactSliderStyleConfiguration.swift",
"CompactSliderType.swift",
"Components/Background/BackgroundContainerView.swift",
"Components/Background/DefaultBackgroundView.swift",
"Components/Background/EnvironmentBackgroundViewKey.swift",
"Components/Background/GridBackgroundView.swift",
"Components/Background/GridView.swift",
"Components/CompactSliderVisibility.swift",
"Components/Gauge/GaugeStyle.swift",
"Components/Gauge/GaugeView.swift",
"Components/Grid/Grid.swift",
"Components/Handle/EnvironmentHandleStyleKey.swift",
"Components/Handle/EnvironmentHandleViewKey.swift",
"Components/Handle/HandleStyle.swift",
"Components/Handle/HandleView.swift",
"Components/Handle/HandleViewContainerView.swift",
"Components/Progress/EnvironmentProgressViewKey.swift",
"Components/Progress/Progress.swift",
"Components/Progress/ProgressContainerView.swift",
"Components/Progress/ProgressView.swift",
"Components/Scale/DefaultScaleView.swift",
"Components/Scale/EnvironmentScaleViewKey.swift",
"Components/Scale/ScaleContainerView.swift",
"Components/Scale/ScaleShapeStyle.swift",
"Components/Scale/ScaleView.swift",
"Components/Scale/ScaleZStackView.swift",
"Components/Scale/Scales/CircularScaleShape.swift",
"Components/Scale/Scales/LinearScaleShape.swift",
"Components/Scale/Scales/ScaleLabels.swift",
"Styles/BackgroundViewWrapper.swift",
"Styles/ClipShapeStyle.swift",
"Styles/CompactSliderStyle.swift",
"Styles/DefaultCompactSliderStyle+Init.swift",
"Styles/DefaultCompactSliderStyle.swift",
"Styles/HandleViewWrapper.swift",
"Styles/ProgressViewWrapper.swift",
"Styles/ScaleViewWrapper.swift",
"Treats/Convertor.swift",
"Treats/EdgeInsets.swift",
"Treats/GradientMask.swift",
"Treats/OptionalCGSize.swift",
"Treats/ReversedMask.swift",
"Treats/SystemSlider/EnvironmentSystemSliderStyleKey.swift",
"Treats/SystemSlider/HandleStyle+SystemSlider.swift",
"Treats/SystemSlider/SystemSlider+ViewFrame.swift",
"Treats/SystemSlider/SystemSlider.swift",
"Treats/SystemSlider/SystemSliderBackgroundView.swift",
"Treats/SystemSlider/SystemSliderHandleView.swift",
"Treats/SystemSlider/SystemSliderProgressView.swift",
"Treats/SystemSlider/SystemSliderType.swift",
"Utils/ClosedRange.swift",
"Utils/CoreGraphics.swift",
"Utils/Defaults.swift",
"Utils/Functions.swift",
"Utils/HapticFeedback.swift",
"Utils/ScreenScaleFactor.swift",
"Utils/ScrollWheelModifier.swift",
"Utils/View.swift",
"Utils/WatchOSFillMaterial.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.