Build Information
Successful build of SwiftThemeKit, reference master (c207e5
), with Swift 6.1 for macOS (SPM) on 15 Jun 2025 12:10:55 UTC.
Swift 6 data race errors: 28
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 InferSendableFromCaptures
Build Log
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[19/74] Compiling SwiftThemeKit Checkbox.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// and shapes via `@Environment(\.appTheme)`.
9 | private struct AppThemeKey: EnvironmentKey {
10 | static let defaultValue: Theme = .defaultLight
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' 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
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:5:15: note: consider making struct 'Theme' conform to the 'Sendable' protocol
3 | /// A complete representation of a visual theme including color, typography, spacing, radius, and shadow tokens.
4 | /// The `Theme` struct is the root context for all styling logic in a themed SwiftUI application.
5 | public struct Theme {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[20/74] Compiling SwiftThemeKit RadioButton.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// and shapes via `@Environment(\.appTheme)`.
9 | private struct AppThemeKey: EnvironmentKey {
10 | static let defaultValue: Theme = .defaultLight
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' 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
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:5:15: note: consider making struct 'Theme' conform to the 'Sendable' protocol
3 | /// A complete representation of a visual theme including color, typography, spacing, radius, and shadow tokens.
4 | /// The `Theme` struct is the root context for all styling logic in a themed SwiftUI application.
5 | public struct Theme {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[21/74] Compiling SwiftThemeKit RadioGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// and shapes via `@Environment(\.appTheme)`.
9 | private struct AppThemeKey: EnvironmentKey {
10 | static let defaultValue: Theme = .defaultLight
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' 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
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:5:15: note: consider making struct 'Theme' conform to the 'Sendable' protocol
3 | /// A complete representation of a visual theme including color, typography, spacing, radius, and shadow tokens.
4 | /// The `Theme` struct is the root context for all styling logic in a themed SwiftUI application.
5 | public struct Theme {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[22/74] Compiling SwiftThemeKit ThemedShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// and shapes via `@Environment(\.appTheme)`.
9 | private struct AppThemeKey: EnvironmentKey {
10 | static let defaultValue: Theme = .defaultLight
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' 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
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:5:15: note: consider making struct 'Theme' conform to the 'Sendable' protocol
3 | /// A complete representation of a visual theme including color, typography, spacing, radius, and shadow tokens.
4 | /// The `Theme` struct is the root context for all styling logic in a themed SwiftUI application.
5 | public struct Theme {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[23/74] Compiling SwiftThemeKit EnvironmentKeys.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// and shapes via `@Environment(\.appTheme)`.
9 | private struct AppThemeKey: EnvironmentKey {
10 | static let defaultValue: Theme = .defaultLight
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' 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
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:5:15: note: consider making struct 'Theme' conform to the 'Sendable' protocol
3 | /// A complete representation of a visual theme including color, typography, spacing, radius, and shadow tokens.
4 | /// The `Theme` struct is the root context for all styling logic in a themed SwiftUI application.
5 | public struct Theme {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[24/74] Compiling SwiftThemeKit Color.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// and shapes via `@Environment(\.appTheme)`.
9 | private struct AppThemeKey: EnvironmentKey {
10 | static let defaultValue: Theme = .defaultLight
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' 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
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:5:15: note: consider making struct 'Theme' conform to the 'Sendable' protocol
3 | /// A complete representation of a visual theme including color, typography, spacing, radius, and shadow tokens.
4 | /// The `Theme` struct is the root context for all styling logic in a themed SwiftUI application.
5 | public struct Theme {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[25/74] Compiling SwiftThemeKit Shape+ThemeModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:10:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
8 | /// and shapes via `@Environment(\.appTheme)`.
9 | private struct AppThemeKey: EnvironmentKey {
10 | static let defaultValue: Theme = .defaultLight
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Theme' 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
11 | }
12 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:5:15: note: consider making struct 'Theme' conform to the 'Sendable' protocol
3 | /// A complete representation of a visual theme including color, typography, spacing, radius, and shadow tokens.
4 | /// The `Theme` struct is the root context for all styling logic in a themed SwiftUI application.
5 | public struct Theme {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:18:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
16 | /// to update and share configuration consistently across the component.
17 | private struct ButtonConfigurationKey: EnvironmentKey {
18 | static let defaultValue: ButtonConfiguration = ButtonConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ButtonConfiguration' 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
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/Button/ButtonConfiguration.swift:11:8: note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
9 | /// This struct supports granular control and is typically set using modifiers like:
10 | /// `buttonVariant(_:)`, `buttonShape(_:)`, `buttonSize(_:)`, or `buttonLabelStyle(_:)`.
11 | struct ButtonConfiguration {
| `- note: consider making struct 'ButtonConfiguration' conform to the 'Sendable' protocol
12 |
13 | /// The visual style variant of the button.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:26:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
24 | /// defined via `.textFieldVariant(_:)`, `.textFieldShape(_:)`, etc.
25 | private struct TextFieldConfigurationKey: EnvironmentKey {
26 | static let defaultValue: TextFieldConfiguration = TextFieldConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextFieldConfiguration' 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
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextField/TextFieldConfiguration.swift:6:8: note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
4 | ///
5 | /// This struct is typically used in conjunction with environment values to manage consistent styling for custom text field components.
6 | struct TextFieldConfiguration {
| `- note: consider making struct 'TextFieldConfiguration' conform to the 'Sendable' protocol
7 |
8 | /// The visual style of the text field (e.g., filled, outlined, underlined).
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/EnvironmentKeys.swift:34:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' may have shared mutable state; this is an error in the Swift 6 language mode
32 | /// Used by components like `PlainTextButtonStyle` or custom label styling.
33 | private struct TypographyKey: EnvironmentKey {
34 | static let defaultValue: ThemeFontToken = ThemeFontToken(.bodyMedium)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ThemeFontToken' 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
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeFontToken.swift:11:15: note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
9 | /// This type is used in components like buttons, text fields, and custom views to centralize
10 | /// font styling and resolve it consistently from the current theme.
11 | public struct ThemeFontToken {
| `- note: consider making struct 'ThemeFontToken' conform to the 'Sendable' protocol
12 |
13 | /// The base typography style from the theme, such as `.bodyMedium`, `.headlineSmall`, etc.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
9 | /// - color: A `ColorToken` for stroke color. Default is `.primary`.
10 | @ViewBuilder
11 | func fill(
| `- note: add '@MainActor' to make instance method 'fill' part of global actor 'MainActor'
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| `- warning: call to main actor-isolated initializer 'init(shape:color:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
15 | }
16 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Components/ThemedShape.swift:17:15: note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
15 | ///
16 | /// - Note: Ensure the view hierarchy is wrapped in a `ThemeProvider` so the `theme` environment is properly available.
17 | public struct ThemedShape<S: Shape>: View {
| |- note: calls to initializer 'init(shape:color:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'View'
18 |
19 | /// Accesses the current `Theme` from the environment.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Shape+ThemeModifiers.swift:14:5: warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
12 | _ color: ColorToken
13 | ) -> some View {
14 | ThemedShape(shape: self, color: color)
| |- warning: sending 'color' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'color' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
15 | }
16 | }
[26/74] Compiling SwiftThemeKit ClipShapeModifier.swift
[27/74] Compiling SwiftThemeKit CornerRadiusModifier.swift
[28/74] Compiling SwiftThemeKit ForegroundModifier.swift
[29/74] Compiling SwiftThemeKit PaddingModifier.swift
[30/74] Compiling SwiftThemeKit ShadowModifier.swift
[31/74] Compiling SwiftThemeKit StrokeModifier.swift
[32/74] Compiling SwiftThemeKit TextFieldConfiguration.swift
[33/74] Compiling SwiftThemeKit ThemeCheckboxSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeCheckboxSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeCheckboxSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeRadioButtonSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.radioButtonSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeRadioButtonSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.radioButtonSize(for: .small),
[34/74] Compiling SwiftThemeKit ThemePlatform+CheckboxConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeCheckboxSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeCheckboxSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeRadioButtonSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.radioButtonSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeRadioButtonSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.radioButtonSize(for: .small),
[35/74] Compiling SwiftThemeKit RadioButtonConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeCheckboxSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeCheckboxSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeRadioButtonSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.radioButtonSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeRadioButtonSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.radioButtonSize(for: .small),
[36/74] Compiling SwiftThemeKit ThemePlatform+RadioButtonConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeCheckboxSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeCheckboxSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeRadioButtonSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.radioButtonSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeRadioButtonSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.radioButtonSize(for: .small),
[37/74] Compiling SwiftThemeKit ThemeRadioButtonSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeCheckboxSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeCheckboxSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeRadioButtonSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.radioButtonSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeRadioButtonSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.radioButtonSize(for: .small),
[38/74] Compiling SwiftThemeKit TextFieldShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeCheckboxSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeCheckboxSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeRadioButtonSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.radioButtonSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeRadioButtonSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.radioButtonSize(for: .small),
[39/74] Compiling SwiftThemeKit TextFieldSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeCheckboxSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/Checkbox/ThemeCheckboxSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeCheckboxSize: Equatable {
| `- note: consider making struct 'ThemeCheckboxSize' conform to the 'Sendable' protocol
25 |
26 | /// Checkbox configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeCheckboxSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeCheckboxSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.checkboxSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:50:14: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
48 | ///
49 | /// Sizing values are computed using `ThemePlatform` based on the current platform (iOS, macOS, etc.).
50 | static let defaultLight = ThemeRadioButtonSize(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | small: .init(
52 | size: ThemePlatform.current.radioButtonSize(for: .small),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/RadioButton/ThemeRadioButtonSize.swift:74:14: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
22 | ///
23 | /// This struct is injected through the current theme, allowing consistent sizing across the app.
24 | public struct ThemeRadioButtonSize: Equatable {
| `- note: consider making struct 'ThemeRadioButtonSize' conform to the 'Sendable' protocol
25 |
26 | /// Radio button configuration for `.small` size.
:
72 | ///
73 | /// The label spacing and stroke may differ slightly to improve contrast and accessibility in dark mode.
74 | static let defaultDark = ThemeRadioButtonSize(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadioButtonSize' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | small: .init(
76 | size: ThemePlatform.current.radioButtonSize(for: .small),
[40/74] Compiling SwiftThemeKit ThemeShadows+Copy.swift
[41/74] Compiling SwiftThemeKit ThemeShapes+Copy.swift
[42/74] Compiling SwiftThemeKit ThemeSpacing+Copy.swift
[43/74] Compiling SwiftThemeKit ThemeTypography+Copy.swift
[44/74] Compiling SwiftThemeKit View+Button.swift
[45/74] Compiling SwiftThemeKit View+TextField.swift
[46/74] Compiling SwiftThemeKit View+ThemeModifiers.swift
[47/74] Compiling SwiftThemeKit TextFieldModifiers.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeButtonStyle.swift:55:9: warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
53 | public func makeBody(configuration: Configuration) -> some View {
54 | let isPressed = configuration.isPressed
55 | let isDestructive = configuration.role == .destructive
| `- warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
56 |
57 | let bgColor = variant.backgroundColor(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The core method that builds the styled text field.
42 | public func _body(configuration: TextField<Self._Label>) -> some View {
| `- note: add '@MainActor' to make instance method '_body(configuration:)' part of global actor 'MainActor'
43 | let bgColor = backgroundColor()
44 | let borderColor: Color = borderColor()
:
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| `- warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/View+Utils.swift:44:15: note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
42 | /// ```
43 | @ViewBuilder
44 | public func measure(_ size: Binding<CGSize>) -> some View {
| `- note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
45 | self.background(
46 | GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| |- 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 task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
[48/74] Compiling SwiftThemeKit ThemedTextFieldModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeButtonStyle.swift:55:9: warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
53 | public func makeBody(configuration: Configuration) -> some View {
54 | let isPressed = configuration.isPressed
55 | let isDestructive = configuration.role == .destructive
| `- warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
56 |
57 | let bgColor = variant.backgroundColor(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The core method that builds the styled text field.
42 | public func _body(configuration: TextField<Self._Label>) -> some View {
| `- note: add '@MainActor' to make instance method '_body(configuration:)' part of global actor 'MainActor'
43 | let bgColor = backgroundColor()
44 | let borderColor: Color = borderColor()
:
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| `- warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/View+Utils.swift:44:15: note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
42 | /// ```
43 | @ViewBuilder
44 | public func measure(_ size: Binding<CGSize>) -> some View {
| `- note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
45 | self.background(
46 | GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| |- 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 task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
[49/74] Compiling SwiftThemeKit ThemedNavigationTitleModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeButtonStyle.swift:55:9: warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
53 | public func makeBody(configuration: Configuration) -> some View {
54 | let isPressed = configuration.isPressed
55 | let isDestructive = configuration.role == .destructive
| `- warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
56 |
57 | let bgColor = variant.backgroundColor(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The core method that builds the styled text field.
42 | public func _body(configuration: TextField<Self._Label>) -> some View {
| `- note: add '@MainActor' to make instance method '_body(configuration:)' part of global actor 'MainActor'
43 | let bgColor = backgroundColor()
44 | let borderColor: Color = borderColor()
:
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| `- warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/View+Utils.swift:44:15: note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
42 | /// ```
43 | @ViewBuilder
44 | public func measure(_ size: Binding<CGSize>) -> some View {
| `- note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
45 | self.background(
46 | GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| |- 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 task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
[50/74] Compiling SwiftThemeKit TypographyModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeButtonStyle.swift:55:9: warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
53 | public func makeBody(configuration: Configuration) -> some View {
54 | let isPressed = configuration.isPressed
55 | let isDestructive = configuration.role == .destructive
| `- warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
56 |
57 | let bgColor = variant.backgroundColor(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The core method that builds the styled text field.
42 | public func _body(configuration: TextField<Self._Label>) -> some View {
| `- note: add '@MainActor' to make instance method '_body(configuration:)' part of global actor 'MainActor'
43 | let bgColor = backgroundColor()
44 | let borderColor: Color = borderColor()
:
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| `- warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/View+Utils.swift:44:15: note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
42 | /// ```
43 | @ViewBuilder
44 | public func measure(_ size: Binding<CGSize>) -> some View {
| `- note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
45 | self.background(
46 | GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| |- 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 task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
[51/74] Compiling SwiftThemeKit PlainTextButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeButtonStyle.swift:55:9: warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
53 | public func makeBody(configuration: Configuration) -> some View {
54 | let isPressed = configuration.isPressed
55 | let isDestructive = configuration.role == .destructive
| `- warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
56 |
57 | let bgColor = variant.backgroundColor(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The core method that builds the styled text field.
42 | public func _body(configuration: TextField<Self._Label>) -> some View {
| `- note: add '@MainActor' to make instance method '_body(configuration:)' part of global actor 'MainActor'
43 | let bgColor = backgroundColor()
44 | let borderColor: Color = borderColor()
:
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| `- warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/View+Utils.swift:44:15: note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
42 | /// ```
43 | @ViewBuilder
44 | public func measure(_ size: Binding<CGSize>) -> some View {
| `- note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
45 | self.background(
46 | GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| |- 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 task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
[52/74] Compiling SwiftThemeKit ThemeButtonStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeButtonStyle.swift:55:9: warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
53 | public func makeBody(configuration: Configuration) -> some View {
54 | let isPressed = configuration.isPressed
55 | let isDestructive = configuration.role == .destructive
| `- warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
56 |
57 | let bgColor = variant.backgroundColor(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The core method that builds the styled text field.
42 | public func _body(configuration: TextField<Self._Label>) -> some View {
| `- note: add '@MainActor' to make instance method '_body(configuration:)' part of global actor 'MainActor'
43 | let bgColor = backgroundColor()
44 | let borderColor: Color = borderColor()
:
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| `- warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/View+Utils.swift:44:15: note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
42 | /// ```
43 | @ViewBuilder
44 | public func measure(_ size: Binding<CGSize>) -> some View {
| `- note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
45 | self.background(
46 | GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| |- 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 task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
[53/74] Compiling SwiftThemeKit ThemeTextFieldStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeButtonStyle.swift:55:9: warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
53 | public func makeBody(configuration: Configuration) -> some View {
54 | let isPressed = configuration.isPressed
55 | let isDestructive = configuration.role == .destructive
| `- warning: initialization of immutable value 'isDestructive' was never used; consider replacing with assignment to '_' or removing it
56 |
57 | let bgColor = variant.backgroundColor(
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
40 |
41 | /// The core method that builds the styled text field.
42 | public func _body(configuration: TextField<Self._Label>) -> some View {
| `- note: add '@MainActor' to make instance method '_body(configuration:)' part of global actor 'MainActor'
43 | let bgColor = backgroundColor()
44 | let borderColor: Color = borderColor()
:
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| `- warning: call to main actor-isolated instance method 'measure' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/View+Utils.swift:44:15: note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
42 | /// ```
43 | @ViewBuilder
44 | public func measure(_ size: Binding<CGSize>) -> some View {
| `- note: calls to instance method 'measure' from outside of its actor context are implicitly asynchronous
45 | self.background(
46 | GeometryReader { proxy in
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Styles/ThemeTextFieldStyle.swift:50:8: warning: sending value of non-Sendable type 'some View' risks causing data races; this is an error in the Swift 6 language mode
48 | .textFieldStyle(.plain) // Avoid default styling
49 | .padding(size.padding(theme: theme)) // Apply padding based on size
50 | .measure($fieldSize) // Store size to place underline dynamically
| |- 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 task-isolated value of non-Sendable type 'some View' to main actor-isolated callee risks causing races in between task-isolated and main actor-isolated uses
51 | .background(backgroundView(color: bgColor)) // Optional filled background
52 | .overlay(borderOverlay(color: borderColor)) // Draw border depending on variant
[54/74] Compiling SwiftThemeKit TextFieldVariant.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:14:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
12 |
13 | /// The default configuration for light mode
14 | public static let defaultLight = ThemeButtonDefaults(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | shape: .rounded,
16 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:21:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
19 |
20 | /// The default configuration for dark mode
21 | public static let defaultDark = ThemeButtonDefaults(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | shape: .rounded,
23 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:135:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
133 | public let shadow: Color
134 |
135 | public static let defaultLight = ThemeColors(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | primary: .init(hex: "#5F5791"),
137 | onPrimary: .init(hex: "#FFFFFF"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:174:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
172 | )
173 |
174 | public static let defaultDark = ThemeColors(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | primary: .init(hex: "#F3EDFF"),
176 | onPrimary: .init(hex: "#30285F"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:28:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
26 |
27 | /// A predefined set of corner radius values for light mode.
28 | public static let defaultLight = ThemeRadii(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | xs: 4,
30 | sm: 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:38:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
36 |
37 | /// A predefined set of corner radius values for dark mode.
38 | public static let defaultDark = ThemeRadii(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | xs: 4,
40 | sm: 8,
[55/74] Compiling SwiftThemeKit ThemeButtonDefaults.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:14:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
12 |
13 | /// The default configuration for light mode
14 | public static let defaultLight = ThemeButtonDefaults(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | shape: .rounded,
16 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:21:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
19 |
20 | /// The default configuration for dark mode
21 | public static let defaultDark = ThemeButtonDefaults(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | shape: .rounded,
23 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:135:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
133 | public let shadow: Color
134 |
135 | public static let defaultLight = ThemeColors(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | primary: .init(hex: "#5F5791"),
137 | onPrimary: .init(hex: "#FFFFFF"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:174:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
172 | )
173 |
174 | public static let defaultDark = ThemeColors(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | primary: .init(hex: "#F3EDFF"),
176 | onPrimary: .init(hex: "#30285F"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:28:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
26 |
27 | /// A predefined set of corner radius values for light mode.
28 | public static let defaultLight = ThemeRadii(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | xs: 4,
30 | sm: 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:38:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
36 |
37 | /// A predefined set of corner radius values for dark mode.
38 | public static let defaultDark = ThemeRadii(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | xs: 4,
40 | sm: 8,
[56/74] Compiling SwiftThemeKit ThemeColors.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:14:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
12 |
13 | /// The default configuration for light mode
14 | public static let defaultLight = ThemeButtonDefaults(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | shape: .rounded,
16 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:21:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
19 |
20 | /// The default configuration for dark mode
21 | public static let defaultDark = ThemeButtonDefaults(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | shape: .rounded,
23 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:135:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
133 | public let shadow: Color
134 |
135 | public static let defaultLight = ThemeColors(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | primary: .init(hex: "#5F5791"),
137 | onPrimary: .init(hex: "#FFFFFF"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:174:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
172 | )
173 |
174 | public static let defaultDark = ThemeColors(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | primary: .init(hex: "#F3EDFF"),
176 | onPrimary: .init(hex: "#30285F"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:28:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
26 |
27 | /// A predefined set of corner radius values for light mode.
28 | public static let defaultLight = ThemeRadii(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | xs: 4,
30 | sm: 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:38:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
36 |
37 | /// A predefined set of corner radius values for dark mode.
38 | public static let defaultDark = ThemeRadii(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | xs: 4,
40 | sm: 8,
[57/74] Compiling SwiftThemeKit ThemeFontToken.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:14:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
12 |
13 | /// The default configuration for light mode
14 | public static let defaultLight = ThemeButtonDefaults(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | shape: .rounded,
16 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:21:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
19 |
20 | /// The default configuration for dark mode
21 | public static let defaultDark = ThemeButtonDefaults(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | shape: .rounded,
23 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:135:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
133 | public let shadow: Color
134 |
135 | public static let defaultLight = ThemeColors(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | primary: .init(hex: "#5F5791"),
137 | onPrimary: .init(hex: "#FFFFFF"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:174:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
172 | )
173 |
174 | public static let defaultDark = ThemeColors(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | primary: .init(hex: "#F3EDFF"),
176 | onPrimary: .init(hex: "#30285F"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:28:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
26 |
27 | /// A predefined set of corner radius values for light mode.
28 | public static let defaultLight = ThemeRadii(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | xs: 4,
30 | sm: 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:38:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
36 |
37 | /// A predefined set of corner radius values for dark mode.
38 | public static let defaultDark = ThemeRadii(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | xs: 4,
40 | sm: 8,
[58/74] Compiling SwiftThemeKit ThemePlatform.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:14:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
12 |
13 | /// The default configuration for light mode
14 | public static let defaultLight = ThemeButtonDefaults(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | shape: .rounded,
16 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:21:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
19 |
20 | /// The default configuration for dark mode
21 | public static let defaultDark = ThemeButtonDefaults(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | shape: .rounded,
23 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:135:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
133 | public let shadow: Color
134 |
135 | public static let defaultLight = ThemeColors(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | primary: .init(hex: "#5F5791"),
137 | onPrimary: .init(hex: "#FFFFFF"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:174:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
172 | )
173 |
174 | public static let defaultDark = ThemeColors(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | primary: .init(hex: "#F3EDFF"),
176 | onPrimary: .init(hex: "#30285F"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:28:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
26 |
27 | /// A predefined set of corner radius values for light mode.
28 | public static let defaultLight = ThemeRadii(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | xs: 4,
30 | sm: 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:38:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
36 |
37 | /// A predefined set of corner radius values for dark mode.
38 | public static let defaultDark = ThemeRadii(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | xs: 4,
40 | sm: 8,
[59/74] Compiling SwiftThemeKit ThemePositions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:14:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
12 |
13 | /// The default configuration for light mode
14 | public static let defaultLight = ThemeButtonDefaults(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | shape: .rounded,
16 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:21:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
19 |
20 | /// The default configuration for dark mode
21 | public static let defaultDark = ThemeButtonDefaults(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | shape: .rounded,
23 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:135:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
133 | public let shadow: Color
134 |
135 | public static let defaultLight = ThemeColors(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | primary: .init(hex: "#5F5791"),
137 | onPrimary: .init(hex: "#FFFFFF"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:174:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
172 | )
173 |
174 | public static let defaultDark = ThemeColors(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | primary: .init(hex: "#F3EDFF"),
176 | onPrimary: .init(hex: "#30285F"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:28:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
26 |
27 | /// A predefined set of corner radius values for light mode.
28 | public static let defaultLight = ThemeRadii(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | xs: 4,
30 | sm: 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:38:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
36 |
37 | /// A predefined set of corner radius values for dark mode.
38 | public static let defaultDark = ThemeRadii(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | xs: 4,
40 | sm: 8,
[60/74] Compiling SwiftThemeKit ThemeRadii.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:14:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
12 |
13 | /// The default configuration for light mode
14 | public static let defaultLight = ThemeButtonDefaults(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | shape: .rounded,
16 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeButtonDefaults.swift:21:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import SwiftUI
2 |
3 | public struct ThemeButtonDefaults {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | let shape: ButtonShape
:
19 |
20 | /// The default configuration for dark mode
21 | public static let defaultDark = ThemeButtonDefaults(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeButtonDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | shape: .rounded,
23 | size: .medium,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:135:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
133 | public let shadow: Color
134 |
135 | public static let defaultLight = ThemeColors(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
136 | primary: .init(hex: "#5F5791"),
137 | onPrimary: .init(hex: "#FFFFFF"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeColors.swift:174:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
6 | /// These values can be accessed via environment using `@Environment(\.appTheme).colors`
7 | /// or via subscript using a `ColorToken`.
8 | public struct ThemeColors {
| `- note: consider making struct 'ThemeColors' conform to the 'Sendable' protocol
9 | // MARK: - Primary
10 |
:
172 | )
173 |
174 | public static let defaultDark = ThemeColors(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeColors' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
175 | primary: .init(hex: "#F3EDFF"),
176 | onPrimary: .init(hex: "#30285F"),
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:28:21: warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
26 |
27 | /// A predefined set of corner radius values for light mode.
28 | public static let defaultLight = ThemeRadii(
| |- warning: static property 'defaultLight' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | xs: 4,
30 | sm: 8,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Tokens/ThemeRadii.swift:38:21: warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Defines standard corner radius values used throughout the design system.
4 | public struct ThemeRadii {
| `- note: consider making struct 'ThemeRadii' conform to the 'Sendable' protocol
5 |
6 | /// No corner radius (0pt). Used for completely square edges.
:
36 |
37 | /// A predefined set of corner radius values for dark mode.
38 | public static let defaultDark = ThemeRadii(
| |- warning: static property 'defaultDark' is not concurrency-safe because non-'Sendable' type 'ThemeRadii' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | xs: 4,
40 | sm: 8,
[61/74] Compiling SwiftThemeKit Theme+Copy.swift
[62/74] Compiling SwiftThemeKit ThemeButton+Copy.swift
[63/74] Compiling SwiftThemeKit ThemeCheckboxSize+Copy.swift
[64/74] Compiling SwiftThemeKit ThemeColors+Copy.swift
[65/74] Compiling SwiftThemeKit ThemeRadii+Copy.swift
[66/74] Compiling SwiftThemeKit ThemeRadioButtonSize+Copy.swift
[67/74] Compiling SwiftThemeKit ThemeShadow+Copy.swift
[68/74] Compiling SwiftThemeKit Theme.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:89:21: warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | /// The default theme configuration optimized for light mode.
88 | /// Uses `defaultLight` for colors and shadows, and shared defaults for other scales.
89 | public static var defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | colors: .defaultLight,
91 | typography: .defaultLight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:106:21: warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// The default theme configuration optimized for dark mode.
105 | /// Uses `defaultDark` for colors and shadows, and shared defaults for other scales.
106 | public static var defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | colors: .defaultDark,
108 | typography: .defaultDark,
[69/74] Compiling SwiftThemeKit ThemeProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:89:21: warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | /// The default theme configuration optimized for light mode.
88 | /// Uses `defaultLight` for colors and shadows, and shared defaults for other scales.
89 | public static var defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | colors: .defaultLight,
91 | typography: .defaultLight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:106:21: warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// The default theme configuration optimized for dark mode.
105 | /// Uses `defaultDark` for colors and shadows, and shared defaults for other scales.
106 | public static var defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | colors: .defaultDark,
108 | typography: .defaultDark,
[70/74] Compiling SwiftThemeKit ButtonShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:89:21: warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | /// The default theme configuration optimized for light mode.
88 | /// Uses `defaultLight` for colors and shadows, and shared defaults for other scales.
89 | public static var defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | colors: .defaultLight,
91 | typography: .defaultLight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:106:21: warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// The default theme configuration optimized for dark mode.
105 | /// Uses `defaultDark` for colors and shadows, and shared defaults for other scales.
106 | public static var defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | colors: .defaultDark,
108 | typography: .defaultDark,
[71/74] Compiling SwiftThemeKit ButtonSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:89:21: warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | /// The default theme configuration optimized for light mode.
88 | /// Uses `defaultLight` for colors and shadows, and shared defaults for other scales.
89 | public static var defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | colors: .defaultLight,
91 | typography: .defaultLight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:106:21: warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// The default theme configuration optimized for dark mode.
105 | /// Uses `defaultDark` for colors and shadows, and shared defaults for other scales.
106 | public static var defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | colors: .defaultDark,
108 | typography: .defaultDark,
[72/74] Compiling SwiftThemeKit ButtonVariant.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:89:21: warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | /// The default theme configuration optimized for light mode.
88 | /// Uses `defaultLight` for colors and shadows, and shared defaults for other scales.
89 | public static var defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | colors: .defaultLight,
91 | typography: .defaultLight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:106:21: warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// The default theme configuration optimized for dark mode.
105 | /// Uses `defaultDark` for colors and shadows, and shared defaults for other scales.
106 | public static var defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | colors: .defaultDark,
108 | typography: .defaultDark,
[73/74] Compiling SwiftThemeKit CheckboxConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:89:21: warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | /// The default theme configuration optimized for light mode.
88 | /// Uses `defaultLight` for colors and shadows, and shared defaults for other scales.
89 | public static var defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | colors: .defaultLight,
91 | typography: .defaultLight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:106:21: warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// The default theme configuration optimized for dark mode.
105 | /// Uses `defaultDark` for colors and shadows, and shared defaults for other scales.
106 | public static var defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | colors: .defaultDark,
108 | typography: .defaultDark,
[74/74] Compiling SwiftThemeKit CheckboxShape.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:89:21: warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
87 | /// The default theme configuration optimized for light mode.
88 | /// Uses `defaultLight` for colors and shadows, and shared defaults for other scales.
89 | public static var defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultLight' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultLight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | colors: .defaultLight,
91 | typography: .defaultLight,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Theme.swift:106:21: warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
104 | /// The default theme configuration optimized for dark mode.
105 | /// Uses `defaultDark` for colors and shadows, and shared defaults for other scales.
106 | public static var defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultDark' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultDark' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
107 | colors: .defaultDark,
108 | typography: .defaultDark,
Build complete! (11.81s)
Build complete.
{
"dependencies" : [
{
"identity" : "viewinspector",
"requirement" : {
"range" : [
{
"lower_bound" : "0.10.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nalexn/ViewInspector"
}
],
"manifest_display_name" : "SwiftThemeKit",
"name" : "SwiftThemeKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "SwiftThemeKit",
"targets" : [
"SwiftThemeKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftThemeKitTests",
"module_type" : "SwiftTarget",
"name" : "SwiftThemeKitTests",
"path" : "Tests/SwiftThemeKitTests",
"product_dependencies" : [
"ViewInspector"
],
"sources" : [
"ThemeColorsTests.swift",
"ThemeProviderTests.swift",
"ThemeRadiiTests.swift",
"ThemeShadowsTests.swift",
"ThemeShapesTests.swift",
"ThemeSpacingTests.swift",
"ThemeStrokeTests.swift",
"ThemeTypographyTests.swift"
],
"target_dependencies" : [
"SwiftThemeKit"
],
"type" : "test"
},
{
"c99name" : "SwiftThemeKit",
"module_type" : "SwiftTarget",
"name" : "SwiftThemeKit",
"path" : "Sources/SwiftThemeKit",
"product_memberships" : [
"SwiftThemeKit"
],
"sources" : [
"Components/Card.swift",
"Components/Checkbox.swift",
"Components/RadioButton.swift",
"Components/RadioGroup.swift",
"Components/ThemedShape.swift",
"EnvironmentKeys.swift",
"Extensions/Color.swift",
"Extensions/Shape+ThemeModifiers.swift",
"Extensions/Theme+Copy.swift",
"Extensions/ThemeButton+Copy.swift",
"Extensions/ThemeCheckboxSize+Copy.swift",
"Extensions/ThemeColors+Copy.swift",
"Extensions/ThemeRadii+Copy.swift",
"Extensions/ThemeRadioButtonSize+Copy.swift",
"Extensions/ThemeShadow+Copy.swift",
"Extensions/ThemeShadows+Copy.swift",
"Extensions/ThemeShapes+Copy.swift",
"Extensions/ThemeSpacing+Copy.swift",
"Extensions/ThemeTypography+Copy.swift",
"Extensions/View+Button.swift",
"Extensions/View+TextField.swift",
"Extensions/View+ThemeModifiers.swift",
"Extensions/View+Utils.swift",
"Modifiers/BackgroundColorModifier.swift",
"Modifiers/BackgroundShapeModifier.swift",
"Modifiers/Button/ButtonConfiguration.swift",
"Modifiers/Button/ButtonModifiers.swift",
"Modifiers/Button/ThemedButtonModifier.swift",
"Modifiers/ClipRadiusModifier.swift",
"Modifiers/ClipShapeModifier.swift",
"Modifiers/CornerRadiusModifier.swift",
"Modifiers/ForegroundModifier.swift",
"Modifiers/PaddingModifier.swift",
"Modifiers/ShadowModifier.swift",
"Modifiers/StrokeModifier.swift",
"Modifiers/TextField/TextFieldConfiguration.swift",
"Modifiers/TextField/TextFieldModifiers.swift",
"Modifiers/TextField/ThemedTextFieldModifier.swift",
"Modifiers/ThemedNavigationTitleModifier.swift",
"Modifiers/Typography/TypographyModifier.swift",
"Styles/PlainTextButtonStyle.swift",
"Styles/ThemeButtonStyle.swift",
"Styles/ThemeTextFieldStyle.swift",
"Theme.swift",
"ThemeProvider.swift",
"Tokens/Button/ButtonShape.swift",
"Tokens/Button/ButtonSize.swift",
"Tokens/Button/ButtonVariant.swift",
"Tokens/Checkbox/CheckboxConfiguration.swift",
"Tokens/Checkbox/CheckboxShape.swift",
"Tokens/Checkbox/ThemeCheckboxSize.swift",
"Tokens/Checkbox/ThemePlatform+CheckboxConfiguration.swift",
"Tokens/RadioButton/RadioButtonConfiguration.swift",
"Tokens/RadioButton/ThemePlatform+RadioButtonConfiguration.swift",
"Tokens/RadioButton/ThemeRadioButtonSize.swift",
"Tokens/TextField/TextFieldShape.swift",
"Tokens/TextField/TextFieldSize.swift",
"Tokens/TextField/TextFieldVariant.swift",
"Tokens/ThemeButtonDefaults.swift",
"Tokens/ThemeColors.swift",
"Tokens/ThemeFontToken.swift",
"Tokens/ThemePlatform.swift",
"Tokens/ThemePositions.swift",
"Tokens/ThemeRadii.swift",
"Tokens/ThemeShadow.swift",
"Tokens/ThemeShadows.swift",
"Tokens/ThemeShapes.swift",
"Tokens/ThemeSpacing.swift",
"Tokens/ThemeStroke.swift",
"Tokens/ThemeTextFieldDefaults.swift",
"Tokens/ThemeTypography.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.