Build Information
Successful build of OversizeUI with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 50
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- note: convert 'theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var radius = "Settings.Radius"
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:22:23: warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
| |- warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'radius' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'radius' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | }
90 | }
[117/148] Compiling OversizeUI Theme.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/Appearance.swift:46:23: warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public static var allCases: [Appearance] = [.system, .light, .dark]
| |- warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:9:23: warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
| |- warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appearance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appearance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:10:23: warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
| |- warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accentColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accentColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:11:23: warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
| |- warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontTitle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontTitle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:12:23: warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
| |- warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontParagraph' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontParagraph' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:13:23: warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
| |- warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontButton' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontButton' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:14:23: warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
| |- warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontOverline' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontOverline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:15:23: warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
| |- warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderApp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderApp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:16:23: warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
| |- warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderButtons' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderButtons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:17:23: warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
| |- warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSurface' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSurface' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:18:23: warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
| |- warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderTextFields' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderTextFields' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:19:23: warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
| |- warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderControls' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderControls' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:20:23: warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
| |- warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:21:23: warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
| |- warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var radius = "Settings.Radius"
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:22:23: warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
| |- warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'radius' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'radius' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | }
90 | }
[118/148] Compiling OversizeUI ThemeSettings.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/Appearance.swift:46:23: warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public static var allCases: [Appearance] = [.system, .light, .dark]
| |- warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:9:23: warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
| |- warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appearance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appearance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:10:23: warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
| |- warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accentColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accentColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:11:23: warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
| |- warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontTitle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontTitle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:12:23: warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
| |- warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontParagraph' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontParagraph' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:13:23: warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
| |- warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontButton' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontButton' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:14:23: warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
| |- warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontOverline' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontOverline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:15:23: warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
| |- warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderApp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderApp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:16:23: warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
| |- warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderButtons' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderButtons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:17:23: warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
| |- warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSurface' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSurface' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:18:23: warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
| |- warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderTextFields' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderTextFields' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:19:23: warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
| |- warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderControls' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderControls' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:20:23: warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
| |- warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:21:23: warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
| |- warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var radius = "Settings.Radius"
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:22:23: warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
| |- warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'radius' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'radius' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | }
90 | }
[119/148] Compiling OversizeUI Colors.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/Appearance.swift:46:23: warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public static var allCases: [Appearance] = [.system, .light, .dark]
| |- warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:9:23: warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
| |- warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appearance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appearance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:10:23: warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
| |- warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accentColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accentColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:11:23: warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
| |- warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontTitle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontTitle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:12:23: warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
| |- warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontParagraph' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontParagraph' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:13:23: warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
| |- warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontButton' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontButton' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:14:23: warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
| |- warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontOverline' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontOverline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:15:23: warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
| |- warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderApp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderApp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:16:23: warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
| |- warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderButtons' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderButtons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:17:23: warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
| |- warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSurface' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSurface' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:18:23: warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
| |- warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderTextFields' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderTextFields' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:19:23: warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
| |- warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderControls' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderControls' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:20:23: warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
| |- warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:21:23: warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
| |- warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var radius = "Settings.Radius"
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:22:23: warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
| |- warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'radius' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'radius' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | }
90 | }
[120/148] Compiling OversizeUI EdgeSpaceInsets.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct Snackbar<Label, Actions>: View where Label: View, Actions: View {
| `- note: consider making generic struct 'Snackbar' conform to the 'Sendable' protocol
9 | @Environment(\.screenSize) var screenSize
10 |
:
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| `- warning: capture of 'self' with non-sendable type 'Snackbar<Label, Actions>' in an isolated closure; this is an error in the Swift 6 language mode
89 | }
90 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/Appearance.swift:46:23: warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public static var allCases: [Appearance] = [.system, .light, .dark]
| |- warning: static property 'allCases' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allCases' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allCases' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | }
48 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:9:23: warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
| |- warning: static property 'appearance' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'appearance' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'appearance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:10:23: warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
8 | public enum ThemeSettingsNames {
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
| |- warning: static property 'accentColor' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'accentColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'accentColor' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:11:23: warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
9 | public static var appearance = "Settings.Appearance"
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
| |- warning: static property 'fontTitle' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontTitle' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontTitle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:12:23: warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
10 | public static var accentColor = "Settings.AccentColor"
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
| |- warning: static property 'fontParagraph' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontParagraph' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontParagraph' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:13:23: warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
11 | public static var fontTitle = "Settings.FontTitle"
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
| |- warning: static property 'fontButton' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontButton' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontButton' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:14:23: warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static var fontParagraph = "Settings.FontParagraph"
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
| |- warning: static property 'fontOverline' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fontOverline' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fontOverline' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:15:23: warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 | public static var fontButton = "Settings.FontButton"
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
| |- warning: static property 'borderApp' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderApp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderApp' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:16:23: warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
14 | public static var fontOverline = "Settings.FontOverline"
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
| |- warning: static property 'borderButtons' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderButtons' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderButtons' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:17:23: warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
15 | public static var borderApp = "Settings.BorderApp"
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
| |- warning: static property 'borderSurface' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSurface' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSurface' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:18:23: warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
16 | public static var borderButtons = "Settings.BorderButtons"
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
| |- warning: static property 'borderTextFields' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderTextFields' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderTextFields' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:19:23: warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
17 | public static var borderSurface = "Settings.BorderSurface"
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
| |- warning: static property 'borderControls' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderControls' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderControls' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:20:23: warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
18 | public static var borderTextFields = "Settings.BorderTextFields"
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
| |- warning: static property 'borderSize' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'borderSize' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'borderSize' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:21:23: warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
19 | public static var borderControls = "Settings.BorderControls"
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
| |- warning: static property 'theme' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'theme' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'theme' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static var radius = "Settings.Radius"
23 | }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Core/Appearance/ThemeSettings.swift:22:23: warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
20 | public static var borderSize = "Settings.BorderSize"
21 | public static var theme = "Settings.Theme"
22 | public static var radius = "Settings.Radius"
| |- warning: static property 'radius' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'radius' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'radius' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | }
24 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/Toast/Snackbar.swift:88:17: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | DispatchQueue.main.asyncAfter(deadline: .now() + 30) {
87 | withAnimation {
88 | isPresented = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | }
90 | }
[121/148] Compiling OversizeUI RowDeprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[122/148] Compiling OversizeUI RowLeading.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[123/148] Compiling OversizeUI RowTrailing.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[124/148] Compiling OversizeUI ScrollViewOffset.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[125/148] Compiling OversizeUI TextFieldDeprecated.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[126/148] Compiling OversizeUI View+ScrollViewOffset.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[127/148] Compiling OversizeUI ViewOffsetKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[128/148] Compiling OversizeUI Color+RawRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[129/148] Compiling OversizeUI Image+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[130/148] Compiling OversizeUI Padding.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[131/148] Compiling OversizeUI Preview.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[132/148] Compiling OversizeUI Spacing.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[133/148] Compiling OversizeUI Text+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[134/148] Compiling OversizeUI View+Alignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Deprecated/ViewOffsetKey.swift:9:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | public struct ViewOffsetKey: PreferenceKey {
9 | public static var defaultValue = CGFloat.zero
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | public static func reduce(value: inout CGFloat, nextValue: () -> CGFloat) {
11 | value += nextValue()
[135/148] Compiling OversizeUI SectionView.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[136/148] Compiling OversizeUI SegmentedControl.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[137/148] Compiling OversizeUI SegmentedControlStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[138/148] Compiling OversizeUI SegmentedControl+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[139/148] Compiling OversizeUI SegmentedControlPreview.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[140/148] Compiling OversizeUI MultiSelect.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[141/148] Compiling OversizeUI MultiSelectPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[142/148] Compiling OversizeUI Select.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[143/148] Compiling OversizeUI SelectPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[144/148] Compiling OversizeUI MaterialSurface.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[145/148] Compiling OversizeUI Surface.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[146/148] Compiling OversizeUI Switch.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[147/148] Compiling OversizeUI TextBox.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
[148/148] Compiling OversizeUI TextEditorPlaceholderViewModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
6 | import SwiftUI
7 |
8 | public struct SegmentedPickerSelector<Element: Equatable, Content, Selection>: View where Content: View, Selection: View {
| `- note: consider making generic struct 'SegmentedPickerSelector' conform to the 'Sendable' protocol
9 | @Environment(\.theme) private var theme: ThemeSettings
10 | @Environment(\.segmentedControlStyle) private var style
:
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'self' with non-sendable type 'SegmentedPickerSelector<Element, Content, Selection>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| `- warning: capture of 'proxy' with non-sendable type 'GeometryProxy' in a `@Sendable` closure; this is an error in the Swift 6 language mode
135 | })
136 | .alignmentGuide(
SwiftUI.GeometryProxy:2:15: note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | public struct GeometryProxy {
| `- note: struct 'GeometryProxy' does not conform to the 'Sendable' protocol
3 | public var size: CGSize { get }
4 | public subscript<T>(anchor: Anchor<T>) -> T { get }
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:246:23: warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
244 |
245 | public struct SegmentedControlKey: EnvironmentKey {
246 | public static var defaultValue = AnySegmentedControlStyle(isEquallySpacing: true,
| |- warning: static property 'defaultValue' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
247 | isShowBackground: true,
248 | seletionStyle: .shadowSurface,
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControlStyle.swift:205:13: warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
203 | public struct Label: View {
204 | public init(content: some View) {
205 | body = AnyView(content)
| `- warning: main actor-isolated property 'body' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
206 | }
207 |
208 | public var body: AnyView
| `- note: mutation of this property is only permitted within the actor
209 | }
210 |
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:105: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Controls/SegmentedControl/SegmentedControl.swift:134:121: warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
132 | .buttonStyle(PlainButtonStyle())
133 | .background(GeometryReader { proxy in
134 | Color.clear.onAppear { DispatchQueue.main.asyncAfter(deadline: .now() + 0.01) { frames[index] = proxy.frame(in: .global) } }
| |- warning: sending 'proxy' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'proxy' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
135 | })
136 | .alignmentGuide(
Build complete! (51.58s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "OversizeUI",
"name" : "OversizeUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "15.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "OversizeUI",
"targets" : [
"OversizeUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "OversizeUITests",
"module_type" : "SwiftTarget",
"name" : "OversizeUITests",
"path" : "Tests/OversizeUITests",
"sources" : [
"OversizeUITests.swift"
],
"target_dependencies" : [
"OversizeUI"
],
"type" : "test"
},
{
"c99name" : "OversizeUI",
"module_type" : "SwiftTarget",
"name" : "OversizeUI",
"path" : "Sources/OversizeUI",
"product_memberships" : [
"OversizeUI"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Resources/Colors.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Resources/Icons.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Resources/Images.xcassets",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/OversizeUI/Resources/IconsDeprecated.xcassets",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Controls/Avatar/Avatar.swift",
"Controls/Avatar/AvatarModifiers.swift",
"Controls/Avatar/AvatarPreview.swift",
"Controls/Background/Background.swift",
"Controls/Badge/Bage.swift",
"Controls/Button/BarButton.swift",
"Controls/Button/Button.swift",
"Controls/Button/FieldButtonStyle.swift",
"Controls/Button/ScaleButton.swift",
"Controls/Checkbox/Checkbox.swift",
"Controls/ColorSelector/ColorSelector.swift",
"Controls/ColorSelector/ColorSelectorStyle.swift",
"Controls/ColorSelector/Styles/AnyColorSelectorStyle.swift",
"Controls/ColorSelector/Styles/GridColorSelectorStyle.swift",
"Controls/ColorSelector/Styles/HorizontalColorSelectorStyle.swift",
"Controls/ContentView/ContentView.swift",
"Controls/DateField/DateField.swift",
"Controls/DateField/DatePickerSheet.swift",
"Controls/Divider/Separator.swift",
"Controls/GridSelect/GridSelect.swift",
"Controls/GridSelect/GridSelectStyle.swift",
"Controls/HUD/HUD.swift",
"Controls/IconPicker/IconPicker.swift",
"Controls/KeyboardToolbar/KeyboardToolbar.swift",
"Controls/Label/MenuLabelStyle.swift",
"Controls/Label/RowLabelStyle.swift",
"Controls/Loader/LoaderOverlayView.swift",
"Controls/Menu/BarButtonMenuStyle.swift",
"Controls/Notice/NoticeView.swift",
"Controls/PageControl/PageIndexView.swift",
"Controls/PageView/Page.swift",
"Controls/PhoneField/PhoneField.swift",
"Controls/Premium/PremiumLabel.swift",
"Controls/PriceField/PriceField.swift",
"Controls/Radio/Radio.swift",
"Controls/Radio/RadioPicker.swift",
"Controls/Row/Row.swift",
"Controls/Row/RowButton.swift",
"Controls/Row/RowButtonStyle.swift",
"Controls/Row/RowTitle.swift",
"Controls/ScrollView/ScrollViewWithOffset.swift",
"Controls/ScrollView/ScrollViewWithStickyHeader.swift",
"Controls/SectionView/SectionView.swift",
"Controls/SegmentedControl/SegmentedControl.swift",
"Controls/SegmentedControl/SegmentedControlStyle.swift",
"Controls/SegmentedControl/Support/SegmentedControl+Extensions.swift",
"Controls/SegmentedControl/Support/SegmentedControlPreview.swift",
"Controls/Select/MultiSelect.swift",
"Controls/Select/MultiSelectPicker.swift",
"Controls/Select/Select.swift",
"Controls/Select/SelectPicker.swift",
"Controls/Surface/MaterialSurface.swift",
"Controls/Surface/Surface.swift",
"Controls/Switch/Switch.swift",
"Controls/TextBox/TextBox.swift",
"Controls/TextEditor/TextEditorPlaceholderViewModifier.swift",
"Controls/TextField/FieldHelperViewModifier.swift",
"Controls/TextField/FieldTitleViewModifier.swift",
"Controls/TextField/LabeledTextFieldStyle.swift",
"Controls/TextField/TextFieldExtended.swift",
"Controls/TextField/TextFieldValidationModifier.swift",
"Controls/Toast/Snackbar.swift",
"Controls/Toogle/CheckboxStyle.swift",
"Controls/Toogle/RadioStyle.swift",
"Controls/URLField/URLField.swift",
"Core/Appearance/Appearance.swift",
"Core/Appearance/Theme.swift",
"Core/Appearance/ThemeSettings.swift",
"Core/Colors.swift",
"Core/EdgeSpaceInsets.swift",
"Core/Elevation.swift",
"Core/EnvironmentKeys/AccentEnvironment.swift",
"Core/EnvironmentKeys/BorderedEnvironment.swift",
"Core/EnvironmentKeys/ControlBorderShapeEnvironment.swift",
"Core/EnvironmentKeys/ControlPaddingEnvironment.swift",
"Core/EnvironmentKeys/ElevationEnvironment.swift",
"Core/EnvironmentKeys/FieldLabelPositionEnvironment.swift",
"Core/EnvironmentKeys/FieldPositionEnvironment.swift",
"Core/EnvironmentKeys/IconStyleEnvironment.swift",
"Core/EnvironmentKeys/LoadingEnvironment.swift",
"Core/EnvironmentKeys/MultiSelectStyleEnvironment.swift",
"Core/EnvironmentKeys/PortraitEnvironment.swift",
"Core/EnvironmentKeys/PremiumEnvironment.swift",
"Core/EnvironmentKeys/RadiusEnvironment.swift",
"Core/EnvironmentKeys/RowContentMarginsEnvironment.swift",
"Core/EnvironmentKeys/ScreenSizeEnvironment.swift",
"Core/EnvironmentKeys/SectionTitleMarginsEnvironment.swift",
"Core/EnvironmentKeys/SectionViewStyleEnvironment.swift",
"Core/EnvironmentKeys/SegmentedPickerMarginsEnvironment.swift",
"Core/EnvironmentKeys/SelectPickerStyleEnvironment.swift",
"Core/EnvironmentKeys/SurfaceContentMarginsEnvironment.swift",
"Core/EnvironmentKeys/SurfaceElevationEnvironment.swift",
"Core/EnvironmentKeys/SurfaceRadiusEnvironment.swift",
"Core/EnvironmentKeys/ThemeEnvironment.swift",
"Core/Icons.swift",
"Core/Palette.swift",
"Core/PreferenceKeys/ScrollOffsetPreferenceKey.swift",
"Core/PreferenceKeys/SizePreferenceKey.swift",
"Core/Radius.swift",
"Core/Shadow.swift",
"Core/Space.swift",
"Core/Typography.swift",
"Core/Validation.swift",
"Core/ViewModifier/Debug/ColorOverlay.swift",
"Core/ViewModifier/HalfSheet/HalfSheet.swift",
"Deprecated/BlurView.swift",
"Deprecated/ButtonLegacy.swift",
"Deprecated/HUDDeprecated.swift",
"Deprecated/Icon.swift",
"Deprecated/IconsNames.swift",
"Deprecated/NavigationBar/ModalNavigationBar.swift",
"Deprecated/PageView.swift",
"Deprecated/RowDeprecated.swift",
"Deprecated/RowLeading.swift",
"Deprecated/RowTrailing.swift",
"Deprecated/ScrollViewOffset.swift",
"Deprecated/TextFieldDeprecated.swift",
"Deprecated/View+ScrollViewOffset.swift",
"Deprecated/ViewOffsetKey.swift",
"Extensions/Color/Color+RawRepresentable.swift",
"Extensions/Image/Image+Extensions.swift",
"Extensions/Padding/Padding.swift",
"Extensions/Preview/Preview.swift",
"Extensions/Spacing/Spacing.swift",
"Extensions/Text/Text+Extensions.swift",
"Extensions/View/View+Alignment.swift",
"Extensions/View/View+Available.swift",
"Extensions/View/View+Background.swift",
"Extensions/View/View+CornerRadius.swift",
"Extensions/View/View+IconOnSurface.swift",
"Extensions/View/View+If.swift",
"Extensions/View/View+NavigationView.swift",
"Extensions/View/View+Navigationable.swift",
"Extensions/View/View+Platform.swift",
"Extensions/View/View+SizeReader.swift",
"LibraryContent/LibraryContent.swift",
"Shapes/AnyShape.swift",
"Shapes/RoundedRectangleCorner.swift",
"Shapes/ScrollArrow.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.