Build Information
Successful build of SwiftThemeKit, reference 1.2.4 (174a9f
), with Swift 6.1 for macOS (SPM) on 8 Sep 2025 19:28:57 UTC.
Swift 6 data race errors: 30
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
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:43: warning: variable 'bb' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bb' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:60: warning: variable 'ba' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'ba' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:9: warning: variable 'tr' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tr' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:26: warning: variable 'tg' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tg' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:43: warning: variable 'tb' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tb' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:60: warning: variable 'ta' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'ta' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
[38/79] 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: Equatable {
| `- 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/EnvironmentKeys.swift:39:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// Environment key for text editor configuration
38 | private struct TextEditorConfigurationKey: EnvironmentKey {
39 | static let defaultValue = TextEditorConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextEditor/TextEditorConfiguration.swift:4:8: note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration object that holds text editor styling parameters
4 | struct TextEditorConfiguration {
| `- note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
5 | var variant: TextFieldVariant?
6 | var size: TextFieldSize?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:23:19: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
21 | @inline(__always)
22 | private func rgba(_ color: NSColor,
23 | appearance: NSAppearance? = NSApp?.effectiveAppearance)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 | -> (r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat)? {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:9: warning: variable 'br' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'br' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:26: warning: variable 'bg' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bg' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:43: warning: variable 'bb' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bb' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:60: warning: variable 'ba' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'ba' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:9: warning: variable 'tr' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tr' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:26: warning: variable 'tg' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tg' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:43: warning: variable 'tb' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tb' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:60: warning: variable 'ta' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'ta' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
[39/79] 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: Equatable {
| `- 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/EnvironmentKeys.swift:39:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// Environment key for text editor configuration
38 | private struct TextEditorConfigurationKey: EnvironmentKey {
39 | static let defaultValue = TextEditorConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextEditor/TextEditorConfiguration.swift:4:8: note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration object that holds text editor styling parameters
4 | struct TextEditorConfiguration {
| `- note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
5 | var variant: TextFieldVariant?
6 | var size: TextFieldSize?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:23:19: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
21 | @inline(__always)
22 | private func rgba(_ color: NSColor,
23 | appearance: NSAppearance? = NSApp?.effectiveAppearance)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 | -> (r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat)? {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:9: warning: variable 'br' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'br' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:26: warning: variable 'bg' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bg' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:43: warning: variable 'bb' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bb' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:60: warning: variable 'ba' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'ba' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:9: warning: variable 'tr' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tr' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:26: warning: variable 'tg' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tg' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:43: warning: variable 'tb' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tb' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:60: warning: variable 'ta' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'ta' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
[40/79] Compiling SwiftThemeKit ThemedTextEditor.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: Equatable {
| `- 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/EnvironmentKeys.swift:39:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// Environment key for text editor configuration
38 | private struct TextEditorConfigurationKey: EnvironmentKey {
39 | static let defaultValue = TextEditorConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextEditor/TextEditorConfiguration.swift:4:8: note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration object that holds text editor styling parameters
4 | struct TextEditorConfiguration {
| `- note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
5 | var variant: TextFieldVariant?
6 | var size: TextFieldSize?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:23:19: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
21 | @inline(__always)
22 | private func rgba(_ color: NSColor,
23 | appearance: NSAppearance? = NSApp?.effectiveAppearance)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 | -> (r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat)? {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:9: warning: variable 'br' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'br' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:26: warning: variable 'bg' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bg' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:43: warning: variable 'bb' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bb' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:60: warning: variable 'ba' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'ba' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:9: warning: variable 'tr' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tr' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:26: warning: variable 'tg' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tg' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:43: warning: variable 'tb' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tb' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:60: warning: variable 'ta' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'ta' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
[41/79] 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: Equatable {
| `- 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/EnvironmentKeys.swift:39:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// Environment key for text editor configuration
38 | private struct TextEditorConfigurationKey: EnvironmentKey {
39 | static let defaultValue = TextEditorConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextEditor/TextEditorConfiguration.swift:4:8: note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration object that holds text editor styling parameters
4 | struct TextEditorConfiguration {
| `- note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
5 | var variant: TextFieldVariant?
6 | var size: TextFieldSize?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:23:19: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
21 | @inline(__always)
22 | private func rgba(_ color: NSColor,
23 | appearance: NSAppearance? = NSApp?.effectiveAppearance)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 | -> (r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat)? {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:9: warning: variable 'br' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'br' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:26: warning: variable 'bg' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bg' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:43: warning: variable 'bb' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bb' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:60: warning: variable 'ba' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'ba' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:9: warning: variable 'tr' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tr' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:26: warning: variable 'tg' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tg' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:43: warning: variable 'tb' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tb' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:60: warning: variable 'ta' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'ta' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
[42/79] 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: Equatable {
| `- 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/EnvironmentKeys.swift:39:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
37 | /// Environment key for text editor configuration
38 | private struct TextEditorConfigurationKey: EnvironmentKey {
39 | static let defaultValue = TextEditorConfiguration()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'TextEditorConfiguration' 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
40 | }
41 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Modifiers/TextEditor/TextEditorConfiguration.swift:4:8: note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
2 |
3 | /// Configuration object that holds text editor styling parameters
4 | struct TextEditorConfiguration {
| `- note: consider making struct 'TextEditorConfiguration' conform to the 'Sendable' protocol
5 | var variant: TextFieldVariant?
6 | var size: TextFieldSize?
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:23:19: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
21 | @inline(__always)
22 | private func rgba(_ color: NSColor,
23 | appearance: NSAppearance? = NSApp?.effectiveAppearance)
| `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
24 | -> (r: CGFloat, g: CGFloat, b: CGFloat, a: CGFloat)? {
25 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:9: warning: variable 'br' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'br' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:26: warning: variable 'bg' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bg' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:43: warning: variable 'bb' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'bb' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:145:60: warning: variable 'ba' was never used; consider replacing with '_' or removing it
143 | let top = PlatformColor(overlay.opacity(alpha))
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
| `- warning: variable 'ba' was never used; consider replacing with '_' or removing it
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
147 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:9: warning: variable 'tr' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tr' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:26: warning: variable 'tg' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tg' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:43: warning: variable 'tb' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'tb' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftThemeKit/Extensions/Color.swift:146:60: warning: variable 'ta' was never used; consider replacing with '_' or removing it
144 |
145 | var br: CGFloat = 0, bg: CGFloat = 0, bb: CGFloat = 0, ba: CGFloat = 0
146 | var tr: CGFloat = 0, tg: CGFloat = 0, tb: CGFloat = 0, ta: CGFloat = 0
| `- warning: variable 'ta' was never used; consider replacing with '_' or removing it
147 |
148 | #if os(iOS) || os(tvOS) || targetEnvironment(macCatalyst)
[43/79] 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),
[44/79] 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),
[45/79] 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),
[46/79] 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),
[47/79] 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),
[48/79] 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),
[49/79] 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),
[50/79] Compiling SwiftThemeKit ThemeShadows+Copy.swift
[51/79] Compiling SwiftThemeKit ThemeShapes+Copy.swift
[52/79] Compiling SwiftThemeKit ThemeSpacing+Copy.swift
[53/79] Compiling SwiftThemeKit ThemeTypography+Copy.swift
[54/79] Compiling SwiftThemeKit View+Button.swift
[55/79] Compiling SwiftThemeKit View+TextEditor.swift
[56/79] Compiling SwiftThemeKit View+TextField.swift
[57/79] Compiling SwiftThemeKit View+ThemeModifiers.swift
[58/79] 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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/79] 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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/79] 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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/79] 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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,
[62/79] 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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,
[63/79] 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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,
[64/79] 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- note: consider making struct 'ThemeButtonDefaults' conform to the 'Sendable' protocol
4 | /// The default shape of the buttons if no other modifiers applied
5 | public 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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: Equatable {
| `- 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,
[65/79] Compiling SwiftThemeKit Shape+ThemeModifiers.swift
/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 | }
[66/79] Compiling SwiftThemeKit Theme+Copy.swift
/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 | }
[67/79] Compiling SwiftThemeKit ThemeButton+Copy.swift
/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 | }
[68/79] Compiling SwiftThemeKit ThemeCheckboxSize+Copy.swift
/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 | }
[69/79] Compiling SwiftThemeKit ThemeColors+Copy.swift
/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 | }
[70/79] Compiling SwiftThemeKit ThemeRadii+Copy.swift
/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 | }
[71/79] Compiling SwiftThemeKit ThemeRadioButtonSize+Copy.swift
/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 | }
[72/79] Compiling SwiftThemeKit ThemeShadow+Copy.swift
/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 | }
[73/79] 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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' 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 '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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' 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 '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/79] 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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' 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 '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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' 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 '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,
[75/79] 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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' 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 '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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' 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 '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,
[76/79] 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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' 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 '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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' 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 '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,
[77/79] 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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' 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 '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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' 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 '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,
[78/79] 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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' 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 '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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' 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 '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,
[79/79] 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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultLight: Theme = Theme(
| |- warning: static property 'defaultLight' 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 '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 non-'Sendable' type 'Theme' may have shared mutable state; this is an error in the Swift 6 language mode
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: Equatable {
| `- note: consider making struct 'Theme' conform to the 'Sendable' protocol
6 |
7 | /// The set of color tokens used throughout the UI.
:
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 let defaultDark: Theme = Theme(
| |- warning: static property 'defaultDark' 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 '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.48s)
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" : "8.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",
"Components/ThemedTextEditor.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+TextEditor.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/TextEditor/TextEditorConfiguration.swift",
"Modifiers/TextEditor/TextEditorModifiers.swift",
"Modifiers/TextEditor/ThemedTextEditorModifier.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.