The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NativeMarkKit, reference master (c58eb7), with Swift 6.0 for Linux on 28 Nov 2024 15:42:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

108 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
109 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
110 |                 .orderedListMarker(.lowercaseRoman),
111 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
118 |                 .blockBorder(.none),
119 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
120 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
121 |                 .orderedListMarker(.lowercaseRoman),
122 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
128 |                 .blockBorder(.none),
129 |                 .blockPadding(Padding(left: 0.em, right: 0.em, top: 0.em, bottom: 0.em)),
130 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
131 |             ],
132 |             .thematicBreak: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
131 |             ],
132 |             .thematicBreak: [
133 |                 .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
    |                                                      `- error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
134 |             ]
135 |         ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
142 |             ],
143 |             .strikethrough: [
144 |                 .strikethrough(.single)
    |                                 `- error: cannot infer contextual base in reference to member 'single'
145 |             ],
146 |             .code: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
149 |             ],
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableLinkColor'
152 |                 .underline(.single)
153 |             ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
152 |                 .underline(.single)
    |                             `- error: cannot infer contextual base in reference to member 'single'
153 |             ]
154 |         ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
 53 |
 54 |         let font = defaultFont(for: attributes)
 55 |         let paragraphStyle = NSMutableParagraphStyle()
    |                              `- error: cannot find 'NSMutableParagraphStyle' in scope
 56 |         paragraphStyle.tabStops = []
 57 |         paragraphStyle.defaultTabInterval = 2.em.asRawPoints(for: font.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 58 |         scopes.updateParagraphStyle(paragraphStyle, with: font)
 59 |
 60 |         attributes[.paragraphStyle] = paragraphStyle
    |                     `- error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 61 |         return attributes
 62 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
21 |     }
22 |
23 |     public static let unspecified: FontTraits = []
   |                       |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'unspecified' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
22 |
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
   |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
   |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
   |                       |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'monospace' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
34 |         switch self {
35 |         case let .scaled(to: textStyle):
36 |             return textStyle.pointSize
   |                              `- error: value of type 'TextStyle' has no member 'pointSize'
37 |         case let .fixed(size):
38 |             return size
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
 9 |
10 | public extension NSUnderlineStyle {
11 |     static let none = NSUnderlineStyle([])
   |                       `- error: cannot find 'NSUnderlineStyle' in scope
12 | }
13 |
[148/153] Compiling NativeMarkKit CGRect+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
 8 | #endif
 9 |
10 | public extension NSUnderlineStyle {
   |                  `- error: cannot find type 'NSUnderlineStyle' in scope
11 |     static let none = NSUnderlineStyle([])
12 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
13 |
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
16 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
 16 |     public let color: NativeColor
 17 |
 18 |     public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
    |                                                            `- error: cannot find type 'NativeColor' in scope
 19 |         self.shape = shape
 20 |         self.width = width
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
 30 |
 31 | public extension BlockStyle {
 32 |     static func textColor(_ value: NativeColor) -> BlockStyle {
    |                                    `- error: cannot find type 'NativeColor' in scope
 33 |         .inlineStyle(.textColor(value))
 34 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
    |                                                   `- error: cannot find type 'NativeColor' in scope
 23 |     case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
 24 |     case blockMargin(Margin)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
 38 |     }
 39 |
 40 |     static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
    |                                          `- error: cannot find type 'NativeColor' in scope
 41 |         .inlineStyle(.backgroundColor(value))
 42 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
 24 |     case blockMargin(Margin)
 25 |     case blockPadding(Padding)
 26 |     case blockBackground(NativeColor?)
    |                          `- error: cannot find type 'NativeColor' in scope
 27 |     case list(markerToContentIndent: Length = 1.5.em)
 28 |     case inlineStyle(InlineStyle)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                                                                     `- error: cannot infer contextual base in reference to member 'clear'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                    `- error: cannot find type 'NSUnderlineStyle' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                                             `- error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
 9 |
10 | public enum InlineStyle {
11 |     case textColor(NativeColor)
   |                    `- error: cannot find type 'NativeColor' in scope
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
20 |                           border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
21 |                           padding: Padding = Padding(left: 5.pt, right: 5.pt, top: 0.pt, bottom: 0.pt),
22 |                           backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
   |                                            `- error: cannot find type 'NativeColor' in scope
23 |
24 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                                                 `- error: cannot find type 'NativeColor' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 51 |             .document: [
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 54 |                 .textColor(.adaptableTextColor)
 55 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
 54 |                 .textColor(.adaptableTextColor)
    |                             `- error: cannot infer contextual base in reference to member 'adaptableTextColor'
 55 |             ],
 56 |             .heading(level: 1): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'roundedRect'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                                                                             `- error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
 94 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 94 |             ],
 95 |             .blockQuote: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 94 |             ],
 95 |             .blockQuote: [
 96 |                 .textColor(.adaptableBlockQuoteTextColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 97 |                 .paragraphSpacingBefore(0.5.em),
 98 |                 .paragraphSpacingAfter(0.5.em),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                               `- error: cannot infer contextual base in reference to member 'left'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                                                        `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
    |                                  `- error: 'nil' requires a contextual type
103 |             ],
104 |             .list(isTight: true): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
107 |                 .blockBorder(.none),
108 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
109 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
110 |                 .orderedListMarker(.lowercaseRoman),
111 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
118 |                 .blockBorder(.none),
119 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
120 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
121 |                 .orderedListMarker(.lowercaseRoman),
122 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
128 |                 .blockBorder(.none),
129 |                 .blockPadding(Padding(left: 0.em, right: 0.em, top: 0.em, bottom: 0.em)),
130 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
131 |             ],
132 |             .thematicBreak: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
131 |             ],
132 |             .thematicBreak: [
133 |                 .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
    |                                                      `- error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
134 |             ]
135 |         ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
142 |             ],
143 |             .strikethrough: [
144 |                 .strikethrough(.single)
    |                                 `- error: cannot infer contextual base in reference to member 'single'
145 |             ],
146 |             .code: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
149 |             ],
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableLinkColor'
152 |                 .underline(.single)
153 |             ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
152 |                 .underline(.single)
    |                             `- error: cannot infer contextual base in reference to member 'single'
153 |             ]
154 |         ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
 53 |
 54 |         let font = defaultFont(for: attributes)
 55 |         let paragraphStyle = NSMutableParagraphStyle()
    |                              `- error: cannot find 'NSMutableParagraphStyle' in scope
 56 |         paragraphStyle.tabStops = []
 57 |         paragraphStyle.defaultTabInterval = 2.em.asRawPoints(for: font.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 58 |         scopes.updateParagraphStyle(paragraphStyle, with: font)
 59 |
 60 |         attributes[.paragraphStyle] = paragraphStyle
    |                     `- error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 61 |         return attributes
 62 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
21 |     }
22 |
23 |     public static let unspecified: FontTraits = []
   |                       |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'unspecified' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
22 |
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
   |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
   |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
   |                       |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'monospace' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
34 |         switch self {
35 |         case let .scaled(to: textStyle):
36 |             return textStyle.pointSize
   |                              `- error: value of type 'TextStyle' has no member 'pointSize'
37 |         case let .fixed(size):
38 |             return size
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
 9 |
10 | public extension NSUnderlineStyle {
11 |     static let none = NSUnderlineStyle([])
   |                       `- error: cannot find 'NSUnderlineStyle' in scope
12 | }
13 |
[149/153] Compiling NativeMarkKit Character+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
 8 | #endif
 9 |
10 | public extension NSUnderlineStyle {
   |                  `- error: cannot find type 'NSUnderlineStyle' in scope
11 |     static let none = NSUnderlineStyle([])
12 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
13 |
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
16 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
 16 |     public let color: NativeColor
 17 |
 18 |     public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
    |                                                            `- error: cannot find type 'NativeColor' in scope
 19 |         self.shape = shape
 20 |         self.width = width
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
 30 |
 31 | public extension BlockStyle {
 32 |     static func textColor(_ value: NativeColor) -> BlockStyle {
    |                                    `- error: cannot find type 'NativeColor' in scope
 33 |         .inlineStyle(.textColor(value))
 34 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
    |                                                   `- error: cannot find type 'NativeColor' in scope
 23 |     case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
 24 |     case blockMargin(Margin)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
 38 |     }
 39 |
 40 |     static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
    |                                          `- error: cannot find type 'NativeColor' in scope
 41 |         .inlineStyle(.backgroundColor(value))
 42 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
 24 |     case blockMargin(Margin)
 25 |     case blockPadding(Padding)
 26 |     case blockBackground(NativeColor?)
    |                          `- error: cannot find type 'NativeColor' in scope
 27 |     case list(markerToContentIndent: Length = 1.5.em)
 28 |     case inlineStyle(InlineStyle)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                                                                     `- error: cannot infer contextual base in reference to member 'clear'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                    `- error: cannot find type 'NSUnderlineStyle' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                                             `- error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
 9 |
10 | public enum InlineStyle {
11 |     case textColor(NativeColor)
   |                    `- error: cannot find type 'NativeColor' in scope
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
20 |                           border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
21 |                           padding: Padding = Padding(left: 5.pt, right: 5.pt, top: 0.pt, bottom: 0.pt),
22 |                           backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
   |                                            `- error: cannot find type 'NativeColor' in scope
23 |
24 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                                                 `- error: cannot find type 'NativeColor' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 51 |             .document: [
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 54 |                 .textColor(.adaptableTextColor)
 55 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
 54 |                 .textColor(.adaptableTextColor)
    |                             `- error: cannot infer contextual base in reference to member 'adaptableTextColor'
 55 |             ],
 56 |             .heading(level: 1): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'roundedRect'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                                                                             `- error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
 94 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 94 |             ],
 95 |             .blockQuote: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 94 |             ],
 95 |             .blockQuote: [
 96 |                 .textColor(.adaptableBlockQuoteTextColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 97 |                 .paragraphSpacingBefore(0.5.em),
 98 |                 .paragraphSpacingAfter(0.5.em),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                               `- error: cannot infer contextual base in reference to member 'left'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                                                        `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
    |                                  `- error: 'nil' requires a contextual type
103 |             ],
104 |             .list(isTight: true): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
107 |                 .blockBorder(.none),
108 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
109 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
110 |                 .orderedListMarker(.lowercaseRoman),
111 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
118 |                 .blockBorder(.none),
119 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
120 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
121 |                 .orderedListMarker(.lowercaseRoman),
122 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
128 |                 .blockBorder(.none),
129 |                 .blockPadding(Padding(left: 0.em, right: 0.em, top: 0.em, bottom: 0.em)),
130 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
131 |             ],
132 |             .thematicBreak: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
131 |             ],
132 |             .thematicBreak: [
133 |                 .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
    |                                                      `- error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
134 |             ]
135 |         ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
142 |             ],
143 |             .strikethrough: [
144 |                 .strikethrough(.single)
    |                                 `- error: cannot infer contextual base in reference to member 'single'
145 |             ],
146 |             .code: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
149 |             ],
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableLinkColor'
152 |                 .underline(.single)
153 |             ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
152 |                 .underline(.single)
    |                             `- error: cannot infer contextual base in reference to member 'single'
153 |             ]
154 |         ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
 53 |
 54 |         let font = defaultFont(for: attributes)
 55 |         let paragraphStyle = NSMutableParagraphStyle()
    |                              `- error: cannot find 'NSMutableParagraphStyle' in scope
 56 |         paragraphStyle.tabStops = []
 57 |         paragraphStyle.defaultTabInterval = 2.em.asRawPoints(for: font.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 58 |         scopes.updateParagraphStyle(paragraphStyle, with: font)
 59 |
 60 |         attributes[.paragraphStyle] = paragraphStyle
    |                     `- error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 61 |         return attributes
 62 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
21 |     }
22 |
23 |     public static let unspecified: FontTraits = []
   |                       |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'unspecified' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
22 |
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
   |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
   |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
   |                       |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'monospace' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
34 |         switch self {
35 |         case let .scaled(to: textStyle):
36 |             return textStyle.pointSize
   |                              `- error: value of type 'TextStyle' has no member 'pointSize'
37 |         case let .fixed(size):
38 |             return size
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
 9 |
10 | public extension NSUnderlineStyle {
11 |     static let none = NSUnderlineStyle([])
   |                       `- error: cannot find 'NSUnderlineStyle' in scope
12 | }
13 |
[150/153] Compiling NativeMarkKit HtmlEntities.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
 8 | #endif
 9 |
10 | public extension NSUnderlineStyle {
   |                  `- error: cannot find type 'NSUnderlineStyle' in scope
11 |     static let none = NSUnderlineStyle([])
12 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
13 |
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
16 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
 16 |     public let color: NativeColor
 17 |
 18 |     public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
    |                                                            `- error: cannot find type 'NativeColor' in scope
 19 |         self.shape = shape
 20 |         self.width = width
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
 30 |
 31 | public extension BlockStyle {
 32 |     static func textColor(_ value: NativeColor) -> BlockStyle {
    |                                    `- error: cannot find type 'NativeColor' in scope
 33 |         .inlineStyle(.textColor(value))
 34 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
    |                                                   `- error: cannot find type 'NativeColor' in scope
 23 |     case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
 24 |     case blockMargin(Margin)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
 38 |     }
 39 |
 40 |     static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
    |                                          `- error: cannot find type 'NativeColor' in scope
 41 |         .inlineStyle(.backgroundColor(value))
 42 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
 24 |     case blockMargin(Margin)
 25 |     case blockPadding(Padding)
 26 |     case blockBackground(NativeColor?)
    |                          `- error: cannot find type 'NativeColor' in scope
 27 |     case list(markerToContentIndent: Length = 1.5.em)
 28 |     case inlineStyle(InlineStyle)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                                                                     `- error: cannot infer contextual base in reference to member 'clear'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                    `- error: cannot find type 'NSUnderlineStyle' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                                             `- error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
 9 |
10 | public enum InlineStyle {
11 |     case textColor(NativeColor)
   |                    `- error: cannot find type 'NativeColor' in scope
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
20 |                           border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
21 |                           padding: Padding = Padding(left: 5.pt, right: 5.pt, top: 0.pt, bottom: 0.pt),
22 |                           backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
   |                                            `- error: cannot find type 'NativeColor' in scope
23 |
24 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                                                 `- error: cannot find type 'NativeColor' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 51 |             .document: [
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 54 |                 .textColor(.adaptableTextColor)
 55 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
 54 |                 .textColor(.adaptableTextColor)
    |                             `- error: cannot infer contextual base in reference to member 'adaptableTextColor'
 55 |             ],
 56 |             .heading(level: 1): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'roundedRect'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                                                                             `- error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
 94 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 94 |             ],
 95 |             .blockQuote: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 94 |             ],
 95 |             .blockQuote: [
 96 |                 .textColor(.adaptableBlockQuoteTextColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 97 |                 .paragraphSpacingBefore(0.5.em),
 98 |                 .paragraphSpacingAfter(0.5.em),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                               `- error: cannot infer contextual base in reference to member 'left'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                                                        `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
    |                                  `- error: 'nil' requires a contextual type
103 |             ],
104 |             .list(isTight: true): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
107 |                 .blockBorder(.none),
108 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
109 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
110 |                 .orderedListMarker(.lowercaseRoman),
111 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
118 |                 .blockBorder(.none),
119 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
120 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
121 |                 .orderedListMarker(.lowercaseRoman),
122 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
128 |                 .blockBorder(.none),
129 |                 .blockPadding(Padding(left: 0.em, right: 0.em, top: 0.em, bottom: 0.em)),
130 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
131 |             ],
132 |             .thematicBreak: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
131 |             ],
132 |             .thematicBreak: [
133 |                 .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
    |                                                      `- error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
134 |             ]
135 |         ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
142 |             ],
143 |             .strikethrough: [
144 |                 .strikethrough(.single)
    |                                 `- error: cannot infer contextual base in reference to member 'single'
145 |             ],
146 |             .code: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
149 |             ],
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableLinkColor'
152 |                 .underline(.single)
153 |             ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
152 |                 .underline(.single)
    |                             `- error: cannot infer contextual base in reference to member 'single'
153 |             ]
154 |         ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
 53 |
 54 |         let font = defaultFont(for: attributes)
 55 |         let paragraphStyle = NSMutableParagraphStyle()
    |                              `- error: cannot find 'NSMutableParagraphStyle' in scope
 56 |         paragraphStyle.tabStops = []
 57 |         paragraphStyle.defaultTabInterval = 2.em.asRawPoints(for: font.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 58 |         scopes.updateParagraphStyle(paragraphStyle, with: font)
 59 |
 60 |         attributes[.paragraphStyle] = paragraphStyle
    |                     `- error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 61 |         return attributes
 62 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
21 |     }
22 |
23 |     public static let unspecified: FontTraits = []
   |                       |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'unspecified' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
22 |
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
   |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
   |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
   |                       |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'monospace' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
34 |         switch self {
35 |         case let .scaled(to: textStyle):
36 |             return textStyle.pointSize
   |                              `- error: value of type 'TextStyle' has no member 'pointSize'
37 |         case let .fixed(size):
38 |             return size
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
 9 |
10 | public extension NSUnderlineStyle {
11 |     static let none = NSUnderlineStyle([])
   |                       `- error: cannot find 'NSUnderlineStyle' in scope
12 | }
13 |
[151/153] Compiling NativeMarkKit Identifier.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
 8 | #endif
 9 |
10 | public extension NSUnderlineStyle {
   |                  `- error: cannot find type 'NSUnderlineStyle' in scope
11 |     static let none = NSUnderlineStyle([])
12 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
13 |
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
16 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
 16 |     public let color: NativeColor
 17 |
 18 |     public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
    |                                                            `- error: cannot find type 'NativeColor' in scope
 19 |         self.shape = shape
 20 |         self.width = width
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
 30 |
 31 | public extension BlockStyle {
 32 |     static func textColor(_ value: NativeColor) -> BlockStyle {
    |                                    `- error: cannot find type 'NativeColor' in scope
 33 |         .inlineStyle(.textColor(value))
 34 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
    |                                                   `- error: cannot find type 'NativeColor' in scope
 23 |     case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
 24 |     case blockMargin(Margin)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
 38 |     }
 39 |
 40 |     static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
    |                                          `- error: cannot find type 'NativeColor' in scope
 41 |         .inlineStyle(.backgroundColor(value))
 42 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
 24 |     case blockMargin(Margin)
 25 |     case blockPadding(Padding)
 26 |     case blockBackground(NativeColor?)
    |                          `- error: cannot find type 'NativeColor' in scope
 27 |     case list(markerToContentIndent: Length = 1.5.em)
 28 |     case inlineStyle(InlineStyle)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                                                                     `- error: cannot infer contextual base in reference to member 'clear'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                    `- error: cannot find type 'NSUnderlineStyle' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                                             `- error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
 9 |
10 | public enum InlineStyle {
11 |     case textColor(NativeColor)
   |                    `- error: cannot find type 'NativeColor' in scope
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
20 |                           border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
21 |                           padding: Padding = Padding(left: 5.pt, right: 5.pt, top: 0.pt, bottom: 0.pt),
22 |                           backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
   |                                            `- error: cannot find type 'NativeColor' in scope
23 |
24 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                                                 `- error: cannot find type 'NativeColor' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 51 |             .document: [
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 54 |                 .textColor(.adaptableTextColor)
 55 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
 54 |                 .textColor(.adaptableTextColor)
    |                             `- error: cannot infer contextual base in reference to member 'adaptableTextColor'
 55 |             ],
 56 |             .heading(level: 1): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'roundedRect'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                                                                             `- error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
 94 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 94 |             ],
 95 |             .blockQuote: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 94 |             ],
 95 |             .blockQuote: [
 96 |                 .textColor(.adaptableBlockQuoteTextColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 97 |                 .paragraphSpacingBefore(0.5.em),
 98 |                 .paragraphSpacingAfter(0.5.em),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                               `- error: cannot infer contextual base in reference to member 'left'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                                                        `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
    |                                  `- error: 'nil' requires a contextual type
103 |             ],
104 |             .list(isTight: true): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
107 |                 .blockBorder(.none),
108 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
109 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
110 |                 .orderedListMarker(.lowercaseRoman),
111 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
118 |                 .blockBorder(.none),
119 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
120 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
121 |                 .orderedListMarker(.lowercaseRoman),
122 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
128 |                 .blockBorder(.none),
129 |                 .blockPadding(Padding(left: 0.em, right: 0.em, top: 0.em, bottom: 0.em)),
130 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
131 |             ],
132 |             .thematicBreak: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
131 |             ],
132 |             .thematicBreak: [
133 |                 .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
    |                                                      `- error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
134 |             ]
135 |         ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
142 |             ],
143 |             .strikethrough: [
144 |                 .strikethrough(.single)
    |                                 `- error: cannot infer contextual base in reference to member 'single'
145 |             ],
146 |             .code: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
149 |             ],
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableLinkColor'
152 |                 .underline(.single)
153 |             ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
152 |                 .underline(.single)
    |                             `- error: cannot infer contextual base in reference to member 'single'
153 |             ]
154 |         ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
 53 |
 54 |         let font = defaultFont(for: attributes)
 55 |         let paragraphStyle = NSMutableParagraphStyle()
    |                              `- error: cannot find 'NSMutableParagraphStyle' in scope
 56 |         paragraphStyle.tabStops = []
 57 |         paragraphStyle.defaultTabInterval = 2.em.asRawPoints(for: font.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 58 |         scopes.updateParagraphStyle(paragraphStyle, with: font)
 59 |
 60 |         attributes[.paragraphStyle] = paragraphStyle
    |                     `- error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 61 |         return attributes
 62 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
21 |     }
22 |
23 |     public static let unspecified: FontTraits = []
   |                       |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'unspecified' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
22 |
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
   |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
   |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
   |                       |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'monospace' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
34 |         switch self {
35 |         case let .scaled(to: textStyle):
36 |             return textStyle.pointSize
   |                              `- error: value of type 'TextStyle' has no member 'pointSize'
37 |         case let .fixed(size):
38 |             return size
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
 9 |
10 | public extension NSUnderlineStyle {
11 |     static let none = NSUnderlineStyle([])
   |                       `- error: cannot find 'NSUnderlineStyle' in scope
12 | }
13 |
[152/153] Compiling NativeMarkKit ParserError.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
 8 | #endif
 9 |
10 | public extension NSUnderlineStyle {
   |                  `- error: cannot find type 'NSUnderlineStyle' in scope
11 |     static let none = NSUnderlineStyle([])
12 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
13 |
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
16 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
 16 |     public let color: NativeColor
 17 |
 18 |     public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
    |                                                            `- error: cannot find type 'NativeColor' in scope
 19 |         self.shape = shape
 20 |         self.width = width
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
 30 |
 31 | public extension BlockStyle {
 32 |     static func textColor(_ value: NativeColor) -> BlockStyle {
    |                                    `- error: cannot find type 'NativeColor' in scope
 33 |         .inlineStyle(.textColor(value))
 34 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
    |                                                   `- error: cannot find type 'NativeColor' in scope
 23 |     case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
 24 |     case blockMargin(Margin)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
 38 |     }
 39 |
 40 |     static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
    |                                          `- error: cannot find type 'NativeColor' in scope
 41 |         .inlineStyle(.backgroundColor(value))
 42 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
 24 |     case blockMargin(Margin)
 25 |     case blockPadding(Padding)
 26 |     case blockBackground(NativeColor?)
    |                          `- error: cannot find type 'NativeColor' in scope
 27 |     case list(markerToContentIndent: Length = 1.5.em)
 28 |     case inlineStyle(InlineStyle)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                                                                     `- error: cannot infer contextual base in reference to member 'clear'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                    `- error: cannot find type 'NSUnderlineStyle' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                                             `- error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
 9 |
10 | public enum InlineStyle {
11 |     case textColor(NativeColor)
   |                    `- error: cannot find type 'NativeColor' in scope
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
20 |                           border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
21 |                           padding: Padding = Padding(left: 5.pt, right: 5.pt, top: 0.pt, bottom: 0.pt),
22 |                           backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
   |                                            `- error: cannot find type 'NativeColor' in scope
23 |
24 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                                                 `- error: cannot find type 'NativeColor' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 51 |             .document: [
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 54 |                 .textColor(.adaptableTextColor)
 55 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
 54 |                 .textColor(.adaptableTextColor)
    |                             `- error: cannot infer contextual base in reference to member 'adaptableTextColor'
 55 |             ],
 56 |             .heading(level: 1): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'roundedRect'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                                                                             `- error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
 94 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 94 |             ],
 95 |             .blockQuote: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 94 |             ],
 95 |             .blockQuote: [
 96 |                 .textColor(.adaptableBlockQuoteTextColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 97 |                 .paragraphSpacingBefore(0.5.em),
 98 |                 .paragraphSpacingAfter(0.5.em),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                               `- error: cannot infer contextual base in reference to member 'left'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                                                        `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
    |                                  `- error: 'nil' requires a contextual type
103 |             ],
104 |             .list(isTight: true): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
107 |                 .blockBorder(.none),
108 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
109 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
110 |                 .orderedListMarker(.lowercaseRoman),
111 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
118 |                 .blockBorder(.none),
119 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
120 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
121 |                 .orderedListMarker(.lowercaseRoman),
122 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
128 |                 .blockBorder(.none),
129 |                 .blockPadding(Padding(left: 0.em, right: 0.em, top: 0.em, bottom: 0.em)),
130 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
131 |             ],
132 |             .thematicBreak: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
131 |             ],
132 |             .thematicBreak: [
133 |                 .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
    |                                                      `- error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
134 |             ]
135 |         ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
142 |             ],
143 |             .strikethrough: [
144 |                 .strikethrough(.single)
    |                                 `- error: cannot infer contextual base in reference to member 'single'
145 |             ],
146 |             .code: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
149 |             ],
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableLinkColor'
152 |                 .underline(.single)
153 |             ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
152 |                 .underline(.single)
    |                             `- error: cannot infer contextual base in reference to member 'single'
153 |             ]
154 |         ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
 53 |
 54 |         let font = defaultFont(for: attributes)
 55 |         let paragraphStyle = NSMutableParagraphStyle()
    |                              `- error: cannot find 'NSMutableParagraphStyle' in scope
 56 |         paragraphStyle.tabStops = []
 57 |         paragraphStyle.defaultTabInterval = 2.em.asRawPoints(for: font.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 58 |         scopes.updateParagraphStyle(paragraphStyle, with: font)
 59 |
 60 |         attributes[.paragraphStyle] = paragraphStyle
    |                     `- error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 61 |         return attributes
 62 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
21 |     }
22 |
23 |     public static let unspecified: FontTraits = []
   |                       |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'unspecified' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
22 |
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
   |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
   |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
   |                       |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'monospace' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
34 |         switch self {
35 |         case let .scaled(to: textStyle):
36 |             return textStyle.pointSize
   |                              `- error: value of type 'TextStyle' has no member 'pointSize'
37 |         case let .fixed(size):
38 |             return size
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
 9 |
10 | public extension NSUnderlineStyle {
11 |     static let none = NSUnderlineStyle([])
   |                       `- error: cannot find 'NSUnderlineStyle' in scope
12 | }
13 |
[153/153] Compiling NativeMarkKit String+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
 8 | #endif
 9 |
10 | public extension NSUnderlineStyle {
   |                  `- error: cannot find type 'NSUnderlineStyle' in scope
11 |     static let none = NSUnderlineStyle([])
12 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
13 |
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
16 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
 16 |     public let color: NativeColor
 17 |
 18 |     public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
    |                                                            `- error: cannot find type 'NativeColor' in scope
 19 |         self.shape = shape
 20 |         self.width = width
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
 30 |
 31 | public extension BlockStyle {
 32 |     static func textColor(_ value: NativeColor) -> BlockStyle {
    |                                    `- error: cannot find type 'NativeColor' in scope
 33 |         .inlineStyle(.textColor(value))
 34 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
    |                                                   `- error: cannot find type 'NativeColor' in scope
 23 |     case blockBorder(Border = Border(shape: .rectangle(sides: .all), width: 1, color: .adaptableCodeBorderColor))
 24 |     case blockMargin(Margin)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
 38 |     }
 39 |
 40 |     static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
    |                                          `- error: cannot find type 'NativeColor' in scope
 41 |         .inlineStyle(.backgroundColor(value))
 42 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
 24 |     case blockMargin(Margin)
 25 |     case blockPadding(Padding)
 26 |     case blockBackground(NativeColor?)
    |                          `- error: cannot find type 'NativeColor' in scope
 27 |     case list(markerToContentIndent: Length = 1.5.em)
 28 |     case inlineStyle(InlineStyle)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
 24 |
 25 | extension Border {
 26 |     public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
    |                                                                                     `- error: cannot infer contextual base in reference to member 'clear'
 27 |
 28 |     var leftOffset: CGFloat {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                    `- error: cannot find type 'NSUnderlineStyle' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                                             `- error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
 9 |
10 | public enum InlineStyle {
11 |     case textColor(NativeColor)
   |                    `- error: cannot find type 'NativeColor' in scope
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
20 |                           border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
21 |                           padding: Padding = Padding(left: 5.pt, right: 5.pt, top: 0.pt, bottom: 0.pt),
22 |                           backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
   |                                            `- error: cannot find type 'NativeColor' in scope
23 |
24 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                                                 `- error: cannot find type 'NativeColor' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 51 |             .document: [
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
 54 |                 .textColor(.adaptableTextColor)
 55 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
 52 |                 .textStyle(.body),
 53 |                 .backgroundColor(.adaptableBackgroundColor),
 54 |                 .textColor(.adaptableTextColor)
    |                             `- error: cannot infer contextual base in reference to member 'adaptableTextColor'
 55 |             ],
 56 |             .heading(level: 1): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'roundedRect'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 88 |                 .paragraphSpacingAfter(0.pt),
 89 |                 .blockMargin(.zero),
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
    |                                                                                             `- error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 90 |                 .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
 94 |             ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 91 |                 .blockPadding(Padding(left: 1.em, right: 1.em, top: 1.em, bottom: 1.em)),
 92 |                 .blockBackground(.adaptableCodeBackgroundColor),
 93 |                 .backgroundColor(.adaptableCodeBackgroundColor)
    |                                   `- error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
 94 |             ],
 95 |             .blockQuote: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 94 |             ],
 95 |             .blockQuote: [
 96 |                 .textColor(.adaptableBlockQuoteTextColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
 97 |                 .paragraphSpacingBefore(0.5.em),
 98 |                 .paragraphSpacingAfter(0.5.em),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                             `- error: cannot infer contextual base in reference to member 'rectangle'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                               `- error: cannot infer contextual base in reference to member 'left'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
 98 |                 .paragraphSpacingAfter(0.5.em),
 99 |                 .blockMargin(.zero),
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
    |                                                                                        `- error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
100 |                 .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
101 |                 .blockPadding(Padding(left: 1.35.em, right: 1.em, top: 0.em, bottom: 0.em)),
102 |                 .blockBackground(nil)
    |                                  `- error: 'nil' requires a contextual type
103 |             ],
104 |             .list(isTight: true): [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
107 |                 .blockBorder(.none),
108 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
109 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
110 |                 .orderedListMarker(.lowercaseRoman),
111 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
118 |                 .blockBorder(.none),
119 |                 .blockPadding(Padding(left: 0.5.em, right: 0.em, top: 0.em, bottom: 0.em)),
120 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
121 |                 .orderedListMarker(.lowercaseRoman),
122 |                 .unorderedListMarker(.check),
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
128 |                 .blockBorder(.none),
129 |                 .blockPadding(Padding(left: 0.em, right: 0.em, top: 0.em, bottom: 0.em)),
130 |                 .blockBackground(nil),
    |                                  `- error: 'nil' requires a contextual type
131 |             ],
132 |             .thematicBreak: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
131 |             ],
132 |             .thematicBreak: [
133 |                 .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
    |                                                      `- error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
134 |             ]
135 |         ],
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
142 |             ],
143 |             .strikethrough: [
144 |                 .strikethrough(.single)
    |                                 `- error: cannot infer contextual base in reference to member 'single'
145 |             ],
146 |             .code: [
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
149 |             ],
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
    |                             `- error: cannot infer contextual base in reference to member 'adaptableLinkColor'
152 |                 .underline(.single)
153 |             ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
150 |             .link: [
151 |                 .textColor(.adaptableLinkColor),
152 |                 .underline(.single)
    |                             `- error: cannot infer contextual base in reference to member 'single'
153 |             ]
154 |         ]
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
 53 |
 54 |         let font = defaultFont(for: attributes)
 55 |         let paragraphStyle = NSMutableParagraphStyle()
    |                              `- error: cannot find 'NSMutableParagraphStyle' in scope
 56 |         paragraphStyle.tabStops = []
 57 |         paragraphStyle.defaultTabInterval = 2.em.asRawPoints(for: font.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 58 |         scopes.updateParagraphStyle(paragraphStyle, with: font)
 59 |
 60 |         attributes[.paragraphStyle] = paragraphStyle
    |                     `- error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
 61 |         return attributes
 62 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:23:23: warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
21 |     }
22 |
23 |     public static let unspecified: FontTraits = []
   |                       |- warning: static property 'unspecified' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'unspecified' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:24:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
22 |
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
   |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'italic' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:25:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
23 |     public static let unspecified: FontTraits = []
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
   |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'bold' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
27 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:26:23: warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FontTraits: OptionSet {
   |               `- note: consider making struct 'FontTraits' conform to the 'Sendable' protocol
17 |     public let rawValue: Int
18 |
   :
24 |     public static let italic = FontTraits(rawValue: 1 << 0)
25 |     public static let bold = FontTraits(rawValue: 1 << 1)
26 |     public static let monospace = FontTraits(rawValue: 1 << 2)
   |                       |- warning: static property 'monospace' is not concurrency-safe because non-'Sendable' type 'FontTraits' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'monospace' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | }
28 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:36:30: error: value of type 'TextStyle' has no member 'pointSize'
34 |         switch self {
35 |         case let .scaled(to: textStyle):
36 |             return textStyle.pointSize
   |                              `- error: value of type 'TextStyle' has no member 'pointSize'
37 |         case let .fixed(size):
38 |             return size
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:11:23: error: cannot find 'NSUnderlineStyle' in scope
 9 |
10 | public extension NSUnderlineStyle {
11 |     static let none = NSUnderlineStyle([])
   |                       `- error: cannot find 'NSUnderlineStyle' in scope
12 | }
13 |
BUILD FAILURE 6.0 linux