Build Information
Successful build of Dumpling, reference main (226319
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 16:53:24 UTC.
Swift 6 data race errors: 34
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
93 | public static let s = Self("s")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:92:23: warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
90 |
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
| |- warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strong' 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
93 | public static let s = Self("s")
94 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:93:23: warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
| |- warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's' 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
94 |
95 | public static let link = Self("link")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:103:23: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
101 | public static let codeBlock = Self("codeBlock")
102 |
103 | public static let h1 = Self("h1")
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h1' 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
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:104:23: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
102 |
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h2' 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
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:105:23: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h3' 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
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:106:23: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h4' 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
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:107:23: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h5' 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
108 | public static let h6 = Self("h6")
109 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:108:23: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h6' 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
109 |
110 | public static let hr = Self("hr")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
[45/60] Compiling Dumpling StringStyle.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:97:23: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
95 | public static let link = Self("link")
96 |
97 | public static let list = Self("list")
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' 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
98 | public static let blockquote = Self("blockquote")
99 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:43:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
41 | action(attr)
42 | }
43 | public static let identity = StringStyle({ $0 })
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
44 | public static let zero = StringStyle({ _ in [:] })
45 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:44:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
42 | }
43 | public static let identity = StringStyle({ $0 })
44 | public static let zero = StringStyle({ _ in [:] })
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
46 | StringStyle({ _ in attributes })
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Default.swift:22:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | extension AttributedStringTheme {
22 | public static let `default`: AttributedStringTheme = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | baseFont: .systemFont(ofSize: 13),
24 | color: .black
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:17:12: note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
15 | #if canImport(UIKit) || canImport(AppKit)
16 |
17 | open class AttributedStringTheme {
| `- note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
19 | private let identifier: String
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:87:23: warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
85 |
86 | extension AttributedStringTheme.StyleKey {
87 | public static let document = Self("document")
| |- warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'document' 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
88 |
89 | public static let p = Self("p")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:91:23: warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
89 | public static let p = Self("p")
90 |
91 | public static let em = Self("em")
| |- warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'em' 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
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:92:23: warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
90 |
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
| |- warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strong' 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
93 | public static let s = Self("s")
94 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:93:23: warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
| |- warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's' 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
94 |
95 | public static let link = Self("link")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:103:23: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
101 | public static let codeBlock = Self("codeBlock")
102 |
103 | public static let h1 = Self("h1")
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h1' 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
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:104:23: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
102 |
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h2' 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
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:105:23: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h3' 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
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:106:23: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h4' 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
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:107:23: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h5' 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
108 | public static let h6 = Self("h6")
109 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:108:23: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h6' 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
109 |
110 | public static let hr = Self("hr")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
[46/60] Compiling Dumpling StringStyles+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:97:23: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
95 | public static let link = Self("link")
96 |
97 | public static let list = Self("list")
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' 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
98 | public static let blockquote = Self("blockquote")
99 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:43:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
41 | action(attr)
42 | }
43 | public static let identity = StringStyle({ $0 })
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
44 | public static let zero = StringStyle({ _ in [:] })
45 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:44:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
42 | }
43 | public static let identity = StringStyle({ $0 })
44 | public static let zero = StringStyle({ _ in [:] })
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
46 | StringStyle({ _ in attributes })
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Default.swift:22:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | extension AttributedStringTheme {
22 | public static let `default`: AttributedStringTheme = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | baseFont: .systemFont(ofSize: 13),
24 | color: .black
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:17:12: note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
15 | #if canImport(UIKit) || canImport(AppKit)
16 |
17 | open class AttributedStringTheme {
| `- note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
19 | private let identifier: String
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:87:23: warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
85 |
86 | extension AttributedStringTheme.StyleKey {
87 | public static let document = Self("document")
| |- warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'document' 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
88 |
89 | public static let p = Self("p")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:91:23: warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
89 | public static let p = Self("p")
90 |
91 | public static let em = Self("em")
| |- warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'em' 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
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:92:23: warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
90 |
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
| |- warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strong' 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
93 | public static let s = Self("s")
94 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:93:23: warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
| |- warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's' 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
94 |
95 | public static let link = Self("link")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:103:23: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
101 | public static let codeBlock = Self("codeBlock")
102 |
103 | public static let h1 = Self("h1")
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h1' 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
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:104:23: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
102 |
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h2' 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
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:105:23: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h3' 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
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:106:23: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h4' 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
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:107:23: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h5' 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
108 | public static let h6 = Self("h6")
109 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:108:23: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h6' 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
109 |
110 | public static let hr = Self("hr")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
[47/60] Compiling Dumpling AttributedStringTheme+Default.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:97:23: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
95 | public static let link = Self("link")
96 |
97 | public static let list = Self("list")
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' 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
98 | public static let blockquote = Self("blockquote")
99 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:43:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
41 | action(attr)
42 | }
43 | public static let identity = StringStyle({ $0 })
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
44 | public static let zero = StringStyle({ _ in [:] })
45 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:44:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
42 | }
43 | public static let identity = StringStyle({ $0 })
44 | public static let zero = StringStyle({ _ in [:] })
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
46 | StringStyle({ _ in attributes })
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Default.swift:22:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | extension AttributedStringTheme {
22 | public static let `default`: AttributedStringTheme = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | baseFont: .systemFont(ofSize: 13),
24 | color: .black
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:17:12: note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
15 | #if canImport(UIKit) || canImport(AppKit)
16 |
17 | open class AttributedStringTheme {
| `- note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
19 | private let identifier: String
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:87:23: warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
85 |
86 | extension AttributedStringTheme.StyleKey {
87 | public static let document = Self("document")
| |- warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'document' 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
88 |
89 | public static let p = Self("p")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:91:23: warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
89 | public static let p = Self("p")
90 |
91 | public static let em = Self("em")
| |- warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'em' 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
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:92:23: warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
90 |
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
| |- warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strong' 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
93 | public static let s = Self("s")
94 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:93:23: warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
| |- warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's' 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
94 |
95 | public static let link = Self("link")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:103:23: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
101 | public static let codeBlock = Self("codeBlock")
102 |
103 | public static let h1 = Self("h1")
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h1' 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
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:104:23: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
102 |
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h2' 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
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:105:23: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h3' 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
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:106:23: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h4' 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
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:107:23: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h5' 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
108 | public static let h6 = Self("h6")
109 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:108:23: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h6' 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
109 |
110 | public static let hr = Self("hr")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
[48/60] Compiling Dumpling AttributedStringTheme+Helpers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:97:23: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
95 | public static let link = Self("link")
96 |
97 | public static let list = Self("list")
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' 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
98 | public static let blockquote = Self("blockquote")
99 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:43:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
41 | action(attr)
42 | }
43 | public static let identity = StringStyle({ $0 })
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
44 | public static let zero = StringStyle({ _ in [:] })
45 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:44:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
42 | }
43 | public static let identity = StringStyle({ $0 })
44 | public static let zero = StringStyle({ _ in [:] })
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
46 | StringStyle({ _ in attributes })
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Default.swift:22:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | extension AttributedStringTheme {
22 | public static let `default`: AttributedStringTheme = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | baseFont: .systemFont(ofSize: 13),
24 | color: .black
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:17:12: note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
15 | #if canImport(UIKit) || canImport(AppKit)
16 |
17 | open class AttributedStringTheme {
| `- note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
19 | private let identifier: String
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:87:23: warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
85 |
86 | extension AttributedStringTheme.StyleKey {
87 | public static let document = Self("document")
| |- warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'document' 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
88 |
89 | public static let p = Self("p")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:91:23: warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
89 | public static let p = Self("p")
90 |
91 | public static let em = Self("em")
| |- warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'em' 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
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:92:23: warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
90 |
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
| |- warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strong' 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
93 | public static let s = Self("s")
94 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:93:23: warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
| |- warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's' 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
94 |
95 | public static let link = Self("link")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:103:23: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
101 | public static let codeBlock = Self("codeBlock")
102 |
103 | public static let h1 = Self("h1")
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h1' 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
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:104:23: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
102 |
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h2' 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
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:105:23: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h3' 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
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:106:23: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h4' 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
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:107:23: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h5' 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
108 | public static let h6 = Self("h6")
109 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:108:23: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h6' 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
109 |
110 | public static let hr = Self("hr")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
[49/60] Compiling Dumpling AttributedStringTheme.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:97:23: warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
95 | public static let link = Self("link")
96 |
97 | public static let list = Self("list")
| |- warning: static property 'list' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'list' 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
98 | public static let blockquote = Self("blockquote")
99 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:43:23: warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
41 | action(attr)
42 | }
43 | public static let identity = StringStyle({ $0 })
| |- warning: static property 'identity' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'identity' 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
44 | public static let zero = StringStyle({ _ in [:] })
45 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Styles/StringStyle.swift:44:23: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
32 | public typealias Style = (StringAttributesType) -> StringAttributesType
33 |
34 | public struct StringStyle {
| `- note: consider making struct 'StringStyle' conform to the 'Sendable' protocol
35 | let action: (StringAttributesType) -> StringAttributesType
36 |
:
42 | }
43 | public static let identity = StringStyle({ $0 })
44 | public static let zero = StringStyle({ _ in [:] })
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'StringStyle' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zero' 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 | public static func just(_ attributes: StringAttributesType) -> StringStyle {
46 | StringStyle({ _ in attributes })
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Default.swift:22:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | extension AttributedStringTheme {
22 | public static let `default`: AttributedStringTheme = .init(
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | baseFont: .systemFont(ofSize: 13),
24 | color: .black
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:17:12: note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
15 | #if canImport(UIKit) || canImport(AppKit)
16 |
17 | open class AttributedStringTheme {
| `- note: class 'AttributedStringTheme' does not conform to the 'Sendable' protocol
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
19 | private let identifier: String
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:87:23: warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
85 |
86 | extension AttributedStringTheme.StyleKey {
87 | public static let document = Self("document")
| |- warning: static property 'document' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'document' 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
88 |
89 | public static let p = Self("p")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:91:23: warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
89 | public static let p = Self("p")
90 |
91 | public static let em = Self("em")
| |- warning: static property 'em' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'em' 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
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:92:23: warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
90 |
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
| |- warning: static property 'strong' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'strong' 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
93 | public static let s = Self("s")
94 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:93:23: warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
91 | public static let em = Self("em")
92 | public static let strong = Self("strong")
93 | public static let s = Self("s")
| |- warning: static property 's' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 's' 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
94 |
95 | public static let link = Self("link")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:103:23: warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
101 | public static let codeBlock = Self("codeBlock")
102 |
103 | public static let h1 = Self("h1")
| |- warning: static property 'h1' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h1' 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
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:104:23: warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
102 |
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
| |- warning: static property 'h2' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h2' 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
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:105:23: warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
103 | public static let h1 = Self("h1")
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
| |- warning: static property 'h3' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h3' 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
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:106:23: warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
104 | public static let h2 = Self("h2")
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
| |- warning: static property 'h4' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h4' 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
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:107:23: warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
105 | public static let h3 = Self("h3")
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
| |- warning: static property 'h5' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h5' 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
108 | public static let h6 = Self("h6")
109 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:108:23: warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
106 | public static let h4 = Self("h4")
107 | public static let h5 = Self("h5")
108 | public static let h6 = Self("h6")
| |- warning: static property 'h6' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'h6' 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
109 |
110 | public static let hr = Self("hr")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
[50/60] Compiling Dumpling DebugTextRendered.swift
[51/60] Compiling Dumpling AST+HTMLRenderer.swift
[52/60] Compiling Dumpling HTMLRenderer.swift
[53/60] Compiling Dumpling HTMLRenderFragment.swift
[54/60] Compiling Dumpling HTMLRenderFragments.swift
[55/60] Compiling Dumpling AttributedStringRenderFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
[56/60] Compiling Dumpling AttributedStringRenderFragments.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
[57/60] Compiling Dumpling BlockquoteNodeRenderFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
[58/60] Compiling Dumpling CodeNodeRenderFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
[59/60] Compiling Dumpling HorizontalLineNodeRenderFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
[60/60] Compiling Dumpling LinkNodeRenderFragment.swift
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:89:23: warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
87 | public static let document = Self("document")
88 |
89 | public static let p = Self("p")
| |- warning: static property 'p' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'p' 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
90 |
91 | public static let em = Self("em")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:98:23: warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
96 |
97 | public static let list = Self("list")
98 | public static let blockquote = Self("blockquote")
| |- warning: static property 'blockquote' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'blockquote' 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
99 |
100 | public static let code = Self("code")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:101:23: warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
99 |
100 | public static let code = Self("code")
101 | public static let codeBlock = Self("codeBlock")
| |- warning: static property 'codeBlock' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'codeBlock' 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
102 |
103 | public static let h1 = Self("h1")
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:100:23: warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
98 | public static let blockquote = Self("blockquote")
99 |
100 | public static let code = Self("code")
| |- warning: static property 'code' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
101 | public static let codeBlock = Self("codeBlock")
102 |
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:110:23: warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
108 | public static let h6 = Self("h6")
109 |
110 | public static let hr = Self("hr")
| |- warning: static property 'hr' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'hr' 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
111 | }
112 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift:95:23: warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' may have shared mutable state; this is an error in the Swift 6 language mode
16 |
17 | open class AttributedStringTheme {
18 | public struct StyleKey: Equatable, Hashable, CustomDebugStringConvertible {
| `- note: consider making struct 'StyleKey' conform to the 'Sendable' protocol
19 | private let identifier: String
20 |
:
93 | public static let s = Self("s")
94 |
95 | public static let link = Self("link")
| |- warning: static property 'link' is not concurrency-safe because non-'Sendable' type 'AttributedStringTheme.StyleKey' 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
96 |
97 | public static let list = Self("list")
Build complete! (21.77s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Dumpling",
"name" : "Dumpling",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Dumpling",
"targets" : [
"Dumpling"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "DumplingTests",
"module_type" : "SwiftTarget",
"name" : "DumplingTests",
"path" : "Tests",
"sources" : [
"DumplingTests/Helpers/InlineMarkdown.swift",
"DumplingTests/Markdown/Fragments/BlockquoteBlockFragmentTests.swift",
"DumplingTests/Markdown/Fragments/EmphasisInlineFragmentTests.swift",
"DumplingTests/Markdown/Fragments/LinkInlineFragmentTests.swift",
"DumplingTests/Markdown/Fragments/ListBlockFragmentTests.swift",
"DumplingTests/Markdown/Parser/ParserTests_Backslash.swift",
"DumplingTests/Markdown/Parser/ParserTests_Basic.swift",
"DumplingTests/Markdown/Parser/ParserTests_Blockquote.swift",
"DumplingTests/Markdown/Parser/ParserTests_Code_Fence.swift",
"DumplingTests/Markdown/Parser/ParserTests_Code_Span.swift",
"DumplingTests/Markdown/Parser/ParserTests_Emphasis.swift",
"DumplingTests/Markdown/Parser/ParserTests_Header.swift",
"DumplingTests/Markdown/Parser/ParserTests_HorizontalLine.swift",
"DumplingTests/Markdown/Parser/ParserTests_Link.swift",
"DumplingTests/Markdown/Parser/ParserTests_List.swift",
"DumplingTests/Markdown/Parser/ParserTests_NewLine.swift",
"DumplingTests/Markdown/Parser/ParserTests_Strikethrough.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Backslash.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Blockquote.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Code_Fence.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Code_Span.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Emphasis.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Header.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_HorizontalLine.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Link.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_List.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_NewLine.swift",
"DumplingTests/Markdown/Parser/TestCases/TestCase_Strikethrough.swift",
"DumplingTests/Parser/LocalParsersTests+int.swift",
"DumplingTests/Parser/LocalParsersTests+lineStart.swift",
"DumplingTests/Parser/LocalParsersTests+minCharacters.swift",
"DumplingTests/Parser/LocalParsersTests+stringUntil.swift",
"DumplingTests/Parser/LocalParsersTests+zeroOrManyCharacters.swift",
"DumplingTests/Parser/LocalParsersTests.swift",
"DumplingTests/Renderer/AttributedStringRendererTests.swift",
"DumplingTests/Renderer/HTMLRendererTests.swift",
"ParserCoreTests/Helpers.swift",
"ParserCoreTests/ParserTests.swift",
"ParserCoreTests/ParsersTests+minMax.swift",
"ParserCoreTests/ParsersTests+oneOf.swift",
"ParserCoreTests/ParsersTests+repeatUntil.swift"
],
"target_dependencies" : [
"Dumpling"
],
"type" : "test"
},
{
"c99name" : "Dumpling",
"module_type" : "SwiftTarget",
"name" : "Dumpling",
"path" : "Sources",
"product_memberships" : [
"Dumpling"
],
"sources" : [
"Dumpling/AST/AST.swift",
"Dumpling/AST/Array+AST.swift",
"Dumpling/Markdown/Fragments/Block/BlockquoteBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/CodeFenceBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/EOFBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/HeaderBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/HorizontalLineBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/ListBlockFragment.swift",
"Dumpling/Markdown/Fragments/Block/ParaBlockFragment.swift",
"Dumpling/Markdown/Fragments/Inline/CodeSpanInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/EmphasisInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/EnclosedInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/EscapeFragment.swift",
"Dumpling/Markdown/Fragments/Inline/LinkInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/NewLineInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/SpaceInlineFragment.swift",
"Dumpling/Markdown/Fragments/Inline/StrikethroughInlineFragment.swift",
"Dumpling/Markdown/Fragments/MarkdownFragment.swift",
"Dumpling/Markdown/Markdown+FragmentsConfig.swift",
"Dumpling/Markdown/Markdown.swift",
"Dumpling/Markdown/Types.swift",
"Dumpling/Parser/LocalParsers.swift",
"Dumpling/Parser/Parser+asNode.swift",
"Dumpling/Renderer/AST+PlainTextRenderer.swift",
"Dumpling/Renderer/AST+debugRenderer.swift",
"Dumpling/Renderer/AttributedString/AST+AttributedString.swift",
"Dumpling/Renderer/AttributedString/AppKitExtensions.swift",
"Dumpling/Renderer/AttributedString/AttributedStringRenderer+Context.swift",
"Dumpling/Renderer/AttributedString/AttributedStringRenderer.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/AttributedStringRenderFragment+Helpers.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/AttributedStringRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/AttributedStringRenderFragments.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/BlockquoteNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/CodeNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/HorizontalLineNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/LinkNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/RenderFragments/ListNodeRenderFragment.swift",
"Dumpling/Renderer/AttributedString/Styles/StringStyle.swift",
"Dumpling/Renderer/AttributedString/Styles/StringStyles+Helpers.swift",
"Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Default.swift",
"Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme+Helpers.swift",
"Dumpling/Renderer/AttributedString/Theme/AttributedStringTheme.swift",
"Dumpling/Renderer/DebugTextRendered.swift",
"Dumpling/Renderer/Html/AST+HTMLRenderer.swift",
"Dumpling/Renderer/Html/HTMLRenderer.swift",
"Dumpling/Renderer/Html/RenderFragments/HTMLRenderFragment.swift",
"Dumpling/Renderer/Html/RenderFragments/HTMLRenderFragments.swift",
"Dumpling/Renderer/PlainTextRenderer.swift",
"Dumpling/Renderer/Renderer.swift",
"ParserCore/Parser.swift",
"ParserCore/ParserConvertible.swift",
"ParserCore/ParserType+lookAhead.swift",
"ParserCore/ParserType+unwrap.swift",
"ParserCore/ParserType.swift",
"ParserCore/Parsers+zip.swift",
"ParserCore/Parsers.swift",
"ParserCore/Reader.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.