Build Information
Successful build of MarkdownText with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 35
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ListItemVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct ListMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/OrderedListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct OrderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/OrderedListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct OrderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/OrderedListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct OrderedListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
[268/291] Compiling MarkdownText CodeStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/CodeStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to code block markdown elements
4 | public protocol CodeMarkdownStyle {
| `- note: protocol 'CodeMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of an code block markdown element
:
97 |
98 | private struct CodeMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: any CodeMarkdownStyle = DefaultCodeMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/HeadingStyle.swift:75:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to heading markdown elements
4 | public protocol HeadingMarkdownStyle {
| `- note: protocol 'HeadingMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of a heading markdown element
:
73 |
74 | private struct HeadingMarkdownEnvironmentKey: EnvironmentKey {
75 | static let defaultValue: any HeadingMarkdownStyle = DefaultHeadingMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[269/291] Compiling MarkdownText HeadingStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/CodeStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to code block markdown elements
4 | public protocol CodeMarkdownStyle {
| `- note: protocol 'CodeMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of an code block markdown element
:
97 |
98 | private struct CodeMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: any CodeMarkdownStyle = DefaultCodeMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/HeadingStyle.swift:75:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to heading markdown elements
4 | public protocol HeadingMarkdownStyle {
| `- note: protocol 'HeadingMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of a heading markdown element
:
73 |
74 | private struct HeadingMarkdownEnvironmentKey: EnvironmentKey {
75 | static let defaultValue: any HeadingMarkdownStyle = DefaultHeadingMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[270/291] Compiling MarkdownText DefaultImageStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/CodeStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to code block markdown elements
4 | public protocol CodeMarkdownStyle {
| `- note: protocol 'CodeMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of an code block markdown element
:
97 |
98 | private struct CodeMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: any CodeMarkdownStyle = DefaultCodeMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/HeadingStyle.swift:75:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to heading markdown elements
4 | public protocol HeadingMarkdownStyle {
| `- note: protocol 'HeadingMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of a heading markdown element
:
73 |
74 | private struct HeadingMarkdownEnvironmentKey: EnvironmentKey {
75 | static let defaultValue: any HeadingMarkdownStyle = DefaultHeadingMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[271/291] Compiling MarkdownText RemoteImageStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/CodeStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to code block markdown elements
4 | public protocol CodeMarkdownStyle {
| `- note: protocol 'CodeMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of an code block markdown element
:
97 |
98 | private struct CodeMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: any CodeMarkdownStyle = DefaultCodeMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/HeadingStyle.swift:75:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to heading markdown elements
4 | public protocol HeadingMarkdownStyle {
| `- note: protocol 'HeadingMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of a heading markdown element
:
73 |
74 | private struct HeadingMarkdownEnvironmentKey: EnvironmentKey {
75 | static let defaultValue: any HeadingMarkdownStyle = DefaultHeadingMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
[272/291] Compiling MarkdownText QuoteVisibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct UnorderedListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
[273/291] Compiling MarkdownText ThematicVisibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct UnorderedListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
[274/291] Compiling MarkdownText UnorderedListVisibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct UnorderedListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
[275/291] Emitting module MarkdownText
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:19:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
17 |
18 | /// A `bold` representation should be applied
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:21:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:23:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:25:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:27:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'link' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/CodeStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to code block markdown elements
4 | public protocol CodeMarkdownStyle {
| `- note: protocol 'CodeMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of an code block markdown element
:
97 |
98 | private struct CodeMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: any CodeMarkdownStyle = DefaultCodeMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any CodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/HeadingStyle.swift:75:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to heading markdown elements
4 | public protocol HeadingMarkdownStyle {
| `- note: protocol 'HeadingMarkdownStyle' does not conform to the 'Sendable' protocol
5 | associatedtype Body: View
6 | /// The properties of a heading markdown element
:
73 |
74 | private struct HeadingMarkdownEnvironmentKey: EnvironmentKey {
75 | static let defaultValue: any HeadingMarkdownStyle = DefaultHeadingMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any HeadingMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | }
77 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ImageStyle.swift:66:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// A type that applies a custom appearance to image markdown elements
5 | public protocol ImageMarkdownStyle {
| `- note: protocol 'ImageMarkdownStyle' does not conform to the 'Sendable' protocol
6 | associatedtype Body: View
7 | /// The properties of an image markdown element
:
64 |
65 | private struct ImageMarkdownEnvironmentKey: EnvironmentKey {
66 | static let defaultValue: any ImageMarkdownStyle = DefaultImageMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ListStyle.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyListMarkdownStyle: ListMarkdownStyle {
| `- note: consider making struct 'AnyListMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: ListMarkdownStyle>(_ style: S) {
:
88 |
89 | private struct ListMarkdownEnvironmentKey: EnvironmentKey {
90 | static let defaultValue = AnyListMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ParagraphStyle.swift:61:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public struct AnyParagraphMarkdownStyle: ParagraphMarkdownStyle {
| `- note: consider making struct 'AnyParagraphMarkdownStyle' conform to the 'Sendable' protocol
13 | var label: (Configuration) -> AnyView
14 | init<S: ParagraphMarkdownStyle>(_ style: S) {
:
59 |
60 | private struct ParagraphMarkdownEnvironmentKey: EnvironmentKey {
61 | static let defaultValue = AnyParagraphMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/QuoteStyle.swift:65:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyQuoteMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public struct AnyQuoteMarkdownStyle: QuoteMarkdownStyle {
| `- note: consider making struct 'AnyQuoteMarkdownStyle' conform to the 'Sendable' protocol
13 | var label: (Configuration) -> AnyView
14 | init<S: QuoteMarkdownStyle>(_ style: S) {
:
63 |
64 | private struct QuoteMarkdownEnvironmentKey: EnvironmentKey {
65 | static let defaultValue = AnyQuoteMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyQuoteMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 | }
67 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ThematicStyle.swift:44:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyThematicMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | /// The properties of a thematic break markdown element
13 | public struct AnyThematicMarkdownStyle: ThematicBreakMarkdownStyle {
| `- note: consider making struct 'AnyThematicMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 |
:
42 |
43 | private struct MarkdownEnvironmentKey: EnvironmentKey {
44 | static let defaultValue = AnyThematicMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyThematicMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | }
46 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Inline Elements/EmphasisStyle.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any EmphasisMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to italic (emphasis) markdown elements
4 | public protocol EmphasisMarkdownStyle {
| `- note: protocol 'EmphasisMarkdownStyle' does not conform to the 'Sendable' protocol
5 | /// The properties of an emphasis markdown element
6 | typealias Configuration = EmphasisMarkdownConfiguration
:
31 |
32 | private struct EmphasisMarkdownEnvironmentKey: EnvironmentKey {
33 | static let defaultValue: EmphasisMarkdownStyle = DefaultEmphasisMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any EmphasisMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Inline Elements/InlineCodeStyle.swift:56:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any InlineCodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to inline code markdown elements
4 | public protocol InlineCodeMarkdownStyle {
| `- note: protocol 'InlineCodeMarkdownStyle' does not conform to the 'Sendable' protocol
5 | /// The properties of an inline code markdown element
6 | typealias Configuration = InlineCodeMarkdownConfiguration
:
54 |
55 | private struct InlineCodeMarkdownEnvironmentKey: EnvironmentKey {
56 | static let defaultValue: InlineCodeMarkdownStyle = DefaultInlineCodeMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any InlineCodeMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | }
58 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Inline Elements/InlineLinkStyle.swift:36:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any InlineLinkMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to inline link markdown elements
4 | public protocol InlineLinkMarkdownStyle {
| `- note: protocol 'InlineLinkMarkdownStyle' does not conform to the 'Sendable' protocol
5 | /// The properties of an inline link markdown element
6 | typealias Configuration = InlineLinkMarkdownConfiguration
:
34 |
35 | private struct InlineLinkMarkdownEnvironmentKey: EnvironmentKey {
36 | static let defaultValue: InlineLinkMarkdownStyle = DefaultInlineLinkMarkdownStyle.nonInteractiveInline
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any InlineLinkMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | }
38 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Inline Elements/StrikethroughStyle.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any StrikethroughMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to strikethough markdown elements
4 | public protocol StrikethroughMarkdownStyle {
| `- note: protocol 'StrikethroughMarkdownStyle' does not conform to the 'Sendable' protocol
5 | /// The properties of a strikethough markdown element
6 | typealias Configuration = StrikethroughMarkdownConfiguration
:
31 |
32 | private struct StrikethroughMarkdownEnvironmentKey: EnvironmentKey {
33 | static let defaultValue: StrikethroughMarkdownStyle = DefaultStrikethroughMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any StrikethroughMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Inline Elements/StrongStyle.swift:33:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any StrongMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// A type that applies a custom appearance to bold (strong) markdown elements
4 | public protocol StrongMarkdownStyle {
| `- note: protocol 'StrongMarkdownStyle' does not conform to the 'Sendable' protocol
5 | /// The properties of a bold (strong) markdown element
6 | typealias Configuration = StrongMarkdownConfiguration
:
31 |
32 | private struct StrongMarkdownEnvironmentKey: EnvironmentKey {
33 | static let defaultValue: StrongMarkdownStyle = DefaultStrongMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any StrongMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | }
35 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/ChecklistBulletStyle.swift:58:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyCheckListBulletMarkdownStyle: CheckListBulletMarkdownStyle {
| `- note: consider making struct 'AnyCheckListBulletMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: CheckListBulletMarkdownStyle>(_ style: S) {
:
56 |
57 | private struct ChecklistBulletMarkdownEnvironmentKey: EnvironmentKey {
58 | static let defaultValue: AnyCheckListBulletMarkdownStyle = .init(DefaultChecklistBulletMarkdownStyle())
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/OrderedBulletStyle.swift:58:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListBulletMarkdownStyle: OrderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListBulletMarkdownStyle>(_ style: S) {
:
56 |
57 | private struct OrderedBulletMarkdownEnvironmentKey: EnvironmentKey {
58 | static let defaultValue: AnyOrderedListBulletMarkdownStyle = .init(.numerical)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/UnorderedBulletStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public struct AnyUnorderedListBulletMarkdownStyle: UnorderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
40 | var label: (Configuration) -> AnyView
41 | init<S: UnorderedListBulletMarkdownStyle>(_ style: S) {
:
97 |
98 | private struct UnorderedListBulletMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: AnyUnorderedListBulletMarkdownStyle = .init(.automatic)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/CheckedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyCheckListItemMarkdownStyle: CheckListItemMarkdownStyle {
| `- note: consider making struct 'AnyCheckListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: CheckListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct CheckListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyCheckListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/OrderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListItemMarkdownStyle: OrderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct OrderedListMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyOrderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/UnorderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyUnorderedListItemMarkdownStyle: UnorderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: UnorderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct UnorderedListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyUnorderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct CheckListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:4:10: warning: Refactor to allow for range based API as well (inspo: DynamicType API)
2 | import SwiftUIBackports
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
| `- warning: Refactor to allow for range based API as well (inspo: DynamicType API)
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ImageVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ImageMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ImageVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct ImageMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ListItemVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ListMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ListItemVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct ListMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/OrderedListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct OrderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/OrderedListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct OrderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/OrderedListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct OrderedListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/QuoteVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct QuoteMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/ThematicVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct ThematicBreakMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct UnorderedListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/UnorderedListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct UnorderedListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
[276/291] Compiling MarkdownText OrderedBulletStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/OrderedBulletStyle.swift:58:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListBulletMarkdownStyle: OrderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListBulletMarkdownStyle>(_ style: S) {
:
56 |
57 | private struct OrderedBulletMarkdownEnvironmentKey: EnvironmentKey {
58 | static let defaultValue: AnyOrderedListBulletMarkdownStyle = .init(.numerical)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/UnorderedBulletStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public struct AnyUnorderedListBulletMarkdownStyle: UnorderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
40 | var label: (Configuration) -> AnyView
41 | init<S: UnorderedListBulletMarkdownStyle>(_ style: S) {
:
97 |
98 | private struct UnorderedListBulletMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: AnyUnorderedListBulletMarkdownStyle = .init(.automatic)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/CheckedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyCheckListItemMarkdownStyle: CheckListItemMarkdownStyle {
| `- note: consider making struct 'AnyCheckListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: CheckListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct CheckListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyCheckListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/OrderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListItemMarkdownStyle: OrderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct OrderedListMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyOrderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[277/291] Compiling MarkdownText UnorderedBulletStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/OrderedBulletStyle.swift:58:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListBulletMarkdownStyle: OrderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListBulletMarkdownStyle>(_ style: S) {
:
56 |
57 | private struct OrderedBulletMarkdownEnvironmentKey: EnvironmentKey {
58 | static let defaultValue: AnyOrderedListBulletMarkdownStyle = .init(.numerical)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/UnorderedBulletStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public struct AnyUnorderedListBulletMarkdownStyle: UnorderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
40 | var label: (Configuration) -> AnyView
41 | init<S: UnorderedListBulletMarkdownStyle>(_ style: S) {
:
97 |
98 | private struct UnorderedListBulletMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: AnyUnorderedListBulletMarkdownStyle = .init(.automatic)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/CheckedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyCheckListItemMarkdownStyle: CheckListItemMarkdownStyle {
| `- note: consider making struct 'AnyCheckListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: CheckListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct CheckListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyCheckListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/OrderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListItemMarkdownStyle: OrderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct OrderedListMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyOrderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[278/291] Compiling MarkdownText CheckedListItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/OrderedBulletStyle.swift:58:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListBulletMarkdownStyle: OrderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListBulletMarkdownStyle>(_ style: S) {
:
56 |
57 | private struct OrderedBulletMarkdownEnvironmentKey: EnvironmentKey {
58 | static let defaultValue: AnyOrderedListBulletMarkdownStyle = .init(.numerical)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/UnorderedBulletStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public struct AnyUnorderedListBulletMarkdownStyle: UnorderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
40 | var label: (Configuration) -> AnyView
41 | init<S: UnorderedListBulletMarkdownStyle>(_ style: S) {
:
97 |
98 | private struct UnorderedListBulletMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: AnyUnorderedListBulletMarkdownStyle = .init(.automatic)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/CheckedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyCheckListItemMarkdownStyle: CheckListItemMarkdownStyle {
| `- note: consider making struct 'AnyCheckListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: CheckListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct CheckListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyCheckListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/OrderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListItemMarkdownStyle: OrderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct OrderedListMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyOrderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[279/291] Compiling MarkdownText OrderedListItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/OrderedBulletStyle.swift:58:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListBulletMarkdownStyle: OrderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListBulletMarkdownStyle>(_ style: S) {
:
56 |
57 | private struct OrderedBulletMarkdownEnvironmentKey: EnvironmentKey {
58 | static let defaultValue: AnyOrderedListBulletMarkdownStyle = .init(.numerical)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Bullets/UnorderedBulletStyle.swift:99:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public struct AnyUnorderedListBulletMarkdownStyle: UnorderedListBulletMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListBulletMarkdownStyle' conform to the 'Sendable' protocol
40 | var label: (Configuration) -> AnyView
41 | init<S: UnorderedListBulletMarkdownStyle>(_ style: S) {
:
97 |
98 | private struct UnorderedListBulletMarkdownEnvironmentKey: EnvironmentKey {
99 | static let defaultValue: AnyUnorderedListBulletMarkdownStyle = .init(.automatic)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListBulletMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
100 | }
101 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/CheckedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyCheckListItemMarkdownStyle: CheckListItemMarkdownStyle {
| `- note: consider making struct 'AnyCheckListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: CheckListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct CheckListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyCheckListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyCheckListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/OrderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyOrderedListItemMarkdownStyle: OrderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyOrderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: OrderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct OrderedListMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyOrderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyOrderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
[280/291] Compiling MarkdownText UnorderedListItemStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/UnorderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyUnorderedListItemMarkdownStyle: UnorderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: UnorderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct UnorderedListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyUnorderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct CheckListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:4:10: warning: Refactor to allow for range based API as well (inspo: DynamicType API)
2 | import SwiftUIBackports
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
| `- warning: Refactor to allow for range based API as well (inspo: DynamicType API)
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[281/291] Compiling MarkdownText CheckListVisibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/UnorderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyUnorderedListItemMarkdownStyle: UnorderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: UnorderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct UnorderedListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyUnorderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct CheckListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:4:10: warning: Refactor to allow for range based API as well (inspo: DynamicType API)
2 | import SwiftUIBackports
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
| `- warning: Refactor to allow for range based API as well (inspo: DynamicType API)
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[282/291] Compiling MarkdownText CodeVisibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/UnorderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyUnorderedListItemMarkdownStyle: UnorderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: UnorderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct UnorderedListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyUnorderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct CheckListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:4:10: warning: Refactor to allow for range based API as well (inspo: DynamicType API)
2 | import SwiftUIBackports
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
| `- warning: Refactor to allow for range based API as well (inspo: DynamicType API)
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[283/291] Compiling MarkdownText HeadingVisibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Lists/Items/UnorderedListItemStyle.swift:83:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyUnorderedListItemMarkdownStyle: UnorderedListItemMarkdownStyle {
| `- note: consider making struct 'AnyUnorderedListItemMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: UnorderedListItemMarkdownStyle>(_ style: S) {
:
81 |
82 | private struct UnorderedListItemMarkdownEnvironmentKey: EnvironmentKey {
83 | static let defaultValue = AnyUnorderedListItemMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyUnorderedListItemMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
84 | }
85 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CheckListItemMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CheckListVisibility.swift:23:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
21 |
22 | struct CheckListItemBulletMarkdownVisibility: EnvironmentKey {
23 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | }
25 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:5:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/CodeVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | struct CodeMarkdownVisibility: EnvironmentKey {
5 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:4:10: warning: Refactor to allow for range based API as well (inspo: DynamicType API)
2 | import SwiftUIBackports
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
| `- warning: Refactor to allow for range based API as well (inspo: DynamicType API)
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:7:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| `- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Backport<Any>.Visibility' may have shared mutable state; this is an error in the Swift 6 language mode
8 | }
9 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftUIBackports/Sources/SwiftUIBackports/Shared/Visibility/Visibility.swift:10:17: note: enum 'Visibility' does not conform to the 'Sendable' protocol
8 | extension Backport where Wrapped == Any {
9 |
10 | public enum Visibility: Hashable, CaseIterable {
| `- note: enum 'Visibility' does not conform to the 'Sendable' protocol
11 | /// The element may be visible or hidden depending on the policies of the
12 | /// component accepting the visibility configuration.
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Visibility/HeadingVisibility.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
1 | import SwiftUI
2 | import SwiftUIBackports
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftUIBackports'
3 |
4 | #warning("Refactor to allow for range based API as well (inspo: DynamicType API)")
5 |
6 | struct HeadingMarkdownVisibility: EnvironmentKey {
7 | static let defaultValue: Backport<Any>.Visibility = .automatic
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
8 | }
9 |
[284/291] Compiling MarkdownText SymbolImageStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ImageStyle.swift:66:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// A type that applies a custom appearance to image markdown elements
5 | public protocol ImageMarkdownStyle {
| `- note: protocol 'ImageMarkdownStyle' does not conform to the 'Sendable' protocol
6 | associatedtype Body: View
7 | /// The properties of an image markdown element
:
64 |
65 | private struct ImageMarkdownEnvironmentKey: EnvironmentKey {
66 | static let defaultValue: any ImageMarkdownStyle = DefaultImageMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ListStyle.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyListMarkdownStyle: ListMarkdownStyle {
| `- note: consider making struct 'AnyListMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: ListMarkdownStyle>(_ style: S) {
:
88 |
89 | private struct ListMarkdownEnvironmentKey: EnvironmentKey {
90 | static let defaultValue = AnyListMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ParagraphStyle.swift:61:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public struct AnyParagraphMarkdownStyle: ParagraphMarkdownStyle {
| `- note: consider making struct 'AnyParagraphMarkdownStyle' conform to the 'Sendable' protocol
13 | var label: (Configuration) -> AnyView
14 | init<S: ParagraphMarkdownStyle>(_ style: S) {
:
59 |
60 | private struct ParagraphMarkdownEnvironmentKey: EnvironmentKey {
61 | static let defaultValue = AnyParagraphMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
[285/291] Compiling MarkdownText ImageStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ImageStyle.swift:66:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// A type that applies a custom appearance to image markdown elements
5 | public protocol ImageMarkdownStyle {
| `- note: protocol 'ImageMarkdownStyle' does not conform to the 'Sendable' protocol
6 | associatedtype Body: View
7 | /// The properties of an image markdown element
:
64 |
65 | private struct ImageMarkdownEnvironmentKey: EnvironmentKey {
66 | static let defaultValue: any ImageMarkdownStyle = DefaultImageMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ListStyle.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyListMarkdownStyle: ListMarkdownStyle {
| `- note: consider making struct 'AnyListMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: ListMarkdownStyle>(_ style: S) {
:
88 |
89 | private struct ListMarkdownEnvironmentKey: EnvironmentKey {
90 | static let defaultValue = AnyListMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ParagraphStyle.swift:61:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public struct AnyParagraphMarkdownStyle: ParagraphMarkdownStyle {
| `- note: consider making struct 'AnyParagraphMarkdownStyle' conform to the 'Sendable' protocol
13 | var label: (Configuration) -> AnyView
14 | init<S: ParagraphMarkdownStyle>(_ style: S) {
:
59 |
60 | private struct ParagraphMarkdownEnvironmentKey: EnvironmentKey {
61 | static let defaultValue = AnyParagraphMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
[286/291] Compiling MarkdownText ListStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ImageStyle.swift:66:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// A type that applies a custom appearance to image markdown elements
5 | public protocol ImageMarkdownStyle {
| `- note: protocol 'ImageMarkdownStyle' does not conform to the 'Sendable' protocol
6 | associatedtype Body: View
7 | /// The properties of an image markdown element
:
64 |
65 | private struct ImageMarkdownEnvironmentKey: EnvironmentKey {
66 | static let defaultValue: any ImageMarkdownStyle = DefaultImageMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ListStyle.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyListMarkdownStyle: ListMarkdownStyle {
| `- note: consider making struct 'AnyListMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: ListMarkdownStyle>(_ style: S) {
:
88 |
89 | private struct ListMarkdownEnvironmentKey: EnvironmentKey {
90 | static let defaultValue = AnyListMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ParagraphStyle.swift:61:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public struct AnyParagraphMarkdownStyle: ParagraphMarkdownStyle {
| `- note: consider making struct 'AnyParagraphMarkdownStyle' conform to the 'Sendable' protocol
13 | var label: (Configuration) -> AnyView
14 | init<S: ParagraphMarkdownStyle>(_ style: S) {
:
59 |
60 | private struct ParagraphMarkdownEnvironmentKey: EnvironmentKey {
61 | static let defaultValue = AnyParagraphMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
[287/291] Compiling MarkdownText ParagraphStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ImageStyle.swift:66:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// A type that applies a custom appearance to image markdown elements
5 | public protocol ImageMarkdownStyle {
| `- note: protocol 'ImageMarkdownStyle' does not conform to the 'Sendable' protocol
6 | associatedtype Body: View
7 | /// The properties of an image markdown element
:
64 |
65 | private struct ImageMarkdownEnvironmentKey: EnvironmentKey {
66 | static let defaultValue: any ImageMarkdownStyle = DefaultImageMarkdownStyle()
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'any ImageMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | }
68 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ListStyle.swift:90:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
11 | }
12 |
13 | public struct AnyListMarkdownStyle: ListMarkdownStyle {
| `- note: consider making struct 'AnyListMarkdownStyle' conform to the 'Sendable' protocol
14 | var label: (Configuration) -> AnyView
15 | init<S: ListMarkdownStyle>(_ style: S) {
:
88 |
89 | private struct ListMarkdownEnvironmentKey: EnvironmentKey {
90 | static let defaultValue = AnyListMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyListMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
91 | }
92 |
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/Styles/Block Elements/ParagraphStyle.swift:61:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public struct AnyParagraphMarkdownStyle: ParagraphMarkdownStyle {
| `- note: consider making struct 'AnyParagraphMarkdownStyle' conform to the 'Sendable' protocol
13 | var label: (Configuration) -> AnyView
14 | init<S: ParagraphMarkdownStyle>(_ style: S) {
:
59 |
60 | private struct ParagraphMarkdownEnvironmentKey: EnvironmentKey {
61 | static let defaultValue = AnyParagraphMarkdownStyle(.default)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'AnyParagraphMarkdownStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | }
63 |
[288/291] Compiling MarkdownText MarkdownInlineElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:19:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
17 |
18 | /// A `bold` representation should be applied
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:21:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:23:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:25:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:27:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'link' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public var description: String {
[289/291] Compiling MarkdownText MarkdownListElement.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:19:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
17 |
18 | /// A `bold` representation should be applied
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:21:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:23:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:25:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:27:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'link' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public var description: String {
[290/291] Compiling MarkdownText MarkdownText.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:19:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
17 |
18 | /// A `bold` representation should be applied
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:21:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:23:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:25:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:27:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'link' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public var description: String {
[291/291] Compiling MarkdownText MarkdownTextBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:19:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
17 |
18 | /// A `bold` representation should be applied
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
| |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:21:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
19 | public static let bold = InlineAttributes(rawValue: 1 << 0)
20 | /// An `italic` representation should be applied
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
| |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:23:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
21 | public static let italic = InlineAttributes(rawValue: 1 << 1)
22 | /// A `strikethrough` representation should be applied
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
| |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strikethrough' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:25:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
23 | public static let strikethrough = InlineAttributes(rawValue: 1 << 2)
24 | /// A `monospaced` representation should be applied
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'code' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/Sources/MarkdownText/MarkdownInlineElement.swift:27:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// Represents the supported attributes for an inline element
12 | public struct InlineAttributes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'InlineAttributes' conform to the 'Sendable' protocol
13 | public let rawValue: Int
14 | public init(rawValue: Int) {
:
25 | public static let code = InlineAttributes(rawValue: 1 << 3)
26 | /// A link representation should be applied
27 | public static let link = InlineAttributes(rawValue: 1 << 4)
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'InlineAttributes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'link' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | public var description: String {
Build complete! (51.61s)
Fetching https://github.com/shaps80/swift-cmark.git
Fetching https://github.com/shaps80/swift-markdown
Fetching https://github.com/shaps80/SwiftUIBackports
[1/475] Fetching swift-markdown
[144/13088] Fetching swift-markdown, swift-cmark
[855/35222] Fetching swift-markdown, swift-cmark, swiftuibackports
Fetched https://github.com/shaps80/SwiftUIBackports from cache (2.20s)
Fetched https://github.com/shaps80/swift-markdown from cache (2.20s)
Fetched https://github.com/shaps80/swift-cmark.git from cache (2.20s)
Computing version for https://github.com/shaps80/swift-markdown
Computed https://github.com/shaps80/swift-markdown at 0.3.0 (0.77s)
Computing version for https://github.com/shaps80/swift-cmark.git
Computed https://github.com/shaps80/swift-cmark.git at 0.2.0 (0.64s)
Computing version for https://github.com/shaps80/SwiftUIBackports
Computed https://github.com/shaps80/SwiftUIBackports at 2.8.1 (0.63s)
Fetching https://github.com/shaps80/SwiftBackports
[1/499] Fetching swiftbackports
Fetched https://github.com/shaps80/SwiftBackports from cache (1.01s)
Computing version for https://github.com/shaps80/SwiftBackports
Computed https://github.com/shaps80/SwiftBackports at 1.0.3 (0.67s)
Creating working copy for https://github.com/shaps80/swift-cmark.git
Working copy of https://github.com/shaps80/swift-cmark.git resolved at 0.2.0
Creating working copy for https://github.com/shaps80/SwiftBackports
Working copy of https://github.com/shaps80/SwiftBackports resolved at 1.0.3
Creating working copy for https://github.com/shaps80/SwiftUIBackports
Working copy of https://github.com/shaps80/SwiftUIBackports resolved at 2.8.1
Creating working copy for https://github.com/shaps80/swift-markdown
Working copy of https://github.com/shaps80/swift-markdown resolved at 0.3.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-markdown",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.0",
"upper_bound" : "0.4.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shaps80/swift-markdown"
},
{
"identity" : "swiftuibackports",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/shaps80/SwiftUIBackports"
}
],
"manifest_display_name" : "MarkdownText",
"name" : "MarkdownText",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "MarkdownText",
"targets" : [
"MarkdownText"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MarkdownText",
"module_type" : "SwiftTarget",
"name" : "MarkdownText",
"path" : "Sources/MarkdownText",
"product_dependencies" : [
"Markdown",
"SwiftUIBackports"
],
"product_memberships" : [
"MarkdownText"
],
"sources" : [
"Helpers/InlineStyle.swift",
"Helpers/ListLabelStyle.swift",
"Helpers/Platform.swift",
"MarkdownBlockElement.swift",
"MarkdownInlineElement.swift",
"MarkdownListElement.swift",
"MarkdownText.swift",
"MarkdownTextBuilder.swift",
"Styles/Block Elements/CodeStyle.swift",
"Styles/Block Elements/HeadingStyle.swift",
"Styles/Block Elements/Image Styles/DefaultImageStyle.swift",
"Styles/Block Elements/Image Styles/RemoteImageStyle.swift",
"Styles/Block Elements/Image Styles/SymbolImageStyle.swift",
"Styles/Block Elements/ImageStyle.swift",
"Styles/Block Elements/ListStyle.swift",
"Styles/Block Elements/ParagraphStyle.swift",
"Styles/Block Elements/QuoteStyle.swift",
"Styles/Block Elements/ThematicStyle.swift",
"Styles/Inline Elements/EmphasisStyle.swift",
"Styles/Inline Elements/InlineCodeStyle.swift",
"Styles/Inline Elements/InlineLinkStyle.swift",
"Styles/Inline Elements/StrikethroughStyle.swift",
"Styles/Inline Elements/StrongStyle.swift",
"Styles/Lists/Bullets/ChecklistBulletStyle.swift",
"Styles/Lists/Bullets/OrderedBulletStyle.swift",
"Styles/Lists/Bullets/UnorderedBulletStyle.swift",
"Styles/Lists/Items/CheckedListItemStyle.swift",
"Styles/Lists/Items/OrderedListItemStyle.swift",
"Styles/Lists/Items/UnorderedListItemStyle.swift",
"Styles/Visibility/CheckListVisibility.swift",
"Styles/Visibility/CodeVisibility.swift",
"Styles/Visibility/HeadingVisibility.swift",
"Styles/Visibility/ImageVisibility.swift",
"Styles/Visibility/ListItemVisibility.swift",
"Styles/Visibility/OrderedListVisibility.swift",
"Styles/Visibility/QuoteVisibility.swift",
"Styles/Visibility/ThematicVisibility.swift",
"Styles/Visibility/UnorderedListVisibility.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.