Build Information
Successful build of RichEditorSwiftUI, reference 1.1.1 (b39107
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 06:34:17 UTC.
Swift 6 data race errors: 36
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[76/138] Compiling RichEditorSwiftUI RichTextStyle+ToggleGroup.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[77/138] Compiling RichEditorSwiftUI RichTextStyle+ToggleStack.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[78/138] Compiling RichEditorSwiftUI RichTextStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[79/138] Compiling RichEditorSwiftUI View+RichTextStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[80/138] Compiling RichEditorSwiftUI RichEditorState+Header.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[81/138] Compiling RichEditorSwiftUI RichEditorState+Link.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[82/138] Compiling RichEditorSwiftUI RichEditorState+Styles.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[83/138] Compiling RichEditorSwiftUI RichEditorState+TextAlignment.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextHighlightingStyle.swift:40:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
38 | ///
39 | /// You can set a new value to change the global default.
40 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | }
42 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func headerBinding() -> Binding<HeaderType> {
14 | Binding(
15 | get: { self.currentHeader() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setHeaderStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Header.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentHeader() },
16 | set: { self.setHeaderStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:21: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:41:35: warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
39 | public func bindingForManu(for menu: RichTextOtherMenu) -> Binding<Bool> {
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
| `- warning: capture of 'menu' with non-sendable type 'RichTextOtherMenu' in a '@Sendable' closure
42 | set: { self.setLink(to: $0) }
43 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/RichTextOtherMenu/RichTextOtherMenu.swift:10:13: note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextOtherMenu: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextOtherMenu' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Link.swift:42:16: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
40 | Binding(
41 | get: { Bool(self.hasStyle(menu)) },
42 | set: { self.setLink(to: $0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
43 | )
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:25: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:15:39: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
13 | public func binding(for style: RichTextStyle) -> Binding<Bool> {
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
16 | set: { [weak self] _ in self?.setStyle(style) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:37: warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState?' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+Styles.swift:16:52: warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
14 | Binding(
15 | get: { Bool(self.hasStyle(style)) },
16 | set: { [weak self] _ in self?.setStyle(style) }
| `- warning: capture of 'style' with non-sendable type 'RichTextStyle' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Styles/RichTextStyle.swift:10:13: note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
8 | import SwiftUI
9 |
10 | public enum RichTextStyle: String, CaseIterable, Identifiable,
| `- note: consider making enum 'RichTextStyle' conform to the 'Sendable' protocol
11 | RichTextLabelValue
12 | {
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:15:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
13 | public func textAlignmentBinding() -> Binding<RichTextAlignment> {
14 | Binding(
15 | get: { self.currentTextAlignment() },
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
16 | set: { self.setTextAlignmentStyle($0) }
17 | )
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState+TextAlignment.swift:16:20: warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
14 | Binding(
15 | get: { self.currentTextAlignment() },
16 | set: { self.setTextAlignmentStyle($0) }
| `- warning: capture of 'self' with non-sendable type 'RichEditorState' in a '@Sendable' closure
17 | )
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/Context/RichEditorState.swift:19:14: note: class 'RichEditorState' does not conform to the 'Sendable' protocol
17 | /// You can use ``RichEditorState/FocusedValueKey`` to handle a
18 | /// context with focus in a multi-windowed app.
19 | public class RichEditorState: ObservableObject {
| `- note: class 'RichEditorState' does not conform to the 'Sendable' protocol
20 |
21 | /// Create a new rich text context instance.
[84/138] Compiling RichEditorSwiftUI NSRange+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[85/138] Compiling RichEditorSwiftUI String+Characters.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[86/138] Compiling RichEditorSwiftUI String+Extension.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[87/138] Compiling RichEditorSwiftUI View+BackportSupportExtension.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[88/138] Compiling RichEditorSwiftUI RichEditorState+LineInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[89/138] Compiling RichEditorSwiftUI RichTextReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[90/138] Compiling RichEditorSwiftUI EditorAdapter.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[91/138] Compiling RichEditorSwiftUI RichEditorStateFocusedValueKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[92/138] Compiling RichEditorSwiftUI RichTextEditor+Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[93/138] Compiling RichEditorSwiftUI RichTextEditor+Style.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[94/138] Compiling RichEditorSwiftUI RichTextView+Config.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[95/138] Compiling RichEditorSwiftUI RichTextView+Config_AppKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[96/138] Compiling RichEditorSwiftUI RichTextView+Config_UIKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Config.swift:28:31: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | public static var defaultValue: RichTextEditorConfig = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextEditor+Style.swift:28:24: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | fileprivate struct Key: EnvironmentKey {
27 |
28 | static var defaultValue: RichTextEditorStyle = .standard
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | }
30 | }
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/UI/TextViewUI/RichTextView+Config.swift:16:27: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// You can set a new value to change the global default.
16 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 | #endif
[97/138] Compiling RichEditorSwiftUI ColorRepresentable.swift
[98/138] Compiling RichEditorSwiftUI RichTextColor+Picker.swift
[99/138] Compiling RichEditorSwiftUI RichTextColor.swift
[100/138] Compiling RichEditorSwiftUI RichTextViewComponent+Alignment.swift
[101/138] Compiling RichEditorSwiftUI RichTextViewComponent+Attributes.swift
[102/138] Compiling RichEditorSwiftUI RichTextViewComponent+Colors.swift
[103/138] Compiling RichEditorSwiftUI RichTextViewComponent+Link.swift
[104/138] Compiling RichEditorSwiftUI RichTextViewComponent+Paragraph.swift
[105/138] Compiling RichEditorSwiftUI RichTextViewComponent+Pasting.swift
[106/138] Compiling RichEditorSwiftUI RichTextViewComponent+Ranges.swift
[107/138] Compiling RichEditorSwiftUI RichTextViewComponent+Styles.swift
[108/138] Compiling RichEditorSwiftUI RichTextViewComponent.swift
[109/138] Compiling RichEditorSwiftUI HeaderType.swift
[110/138] Compiling RichEditorSwiftUI RichAttributes+RichTextAttributes.swift
[111/138] Compiling RichEditorSwiftUI RichTextDataFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[112/138] Compiling RichEditorSwiftUI RichTextDataReader.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[113/138] Compiling RichEditorSwiftUI UTType+RichText.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[114/138] Compiling RichEditorSwiftUI FontDescriptorRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[115/138] Compiling RichEditorSwiftUI FontRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[116/138] Compiling RichEditorSwiftUI FontTraitsRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[117/138] Compiling RichEditorSwiftUI RichTextFont+ListPicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[118/138] Compiling RichEditorSwiftUI RichTextFont+Picker.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[119/138] Compiling RichEditorSwiftUI RichTextFont+PickerConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[120/138] Compiling RichEditorSwiftUI RichTextFont+PickerItem.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[121/138] Compiling RichEditorSwiftUI RichTextFont+SizePicker.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[122/138] Compiling RichEditorSwiftUI RichTextFont+SizePickerConfig.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[123/138] Compiling RichEditorSwiftUI RichTextFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[124/138] Compiling RichEditorSwiftUI RichTextFontPickerFont.swift
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/FontRepresentable.swift:32:23: warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | use of the value.
31 | */
32 | public static var standardRichTextFont = systemFont(
| |- warning: static property 'standardRichTextFont' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardRichTextFont' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standardRichTextFont' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | ofSize: .standardRichTextFontSize)
34 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:37:23: warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
35 | ///
36 | /// You can set a new value to change the global default.
37 | public static var standard = Self()
| |- warning: static property 'standard' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standard' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/RichEditorSwiftUI/Fonts/RichTextFont+SizePickerConfig.swift:54:27: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
52 | fileprivate struct Key: EnvironmentKey {
53 |
54 | public static var defaultValue: RichTextFont.SizePickerConfig =
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated 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: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | .standard
56 | }
[125/138] Compiling RichEditorSwiftUI RichAttributes.swift
[126/138] Compiling RichEditorSwiftUI RichText.swift
[127/138] Compiling RichEditorSwiftUI RichTextSpanInternal.swift
[128/138] Compiling RichEditorSwiftUI NSAttributedString+Export.swift
[129/138] Compiling RichEditorSwiftUI RichTextExportError.swift
[130/138] Compiling RichEditorSwiftUI RichTextExportMenu.swift
[131/138] Compiling RichEditorSwiftUI RichTextExportOption.swift
[132/138] Compiling RichEditorSwiftUI RichTextExportService.swift
[133/138] Compiling RichEditorSwiftUI RichTextExportUrlResolver+FileManager.swift
[134/138] Compiling RichEditorSwiftUI RichTextExportUrlResolver.swift
[135/138] Compiling RichEditorSwiftUI StandardRichTextExportService.swift
[136/138] Compiling RichEditorSwiftUI NSAttributedString+Init.swift
[137/138] Compiling RichEditorSwiftUI RichTextDataError.swift
[138/138] Compiling RichEditorSwiftUI RichTextDataFormat+Menu.swift
Build complete! (9.87s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "RichEditorSwiftUI",
"name" : "RichEditorSwiftUI",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "tvos",
"version" : "17.0"
},
{
"name" : "watchos",
"version" : "8.0"
},
{
"name" : "visionos",
"version" : "1.0"
}
],
"products" : [
{
"name" : "RichEditorSwiftUI",
"targets" : [
"RichEditorSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "RichEditorSwiftUITests",
"module_type" : "SwiftTarget",
"name" : "RichEditorSwiftUITests",
"path" : "Tests/RichEditorSwiftUITests",
"sources" : [
"RichEditorSwiftUITests.swift"
],
"target_dependencies" : [
"RichEditorSwiftUI"
],
"type" : "test"
},
{
"c99name" : "RichEditorSwiftUI",
"module_type" : "SwiftTarget",
"name" : "RichEditorSwiftUI",
"path" : "Sources/RichEditorSwiftUI",
"product_memberships" : [
"RichEditorSwiftUI"
],
"sources" : [
"Actions/RichTextAction+KeyboardShortcutModifier.swift",
"Actions/RichTextAction.swift",
"Actions/RichTextActionButton.swift",
"Alignment/RichTextAlignment+Picker.swift",
"Alignment/RichTextAlignment.swift",
"Attributes/RichTextAttribute.swift",
"Attributes/RichTextAttributeReader.swift",
"Attributes/RichTextAttributeWriter.swift",
"Attributes/RichTextAttributes+RichTextStyle.swift",
"Attributes/RichTextWriter.swift",
"BaseFoundation/RichTextCoordinator+Actions.swift",
"BaseFoundation/RichTextCoordinator+Subscriptions.swift",
"BaseFoundation/RichTextCoordinator.swift",
"BaseFoundation/RichTextPresenter.swift",
"Colors/ColorRepresentable.swift",
"Colors/RichTextColor+Picker.swift",
"Colors/RichTextColor.swift",
"Components/RichTextViewComponent+Alignment.swift",
"Components/RichTextViewComponent+Attributes.swift",
"Components/RichTextViewComponent+Colors.swift",
"Components/RichTextViewComponent+Link.swift",
"Components/RichTextViewComponent+Paragraph.swift",
"Components/RichTextViewComponent+Pasting.swift",
"Components/RichTextViewComponent+Ranges.swift",
"Components/RichTextViewComponent+Styles.swift",
"Components/RichTextViewComponent.swift",
"Data/Models/HeaderType.swift",
"Data/Models/RichAttributes+RichTextAttributes.swift",
"Data/Models/RichAttributes.swift",
"Data/Models/RichText.swift",
"Data/Models/RichTextSpanInternal.swift",
"Export/NSAttributedString+Export.swift",
"Export/RichTextExportError.swift",
"Export/RichTextExportMenu.swift",
"Export/RichTextExportOption.swift",
"Export/RichTextExportService.swift",
"Export/RichTextExportUrlResolver+FileManager.swift",
"Export/RichTextExportUrlResolver.swift",
"Export/StandardRichTextExportService.swift",
"ExportData/NSAttributedString+Init.swift",
"ExportData/RichTextDataError.swift",
"ExportData/RichTextDataFormat+Menu.swift",
"ExportData/RichTextDataFormat.swift",
"ExportData/RichTextDataReader.swift",
"ExportData/UTType+RichText.swift",
"Fonts/FontDescriptorRepresentable.swift",
"Fonts/FontRepresentable.swift",
"Fonts/FontTraitsRepresentable.swift",
"Fonts/RichTextFont+ListPicker.swift",
"Fonts/RichTextFont+Picker.swift",
"Fonts/RichTextFont+PickerConfig.swift",
"Fonts/RichTextFont+PickerItem.swift",
"Fonts/RichTextFont+SizePicker.swift",
"Fonts/RichTextFont+SizePickerConfig.swift",
"Fonts/RichTextFont.swift",
"Fonts/RichTextFontPickerFont.swift",
"Fonts/RichTextFontSizePickerStack.swift",
"Fonts/RichTextViewComponent+Font.swift",
"Fonts/StandardFontSizeProvider.swift",
"Format/RichTextFormat+Sheet.swift",
"Format/RichTextFormat+Sidebar.swift",
"Format/RichTextFormat+Toolbar.swift",
"Format/RichTextFormat+ToolbarConfig.swift",
"Format/RichTextFormat+ToolbarStyle.swift",
"Format/RichTextFormat.swift",
"Format/RichTextFormatToolbarBase.swift",
"Headers/RichTextHeader+Picker.swift",
"Headers/RichTextHeader.swift",
"Helper/Buildable.swift",
"Images/Image+RichText.swift",
"Keyboard/RichTextKeyboardToolbar+Config.swift",
"Keyboard/RichTextKeyboardToolbar+Style.swift",
"Keyboard/RichTextKeyboardToolbar.swift",
"ListStyle/ListType.swift",
"Localization/RTEL10n.swift",
"Pdf/PdfDataError.swift",
"Pdf/PdfPageConfiguration.swift",
"Pdf/PdfPageMargins.swift",
"Pdf/RichTextPdfDataReader.swift",
"RichTextOtherMenu/RichTextOtherMenu+Button.swift",
"RichTextOtherMenu/RichTextOtherMenu+Toggle.swift",
"RichTextOtherMenu/RichTextOtherMenu+ToggleGroup.swift",
"RichTextOtherMenu/RichTextOtherMenu+ToggleStack.swift",
"RichTextOtherMenu/RichTextOtherMenu.swift",
"Styles/RichTextAction+ButtonStack.swift",
"Styles/RichTextHighlightingStyle.swift",
"Styles/RichTextStyle+Button.swift",
"Styles/RichTextStyle+Toggle.swift",
"Styles/RichTextStyle+ToggleGroup.swift",
"Styles/RichTextStyle+ToggleStack.swift",
"Styles/RichTextStyle.swift",
"Styles/View+RichTextStyle.swift",
"UI/Context/RichEditorState+Header.swift",
"UI/Context/RichEditorState+Link.swift",
"UI/Context/RichEditorState+Styles.swift",
"UI/Context/RichEditorState+TextAlignment.swift",
"UI/Context/RichEditorState.swift",
"UI/Context/RichTextContext+Actions.swift",
"UI/Context/RichTextContext+Color.swift",
"UI/Editor/RichEditor.swift",
"UI/Editor/RichEditorState+Spans.swift",
"UI/Editor/RichTextSpanStyle.swift",
"UI/Extensions/Array+Extension.swift",
"UI/Extensions/Character+Extension.swift",
"UI/Extensions/Color+Extension.swift",
"UI/Extensions/FontRepresentable+Extension.swift",
"UI/Extensions/Image+Label.swift",
"UI/Extensions/NSAttributedString+Empty.swift",
"UI/Extensions/NSMutableParagraphStyle+Custom.swift",
"UI/Extensions/NSRange+Extension.swift",
"UI/Extensions/String+Characters.swift",
"UI/Extensions/String+Extension.swift",
"UI/Extensions/View+BackportSupportExtension.swift",
"UI/Helper/RichEditorState+LineInfo.swift",
"UI/Helper/RichTextReader.swift",
"UI/Parser/EditorAdapter.swift",
"UI/TextViewUI/RichEditorStateFocusedValueKey.swift",
"UI/TextViewUI/RichTextEditor+Config.swift",
"UI/TextViewUI/RichTextEditor+Style.swift",
"UI/TextViewUI/RichTextView+Config.swift",
"UI/TextViewUI/RichTextView+Config_AppKit.swift",
"UI/TextViewUI/RichTextView+Config_UIKit.swift",
"UI/TextViewUI/RichTextView+Setup.swift",
"UI/TextViewUI/RichTextView+Theme.swift",
"UI/TextViewUI/RichTextViewRepresentable.swift",
"UI/TextViewUI/RichTextView_AppKit.swift",
"UI/TextViewUI/RichTextView_UIKit.swift",
"UI/TextViewUI/TextViewEvents.swift",
"UI/Views/ForEachPicker.swift",
"UI/Views/ListPicker.swift",
"UI/Views/ListPickerItem.swift",
"UI/Views/ListPickerSection.swift",
"UI/Views/RichTextAlertController.swift",
"UI/Views/RichTextLabelValue.swift",
"UI/Views/ViewRepresentable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Done.