The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NativeMarkKit with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:80:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: offset)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:89:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:91:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:104:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:112:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:113:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:122:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:125:37: error: value of type 'LayoutManager' has no member 'usedRect'
        var rawRect = layoutManager.usedRect(for: textContainer)
                      ~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:126: error: cannot find type 'NSParagraphStyle' in scope
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                             ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:117: error: 'nil' requires a contextual type
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:8:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:64:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage: ImageTextAttachmentLayoutDelegate {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
[26/114] Compiling NativeMarkKit NativeImage.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:17:14: error: initializer does not override a designated initializer from its superclass
    override init() {
    ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:27:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:31:19: error: method does not override any method from its superclass
    override func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:14:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:90:26: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension LayoutManager: NSLayoutManagerDelegate {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:249: error: cannot find type 'NSTextContainer' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                                                                                                                                                                                                                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:157: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                                                                                                            ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:76: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:143:120: error: cannot find type 'NSTextContainer' in scope
    func enumerateTypographicBounds(forCharacterRange characterRange: NSRange, with block: @escaping (NSRange, CGRect, NSTextContainer) -> Void) {
                                                                                                                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:157:107: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyphRange glyphRange: NSRange, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect? {
                                                                                                          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:43: error: cannot find type 'CGGlyph' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:148: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                                                                                                                                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:18:9: error: 'super' members cannot be referenced in a root class
        super.init()
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:19:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:23:9: error: 'super' members cannot be referenced in a root class
        super.init(coder: coder)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:24:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:32:9: error: 'super' members cannot be referenced in a root class
        super.drawBackground(forGlyphRange: glyphsToShow, at: origin)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:67: error: cannot find type 'NativeColor' in scope
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                                                  ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:46: error: reference to member 'backgroundColor' cannot be resolved without a contextual type
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:42:20: error: value of type 'CGRect' has no member 'fill'
            bounds.fill()
            ~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:44:20: error: value of type 'CGRect' has no member 'clear'
            bounds.clear()
            ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:94: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:31: error: cannot find 'textContainer' in scope
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:94: error: 'nil' requires a contextual type
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:54:27: error: cannot find 'boundingRect' in scope
        var rangeBounds = boundingRect(forGlyphRange: glyphRange, in: container)
                          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:55:9: error: cannot find 'enumerateEnclosingRects' in scope
        enumerateEnclosingRects(forGlyphRange: glyphRange,
        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:67:9: error: cannot find 'invalidateLayout' in scope
        invalidateLayout(forCharacterRange: characterRange, actualCharacterRange: &actualRange)
        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:68:9: error: cannot find 'invalidateDisplay' in scope
        invalidateDisplay(forCharacterRange: actualRange)
        ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:91: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:28: error: cannot find 'textContainer' in scope
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                           ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:91: error: 'nil' requires a contextual type
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:73:26: error: cannot find 'boundingRect' in scope
            let bounds = boundingRect(forGlyphRange: glyphRange, in: container)
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:78:37: error: cannot find 'textContainers' in scope
            for wrappedContainer in textContainers {
                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:79:39: error: value of type 'LayoutManager' has no member 'glyphRange'
                let glyphRange = self.glyphRange(for: wrappedContainer)
                                 ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:80:30: error: cannot find 'boundingRect' in scope
                let bounds = boundingRect(forGlyphRange: glyphRange, in: wrappedContainer)
                             ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:92:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:108:36: error: cannot infer contextual base in reference to member 'containerBreak'
        } else if action.contains(.containerBreak),
                                  ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:69: error: cannot infer contextual base in reference to member 'containerBreak'
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                   ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:116: error: 'nil' requires a contextual type
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:111:36: error: cannot infer contextual base in reference to member 'lineBreak'
        } else if action.contains(.lineBreak) {
                                  ~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:123:29: error: cannot find 'textStorage' in scope
        guard let storage = textStorage else {
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:35: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                             ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:97: error: 'nil' requires a contextual type
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:128:37: error: cannot infer contextual base in reference to member 'inlineBackground'
        storage.enumerateAttribute(.inlineBackground, in: characterRange, options: []) { value, range, stop in
                                   ~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:31: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:99: error: 'nil' requires a contextual type
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:146:9: error: cannot find 'enumerateLineFragments' in scope
        enumerateLineFragments(forGlyphRange: glyphRange) { lineFrame, usedRect, container, lineRange, _ in
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:158:43: error: cannot find type 'CGGlyph' in scope
        let glyphs = UnsafeMutablePointer<CGGlyph>.allocate(capacity: glyphRange.length)
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:26: error: value of type 'LayoutManager' has no member 'getGlyphs'
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                    ~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:80: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                               ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:133: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:184:29: error: value of type 'LayoutManager' has no member 'location'
        let location = self.location(forGlyphAt: glyphIndex)
                       ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:111: error: cannot find type 'NativeFont' in scope
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:32: error: value of type 'LayoutManager' has no member 'textStorage'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                          ~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:140: error: value of type 'TextStyle' has no member 'makeFont'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                                            ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:60: error: cannot infer contextual base in reference to member 'font'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                          ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:102: error: 'nil' requires a contextual type
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                     ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:189:33: error: cannot find 'boundingRect' in scope
        let glyphBoundingRect = boundingRect(forGlyphRange: NSRange(location: glyphIndex, length: 1),
                                ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:193:16: error: no exact matches in call to initializer
        return CGRect(x: glyphBoundingRect.minX,
               ^
Foundation.CGRect:3:12: note: candidate expects value of type 'CGFloat' for parameter #4 (got 'TextRange')
    public init(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)
           ^
Foundation.CGRect:4:12: note: candidate expects value of type 'Double' for parameter #4 (got 'TextRange')
    public init(x: Double, y: Double, width: Double, height: Double)
           ^
Foundation.CGRect:5:12: note: candidate expects value of type 'Int' for parameter #4 (got 'TextRange')
    public init(x: Int, y: Int, width: Int, height: Int)
           ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:82: error: cannot infer contextual base in reference to member 'containerBreak'
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:129: error: 'nil' requires a contextual type
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:116:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:35:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:39:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:52:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:56:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:86:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:88:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: textContainer.origin)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:98:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:100:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:113:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:121:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:122:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:126:28: error: value of type 'LayoutManager' has no member 'glyphRange'
        _ = layoutManager?.glyphRange(for: textContainer)
            ~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:128:31: error: value of type 'LayoutManager' has no member 'usedRect'
        return layoutManager?.usedRect(for: textContainer).integral.size ?? .zero
               ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:107:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:33:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:37:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:50:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:54:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:78:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:80:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: offset)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:89:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:91:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:104:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:112:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:113:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:122:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:125:37: error: value of type 'LayoutManager' has no member 'usedRect'
        var rawRect = layoutManager.usedRect(for: textContainer)
                      ~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:126: error: cannot find type 'NSParagraphStyle' in scope
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                             ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:117: error: 'nil' requires a contextual type
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:8:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:64:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage: ImageTextAttachmentLayoutDelegate {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
[27/114] Compiling NativeMarkKit NativeMarkLabel+AppKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:17:14: error: initializer does not override a designated initializer from its superclass
    override init() {
    ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:27:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:31:19: error: method does not override any method from its superclass
    override func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:14:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:90:26: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension LayoutManager: NSLayoutManagerDelegate {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:249: error: cannot find type 'NSTextContainer' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                                                                                                                                                                                                                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:157: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                                                                                                            ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:76: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:143:120: error: cannot find type 'NSTextContainer' in scope
    func enumerateTypographicBounds(forCharacterRange characterRange: NSRange, with block: @escaping (NSRange, CGRect, NSTextContainer) -> Void) {
                                                                                                                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:157:107: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyphRange glyphRange: NSRange, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect? {
                                                                                                          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:43: error: cannot find type 'CGGlyph' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:148: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                                                                                                                                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:18:9: error: 'super' members cannot be referenced in a root class
        super.init()
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:19:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:23:9: error: 'super' members cannot be referenced in a root class
        super.init(coder: coder)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:24:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:32:9: error: 'super' members cannot be referenced in a root class
        super.drawBackground(forGlyphRange: glyphsToShow, at: origin)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:67: error: cannot find type 'NativeColor' in scope
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                                                  ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:46: error: reference to member 'backgroundColor' cannot be resolved without a contextual type
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:42:20: error: value of type 'CGRect' has no member 'fill'
            bounds.fill()
            ~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:44:20: error: value of type 'CGRect' has no member 'clear'
            bounds.clear()
            ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:94: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:31: error: cannot find 'textContainer' in scope
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:94: error: 'nil' requires a contextual type
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:54:27: error: cannot find 'boundingRect' in scope
        var rangeBounds = boundingRect(forGlyphRange: glyphRange, in: container)
                          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:55:9: error: cannot find 'enumerateEnclosingRects' in scope
        enumerateEnclosingRects(forGlyphRange: glyphRange,
        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:67:9: error: cannot find 'invalidateLayout' in scope
        invalidateLayout(forCharacterRange: characterRange, actualCharacterRange: &actualRange)
        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:68:9: error: cannot find 'invalidateDisplay' in scope
        invalidateDisplay(forCharacterRange: actualRange)
        ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:91: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:28: error: cannot find 'textContainer' in scope
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                           ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:91: error: 'nil' requires a contextual type
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:73:26: error: cannot find 'boundingRect' in scope
            let bounds = boundingRect(forGlyphRange: glyphRange, in: container)
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:78:37: error: cannot find 'textContainers' in scope
            for wrappedContainer in textContainers {
                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:79:39: error: value of type 'LayoutManager' has no member 'glyphRange'
                let glyphRange = self.glyphRange(for: wrappedContainer)
                                 ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:80:30: error: cannot find 'boundingRect' in scope
                let bounds = boundingRect(forGlyphRange: glyphRange, in: wrappedContainer)
                             ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:92:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:108:36: error: cannot infer contextual base in reference to member 'containerBreak'
        } else if action.contains(.containerBreak),
                                  ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:69: error: cannot infer contextual base in reference to member 'containerBreak'
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                   ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:116: error: 'nil' requires a contextual type
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:111:36: error: cannot infer contextual base in reference to member 'lineBreak'
        } else if action.contains(.lineBreak) {
                                  ~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:123:29: error: cannot find 'textStorage' in scope
        guard let storage = textStorage else {
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:35: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                             ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:97: error: 'nil' requires a contextual type
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:128:37: error: cannot infer contextual base in reference to member 'inlineBackground'
        storage.enumerateAttribute(.inlineBackground, in: characterRange, options: []) { value, range, stop in
                                   ~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:31: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:99: error: 'nil' requires a contextual type
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:146:9: error: cannot find 'enumerateLineFragments' in scope
        enumerateLineFragments(forGlyphRange: glyphRange) { lineFrame, usedRect, container, lineRange, _ in
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:158:43: error: cannot find type 'CGGlyph' in scope
        let glyphs = UnsafeMutablePointer<CGGlyph>.allocate(capacity: glyphRange.length)
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:26: error: value of type 'LayoutManager' has no member 'getGlyphs'
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                    ~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:80: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                               ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:133: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:184:29: error: value of type 'LayoutManager' has no member 'location'
        let location = self.location(forGlyphAt: glyphIndex)
                       ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:111: error: cannot find type 'NativeFont' in scope
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:32: error: value of type 'LayoutManager' has no member 'textStorage'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                          ~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:140: error: value of type 'TextStyle' has no member 'makeFont'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                                            ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:60: error: cannot infer contextual base in reference to member 'font'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                          ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:102: error: 'nil' requires a contextual type
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                     ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:189:33: error: cannot find 'boundingRect' in scope
        let glyphBoundingRect = boundingRect(forGlyphRange: NSRange(location: glyphIndex, length: 1),
                                ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:193:16: error: no exact matches in call to initializer
        return CGRect(x: glyphBoundingRect.minX,
               ^
Foundation.CGRect:3:12: note: candidate expects value of type 'CGFloat' for parameter #4 (got 'TextRange')
    public init(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)
           ^
Foundation.CGRect:4:12: note: candidate expects value of type 'Double' for parameter #4 (got 'TextRange')
    public init(x: Double, y: Double, width: Double, height: Double)
           ^
Foundation.CGRect:5:12: note: candidate expects value of type 'Int' for parameter #4 (got 'TextRange')
    public init(x: Int, y: Int, width: Int, height: Int)
           ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:82: error: cannot infer contextual base in reference to member 'containerBreak'
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:129: error: 'nil' requires a contextual type
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:116:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:35:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:39:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:52:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:56:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:86:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:88:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: textContainer.origin)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:98:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:100:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:113:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:121:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:122:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:126:28: error: value of type 'LayoutManager' has no member 'glyphRange'
        _ = layoutManager?.glyphRange(for: textContainer)
            ~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:128:31: error: value of type 'LayoutManager' has no member 'usedRect'
        return layoutManager?.usedRect(for: textContainer).integral.size ?? .zero
               ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:107:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:33:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:37:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:50:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:54:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:78:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:80:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: offset)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:89:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:91:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:104:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:112:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:113:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:122:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:125:37: error: value of type 'LayoutManager' has no member 'usedRect'
        var rawRect = layoutManager.usedRect(for: textContainer)
                      ~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:126: error: cannot find type 'NSParagraphStyle' in scope
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                             ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:117: error: 'nil' requires a contextual type
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:8:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:64:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage: ImageTextAttachmentLayoutDelegate {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
[28/114] Compiling NativeMarkKit NativeMarkLabel+UIKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:17:14: error: initializer does not override a designated initializer from its superclass
    override init() {
    ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:27:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:31:19: error: method does not override any method from its superclass
    override func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:14:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:90:26: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension LayoutManager: NSLayoutManagerDelegate {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:249: error: cannot find type 'NSTextContainer' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                                                                                                                                                                                                                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:157: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                                                                                                            ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:76: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:143:120: error: cannot find type 'NSTextContainer' in scope
    func enumerateTypographicBounds(forCharacterRange characterRange: NSRange, with block: @escaping (NSRange, CGRect, NSTextContainer) -> Void) {
                                                                                                                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:157:107: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyphRange glyphRange: NSRange, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect? {
                                                                                                          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:43: error: cannot find type 'CGGlyph' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:148: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                                                                                                                                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:18:9: error: 'super' members cannot be referenced in a root class
        super.init()
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:19:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:23:9: error: 'super' members cannot be referenced in a root class
        super.init(coder: coder)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:24:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:32:9: error: 'super' members cannot be referenced in a root class
        super.drawBackground(forGlyphRange: glyphsToShow, at: origin)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:67: error: cannot find type 'NativeColor' in scope
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                                                  ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:46: error: reference to member 'backgroundColor' cannot be resolved without a contextual type
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:42:20: error: value of type 'CGRect' has no member 'fill'
            bounds.fill()
            ~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:44:20: error: value of type 'CGRect' has no member 'clear'
            bounds.clear()
            ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:94: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:31: error: cannot find 'textContainer' in scope
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:94: error: 'nil' requires a contextual type
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:54:27: error: cannot find 'boundingRect' in scope
        var rangeBounds = boundingRect(forGlyphRange: glyphRange, in: container)
                          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:55:9: error: cannot find 'enumerateEnclosingRects' in scope
        enumerateEnclosingRects(forGlyphRange: glyphRange,
        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:67:9: error: cannot find 'invalidateLayout' in scope
        invalidateLayout(forCharacterRange: characterRange, actualCharacterRange: &actualRange)
        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:68:9: error: cannot find 'invalidateDisplay' in scope
        invalidateDisplay(forCharacterRange: actualRange)
        ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:91: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:28: error: cannot find 'textContainer' in scope
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                           ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:91: error: 'nil' requires a contextual type
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:73:26: error: cannot find 'boundingRect' in scope
            let bounds = boundingRect(forGlyphRange: glyphRange, in: container)
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:78:37: error: cannot find 'textContainers' in scope
            for wrappedContainer in textContainers {
                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:79:39: error: value of type 'LayoutManager' has no member 'glyphRange'
                let glyphRange = self.glyphRange(for: wrappedContainer)
                                 ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:80:30: error: cannot find 'boundingRect' in scope
                let bounds = boundingRect(forGlyphRange: glyphRange, in: wrappedContainer)
                             ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:92:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:108:36: error: cannot infer contextual base in reference to member 'containerBreak'
        } else if action.contains(.containerBreak),
                                  ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:69: error: cannot infer contextual base in reference to member 'containerBreak'
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                   ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:116: error: 'nil' requires a contextual type
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:111:36: error: cannot infer contextual base in reference to member 'lineBreak'
        } else if action.contains(.lineBreak) {
                                  ~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:123:29: error: cannot find 'textStorage' in scope
        guard let storage = textStorage else {
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:35: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                             ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:97: error: 'nil' requires a contextual type
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:128:37: error: cannot infer contextual base in reference to member 'inlineBackground'
        storage.enumerateAttribute(.inlineBackground, in: characterRange, options: []) { value, range, stop in
                                   ~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:31: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:99: error: 'nil' requires a contextual type
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:146:9: error: cannot find 'enumerateLineFragments' in scope
        enumerateLineFragments(forGlyphRange: glyphRange) { lineFrame, usedRect, container, lineRange, _ in
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:158:43: error: cannot find type 'CGGlyph' in scope
        let glyphs = UnsafeMutablePointer<CGGlyph>.allocate(capacity: glyphRange.length)
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:26: error: value of type 'LayoutManager' has no member 'getGlyphs'
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                    ~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:80: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                               ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:133: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:184:29: error: value of type 'LayoutManager' has no member 'location'
        let location = self.location(forGlyphAt: glyphIndex)
                       ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:111: error: cannot find type 'NativeFont' in scope
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:32: error: value of type 'LayoutManager' has no member 'textStorage'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                          ~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:140: error: value of type 'TextStyle' has no member 'makeFont'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                                            ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:60: error: cannot infer contextual base in reference to member 'font'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                          ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:102: error: 'nil' requires a contextual type
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                     ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:189:33: error: cannot find 'boundingRect' in scope
        let glyphBoundingRect = boundingRect(forGlyphRange: NSRange(location: glyphIndex, length: 1),
                                ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:193:16: error: no exact matches in call to initializer
        return CGRect(x: glyphBoundingRect.minX,
               ^
Foundation.CGRect:3:12: note: candidate expects value of type 'CGFloat' for parameter #4 (got 'TextRange')
    public init(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)
           ^
Foundation.CGRect:4:12: note: candidate expects value of type 'Double' for parameter #4 (got 'TextRange')
    public init(x: Double, y: Double, width: Double, height: Double)
           ^
Foundation.CGRect:5:12: note: candidate expects value of type 'Int' for parameter #4 (got 'TextRange')
    public init(x: Int, y: Int, width: Int, height: Int)
           ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:82: error: cannot infer contextual base in reference to member 'containerBreak'
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:129: error: 'nil' requires a contextual type
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:116:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:35:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:39:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:52:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:56:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:86:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:88:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: textContainer.origin)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:98:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:100:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:113:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:121:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:122:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:126:28: error: value of type 'LayoutManager' has no member 'glyphRange'
        _ = layoutManager?.glyphRange(for: textContainer)
            ~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:128:31: error: value of type 'LayoutManager' has no member 'usedRect'
        return layoutManager?.usedRect(for: textContainer).integral.size ?? .zero
               ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:107:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:33:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:37:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:50:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:54:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:78:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:80:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: offset)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:89:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:91:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:104:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:112:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:113:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:122:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:125:37: error: value of type 'LayoutManager' has no member 'usedRect'
        var rawRect = layoutManager.usedRect(for: textContainer)
                      ~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:126: error: cannot find type 'NSParagraphStyle' in scope
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                             ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:117: error: 'nil' requires a contextual type
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:8:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:64:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage: ImageTextAttachmentLayoutDelegate {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
[29/114] Compiling NativeMarkKit NativeMarkText+AppKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:17:14: error: initializer does not override a designated initializer from its superclass
    override init() {
    ~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:27:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:31:19: error: method does not override any method from its superclass
    override func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) {
    ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:14:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:90:26: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension LayoutManager: NSLayoutManagerDelegate {
                         ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:91:249: error: cannot find type 'NSTextContainer' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
                                                                                                                                                                                                                                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:157: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                                                                                                            ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:41: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                        ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:104:76: error: cannot find type 'NSLayoutManager' in scope
    func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
                                                                           ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:143:120: error: cannot find type 'NSTextContainer' in scope
    func enumerateTypographicBounds(forCharacterRange characterRange: NSRange, with block: @escaping (NSRange, CGRect, NSTextContainer) -> Void) {
                                                                                                                       ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:157:107: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyphRange glyphRange: NSRange, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect? {
                                                                                                          ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:43: error: cannot find type 'CGGlyph' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:183:148: error: cannot find type 'NSTextContainer' in scope
    func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
                                                                                                                                                   ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:18:9: error: 'super' members cannot be referenced in a root class
        super.init()
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:19:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:23:9: error: 'super' members cannot be referenced in a root class
        super.init(coder: coder)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:24:9: error: cannot find 'delegate' in scope
        delegate = self
        ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:32:9: error: 'super' members cannot be referenced in a root class
        super.drawBackground(forGlyphRange: glyphsToShow, at: origin)
        ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:67: error: cannot find type 'NativeColor' in scope
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                                                  ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:40:46: error: reference to member 'backgroundColor' cannot be resolved without a contextual type
        if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:42:20: error: value of type 'CGRect' has no member 'fill'
            bounds.fill()
            ~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:44:20: error: value of type 'CGRect' has no member 'clear'
            bounds.clear()
            ~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:94: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:31: error: cannot find 'textContainer' in scope
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                              ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:50:94: error: 'nil' requires a contextual type
        guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer else {
                                                                                             ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:54:27: error: cannot find 'boundingRect' in scope
        var rangeBounds = boundingRect(forGlyphRange: glyphRange, in: container)
                          ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:55:9: error: cannot find 'enumerateEnclosingRects' in scope
        enumerateEnclosingRects(forGlyphRange: glyphRange,
        ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:67:9: error: cannot find 'invalidateLayout' in scope
        invalidateLayout(forCharacterRange: characterRange, actualCharacterRange: &actualRange)
        ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:68:9: error: cannot find 'invalidateDisplay' in scope
        invalidateDisplay(forCharacterRange: actualRange)
        ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:26: error: use of local variable 'glyphRange' before its declaration
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                         ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:13: note: 'glyphRange' declared here
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
            ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70:91: error: 'nil' requires a contextual type
        let glyphRange = glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:28: error: cannot find 'textContainer' in scope
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                           ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:72:91: error: 'nil' requires a contextual type
        if let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) as? TextContainer {
                                                                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:73:26: error: cannot find 'boundingRect' in scope
            let bounds = boundingRect(forGlyphRange: glyphRange, in: container)
                         ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:78:37: error: cannot find 'textContainers' in scope
            for wrappedContainer in textContainers {
                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:79:39: error: value of type 'LayoutManager' has no member 'glyphRange'
                let glyphRange = self.glyphRange(for: wrappedContainer)
                                 ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:80:30: error: cannot find 'boundingRect' in scope
                let bounds = boundingRect(forGlyphRange: glyphRange, in: wrappedContainer)
                             ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:92:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:108:36: error: cannot infer contextual base in reference to member 'containerBreak'
        } else if action.contains(.containerBreak),
                                  ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:69: error: cannot infer contextual base in reference to member 'containerBreak'
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                   ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:109:116: error: 'nil' requires a contextual type
                  let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:111:36: error: cannot infer contextual base in reference to member 'lineBreak'
        } else if action.contains(.lineBreak) {
                                  ~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:123:29: error: cannot find 'textStorage' in scope
        guard let storage = textStorage else {
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:35: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                             ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:127:97: error: 'nil' requires a contextual type
        let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:128:37: error: cannot infer contextual base in reference to member 'inlineBackground'
        storage.enumerateAttribute(.inlineBackground, in: characterRange, options: []) { value, range, stop in
                                   ~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:31: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                         ~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:144:99: error: 'nil' requires a contextual type
        let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
                                                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:146:9: error: cannot find 'enumerateLineFragments' in scope
        enumerateLineFragments(forGlyphRange: glyphRange) { lineFrame, usedRect, container, lineRange, _ in
        ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:158:43: error: cannot find type 'CGGlyph' in scope
        let glyphs = UnsafeMutablePointer<CGGlyph>.allocate(capacity: glyphRange.length)
                                          ^~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:26: error: value of type 'LayoutManager' has no member 'getGlyphs'
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                    ~~~~ ^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:80: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                               ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:160:133: error: 'nil' requires a contextual type
        let count = self.getGlyphs(in: glyphRange, glyphs: glyphs, properties: nil, characterIndexes: characterIndices, bidiLevels: nil)
                                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:184:29: error: value of type 'LayoutManager' has no member 'location'
        let location = self.location(forGlyphAt: glyphIndex)
                       ~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:111: error: cannot find type 'NativeFont' in scope
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:32: error: value of type 'LayoutManager' has no member 'textStorage'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                          ~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:140: error: value of type 'TextStyle' has no member 'makeFont'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                                            ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:60: error: cannot infer contextual base in reference to member 'font'
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                          ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:185:102: error: 'nil' requires a contextual type
        let defaultFont = self.textStorage?.safeAttribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
                                                                                                     ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:189:33: error: cannot find 'boundingRect' in scope
        let glyphBoundingRect = boundingRect(forGlyphRange: NSRange(location: glyphIndex, length: 1),
                                ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:193:16: error: no exact matches in call to initializer
        return CGRect(x: glyphBoundingRect.minX,
               ^
Foundation.CGRect:3:12: note: candidate expects value of type 'CGFloat' for parameter #4 (got 'TextRange')
    public init(x: CGFloat, y: CGFloat, width: CGFloat, height: CGFloat)
           ^
Foundation.CGRect:4:12: note: candidate expects value of type 'Double' for parameter #4 (got 'TextRange')
    public init(x: Double, y: Double, width: Double, height: Double)
           ^
Foundation.CGRect:5:12: note: candidate expects value of type 'Int' for parameter #4 (got 'TextRange')
    public init(x: Int, y: Int, width: Int, height: Int)
           ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:82: error: cannot infer contextual base in reference to member 'containerBreak'
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:226:129: error: 'nil' requires a contextual type
        if charIndex < length, let containerBreakValue = storage?.safeAttribute(.containerBreak, at: charIndex, effectiveRange: nil) as? ContainerBreakValue {
                                                                                                                                ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:116:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:35:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:36:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:39:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:41:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:52:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:53:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:56:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:58:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:86:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:88:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: textContainer.origin)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:98:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:100:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:102:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:113:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:121:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:122:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:126:28: error: value of type 'LayoutManager' has no member 'glyphRange'
        _ = layoutManager?.glyphRange(for: textContainer)
            ~~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift:128:31: error: value of type 'LayoutManager' has no member 'usedRect'
        return layoutManager?.usedRect(for: textContainer).integral.size ?? .zero
               ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:107:18: error: cannot find type 'NSTextStorage' in scope
    var storage: NSTextStorage? {
                 ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:33:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:34:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:37:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:39:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:50:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:51:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:76: error: cannot find type 'NSParagraphStyle' in scope
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                           ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:54:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
           let paragraphStyle = storage.safeAttribute(.paragraphStyle,
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:56:67: error: 'nil' requires a contextual type
                                                  effectiveRange: nil) as? NSParagraphStyle {
                                                                  ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:78:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:80:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
        layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: offset)
        ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:89:44: error: value of type 'LayoutManager' has no member 'characterIndex'
        let characterIndex = layoutManager.characterIndex(for: location,
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:91:101: error: 'nil' requires a contextual type
                                                          fractionOfDistanceBetweenInsertionPoints: nil)
                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:48: error: cannot infer contextual base in reference to member 'nativeMarkLink'
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                              ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:93:100: error: 'nil' requires a contextual type
              let url = storage.safeAttribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? NSURL else {
                                                                                                   ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:104:23: error: value of type 'TextContainer' has no member 'layoutManager'
        textContainer.layoutManager as? LayoutManager
        ~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:112:23: error: value of type 'TextContainer' has no member 'size'
        textContainer.size = size
        ~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:113:24: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
        layoutManager?.textContainerChangedGeometry(textContainer)
        ~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:122:40: error: value of type 'LayoutManager' has no member 'glyphRange'
        let glyphRange = layoutManager.glyphRange(for: textContainer)
                         ~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:44: error: value of type 'LayoutManager' has no member 'characterRange'
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                             ~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:123:104: error: 'nil' requires a contextual type
        let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
                                                                                                       ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:125:37: error: value of type 'LayoutManager' has no member 'usedRect'
        var rawRect = layoutManager.usedRect(for: textContainer)
                      ~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:126: error: cannot find type 'NSParagraphStyle' in scope
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                             ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:56: error: cannot infer contextual base in reference to member 'paragraphStyle'
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                      ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift:126:117: error: 'nil' requires a contextual type
        if let paragraphStyle = storage.safeAttribute(.paragraphStyle, at: characterRange.location, effectiveRange: nil) as? NSParagraphStyle {
                                                                                                                    ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:8:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift:64:11: error: cannot find type 'NSTextStorage' in scope
extension NSTextStorage: ImageTextAttachmentLayoutDelegate {
          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
error: compile command failed due to signal 6 (use -v to see invocation)
error: compile command failed due to signal 6 (use -v to see invocation)
error: emit-module command failed with exit code 1 (use -v to see invocation)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageLoader.swift:4:64: error: cannot find type 'NativeImage' in scope
    func loadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void)
                                                               ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
    func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
                                                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
    case textColor(NativeColor)
                   ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
    case backgroundColor(NativeColor?)
                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
    case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
                       ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
    case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
                                                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
    case underline(NSUnderlineStyle, color: NativeColor? = nil)
                   ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
    case underline(NSUnderlineStyle, color: NativeColor? = nil)
                                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:22:44: error: cannot find type 'NativeColor' in scope
                          backgroundColor: NativeColor? = .adaptableCodeBackgroundColor)
                                           ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:18:60: error: cannot find type 'NativeColor' in scope
    public init(shape: BorderShape, width: CGFloat, color: NativeColor) {
                                                           ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:59: error: cannot infer contextual base in reference to member 'roundedRect'
                          border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
                                                         ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:107: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
                          border: Border = Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor),
                                                                                                         ~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:16:23: error: cannot find type 'NativeColor' in scope
    public let color: NativeColor
                      ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:28:49: error: cannot find type 'NSMutableParagraphStyle' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:28:92: error: cannot find type 'NativeFont' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
                                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:37:25: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
            attributes[.foregroundColor] = color
                       ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:25: error: type 'NSAttributedString.Key' has no member 'font'
            attributes[.font] = style.makeFont()
                       ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39:39: error: value of type 'TextStyle' has no member 'makeFont'
            attributes[.font] = style.makeFont()
                                ~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:41:25: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
            attributes[.backgroundColor] = backgroundColor
                       ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:43:54: error: cannot find type 'NativeFont' in scope
            let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:43:84: error: value of type 'TextStyle' has no member 'makeFont'
            let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
                                                                    ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:43:44: error: reference to member 'font' cannot be resolved without a contextual type
            let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
                                           ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:44:25: error: type 'NSAttributedString.Key' has no member 'kern'
            attributes[.kern] = kerning.asRawPoints(for: defaultFont.pointSize)
                       ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:47:29: error: type 'NSAttributedString.Key' has no member 'strikethroughColor'
                attributes[.strikethroughColor] = color
                           ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:49:25: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
            attributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
                       ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:29: error: type 'NSAttributedString.Key' has no member 'underlineColor'
                attributes[.underlineColor] = color
                           ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:54:25: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
            attributes[.underlineStyle] = NSNumber(value: style.rawValue)
                       ~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:56:53: error: cannot find type 'NativeFont' in scope
            let currentFont = attributes[.font] as? NativeFont
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:56:43: error: reference to member 'font' cannot be resolved without a contextual type
            let currentFont = attributes[.font] as? NativeFont
                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:57:25: error: type 'NSAttributedString.Key' has no member 'font'
            attributes[.font] = currentFont.withSize(fontSize)
                       ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:59:53: error: cannot find type 'NativeFont' in scope
            let currentFont = attributes[.font] as? NativeFont
                                                    ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:59:43: error: reference to member 'font' cannot be resolved without a contextual type
            let currentFont = attributes[.font] as? NativeFont
                                          ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:60:25: error: type 'NSAttributedString.Key' has no member 'font'
            attributes[.font] = currentFont.withTraits(traits)
                       ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:62:54: error: cannot find type 'NativeFont' in scope
            let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:62:84: error: value of type 'TextStyle' has no member 'makeFont'
            let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
                                                                    ~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:62:44: error: reference to member 'font' cannot be resolved without a contextual type
            let defaultFont = (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
                                           ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift:12:26: error: cannot find type 'NativeColor' in scope
    let backgroundColor: NativeColor?
                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Length.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:8:18: error: cannot find type 'NativeColor' in scope
public extension NativeColor {
                 ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:90:19: error: cannot find type 'NativeColor' in scope
private extension NativeColor {
                  ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeTypes.swift:33:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
public extension NSUnderlineStyle {
                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
    public let style: NSUnderlineStyle
                      ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
    public let color: NativeColor?
                      ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
    public init(style: NSUnderlineStyle, color: NativeColor?) {
                       ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
    public init(style: NSUnderlineStyle, color: NativeColor?) {
                                                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:32:36: error: cannot find type 'NativeColor' in scope
    static func textColor(_ value: NativeColor) -> BlockStyle {
                                   ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
    case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
                                                  ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:40:42: error: cannot find type 'NativeColor' in scope
    static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:26:26: error: cannot find type 'NativeColor' in scope
    case blockBackground(NativeColor?)
                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:45: error: cannot infer contextual base in reference to member 'rectangle'
    public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift:26:85: error: cannot infer contextual base in reference to member 'clear'
    public static let none = Border(shape: .rectangle(sides: []), width: 0, color: .clear)
                                                                                   ~^~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:53:35: error: cannot infer contextual base in reference to member 'adaptableBackgroundColor'
                .backgroundColor(.adaptableBackgroundColor),
                                 ~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:54:29: error: cannot infer contextual base in reference to member 'adaptableTextColor'
                .textColor(.adaptableTextColor)
                           ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:45: error: cannot infer contextual base in reference to member 'roundedRect'
                .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
                                           ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:90:93: error: cannot infer contextual base in reference to member 'adaptableCodeBorderColor'
                .blockBorder(Border(shape: .roundedRect(cornerRadius: 3), width: 1, color: .adaptableCodeBorderColor)),
                                                                                           ~^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:92:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
                .blockBackground(.adaptableCodeBackgroundColor),
                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:93:35: error: cannot infer contextual base in reference to member 'adaptableCodeBackgroundColor'
                .backgroundColor(.adaptableCodeBackgroundColor)
                                 ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:96:29: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteTextColor'
                .textColor(.adaptableBlockQuoteTextColor),
                           ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:45: error: cannot infer contextual base in reference to member 'rectangle'
                .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
                                           ~^~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:63: error: cannot infer contextual base in reference to member 'left'
                .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
                                                             ~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:100:88: error: cannot infer contextual base in reference to member 'adaptableBlockQuoteMarginColor'
                .blockBorder(Border(shape: .rectangle(sides: .left), width: 8, color: .adaptableBlockQuoteMarginColor)),
                                                                                      ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:102:34: error: 'nil' requires a contextual type
                .blockBackground(nil)
                                 ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:109:34: error: 'nil' requires a contextual type
                .blockBackground(nil),
                                 ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:120:34: error: 'nil' requires a contextual type
                .blockBackground(nil),
                                 ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:130:34: error: 'nil' requires a contextual type
                .blockBackground(nil),
                                 ^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:133:54: error: cannot infer contextual base in reference to member 'adaptableSeparatorColor'
                .thematicBreak(thickness: 1, color: .adaptableSeparatorColor),
                                                    ~^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:144:33: error: cannot infer contextual base in reference to member 'single'
                .strikethrough(.single)
                               ~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:151:29: error: cannot infer contextual base in reference to member 'adaptableLinkColor'
                .textColor(.adaptableLinkColor),
                           ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:29: error: cannot infer contextual base in reference to member 'single'
                .underline(.single)
                           ~^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
#error("Unsupported platform")
       ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
    func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
                                                                       ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
                                                ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
    func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:55:30: error: cannot find 'NSMutableParagraphStyle' in scope
        let paragraphStyle = NSMutableParagraphStyle()
                             ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:60:21: error: type 'NSAttributedString.Key' has no member 'paragraphStyle'
        attributes[.paragraphStyle] = paragraphStyle
                   ~^~~~~~~~~~~~~~
Can't demangle: $s13NativeMarkKit11InlineStyleO16inlineBackground33_96F807BEA82923DC189996C7E77539B9LLXeF6marginL_AA14FourSidedValueVyAA6LengthOGvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -filelist /tmp/TemporaryDirectory.bds5sH/sources-1 -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageLoader.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyleSelector.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/Length.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/Margin.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeTypes.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/OrderedListMarkerFormat.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/Padding.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift -supplementary-output-file-map /tmp/TemporaryDirectory.bds5sH/supplementaryOutputs-7 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name NativeMarkKit -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/ImageLoader.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/ImageSizer.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/InlineStyle.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/InlineStyleSelector.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/Length.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/Margin.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/NativeColor+Adaptable.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/NativeTypes.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/OrderedListMarkerFormat.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/Padding.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/Points.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/Strikethrough.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/StyleSheet.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/StyleStack.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with the current language version
3.	Contents of /tmp/TemporaryDirectory.bds5sH/sources-1:
---
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/Document.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/Element.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/InlineText.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/Link.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/LinkDefinition.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/ListInfo.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/ListInfoKind.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/ListItem.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/ast/TaskListItemMark.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ATXHeadingBlockStarter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/Block.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/BlockCloser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/BlockContinuationParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/BlockKind.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/BlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/BlockQuoteBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/BlockQuoteStarter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/BlockStartParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/DocumentBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/FencedCodeBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/FencedCodeBlockStarter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/HeadingBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/IndentedCodeBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/IndentedCodeBlockStarter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ItemBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ItemBlockStarter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/LineInserter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/LineParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/LineResult.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/LinkDefinitionsLineParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ListBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ListKind.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ListStyle.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ParagraphBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/SetextHeadingBlockStarter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ThematicBreakBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/block/ThematicBreakBlockStarter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/AutolinkParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/BackslashParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/BackticksParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/BangParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/BlockLinkDefinition.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/CloseBracketParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/Delimiter.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/DelimiterOrInlineText.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/DelimiterParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/DelimiterStack.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/EntityParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/InlineBlockParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/InlineLinkParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/InlineParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/LinkDefinitionParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/LinkDestinationParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/LinkLabel.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/LinkLabelParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/LinkTitleParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/NewlineParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/OpenBracketParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/SpacesAndNewlineParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/StringParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/TextCursor.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/TextPosition.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/TextRange.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/inline/TextResult.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/lexer/Lexer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/lexer/Line.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/lexer/LineColumn.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/lexer/LineColumnCount.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/AbstractView.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/AccessibleURL.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BlockQuoteTextContainerLayout.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BorderValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/CGRect+Render.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/CompositeTextContainerLayout .swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ContainerBreakValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Environment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/GraphicsContext.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/InlineContainerStyleValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Int+Render.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LeafTextContainerLayout.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemContentTextContainerLayout.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemMarkerContainerLayout.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListItemTextContainerLayout.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListTextContainerLayout.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ListValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/MarginValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSAttributedStringKey+NativeMark.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NSTextStorage+NativeMark.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+AppKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLabel+UIKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkText+AppKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkText+UIKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/OrderedListMarkerFormat+Render.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/OrderedListMarkerFormatValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/PaddingValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/RenderParser.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TaskItemTextAttachment+AppKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TaskItemTextAttachment+UIKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerLayout.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerLayoutBuilder.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainerStyle.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/UnorderedListMarkerFormat+Render.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/UnorderedListMarkerFormatValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyleSelector.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Border.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Em.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/FourSidedValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageLoader.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyleSelector.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Length.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Margin.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeTypes.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/OrderedListMarkerFormat.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Padding.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle+AppKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle+UIKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/UnorderedListMarkerFormat.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/Array+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/CGFloat+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/CGPoint+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/CGRect+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/Character+Utils.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/HtmlEntities.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/Identifier.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/ParserError.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/utils/String+Utils.swift
---
4.	While walking into 'InlineStyle' (at /host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:10:8)
5.	While evaluating request USRGenerationRequest(NativeMarkKit.(file).InlineStyle.inlineBackground(margin:border:padding:backgroundColor:).margin@/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:27)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x5644d3760d73]
/usr/bin/swift-frontend(+0x7305abe)[0x5644d375eabe]
/usr/bin/swift-frontend(+0x73080ea)[0x5644d37610ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f027b9dc520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f027ba309fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f027b9dc476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f027b9c27f3]
/usr/bin/swift-frontend(+0x2af4275)[0x5644cef4d275]
/usr/bin/swift-frontend(+0x2755c54)[0x5644cebaec54]
/usr/bin/swift-frontend(+0x2ab869b)[0x5644cef1169b]
/usr/bin/swift-frontend(+0x2347a0c)[0x5644ce7a0a0c]
/usr/bin/swift-frontend(+0x106859c)[0x5644cd4c159c]
/usr/bin/swift-frontend(+0x1068102)[0x5644cd4c1102]
/usr/bin/swift-frontend(+0x106716b)[0x5644cd4c016b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x5644cef121aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x5644cd48fd5b]
/usr/bin/swift-frontend(+0x10362a7)[0x5644cd48f2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x5644cd48cc59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x5644ce10dcd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x5644cec0605c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x5644cec07b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x5644cec0a0e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x5644cec0607c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x5644cec0ac1f]
/usr/bin/swift-frontend(+0x27b086b)[0x5644cec0986b]
/usr/bin/swift-frontend(+0x27ad07c)[0x5644cec0607c]
/usr/bin/swift-frontend(+0x27acf73)[0x5644cec05f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x5644cede41e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x5644ce10b6a6]
/usr/bin/swift-frontend(+0x1032c84)[0x5644cd48bc84]
/usr/bin/swift-frontend(+0x1032b2a)[0x5644cd48bb2a]
/usr/bin/swift-frontend(+0x1027f82)[0x5644cd480f82]
/usr/bin/swift-frontend(+0x1027978)[0x5644cd480978]
/usr/bin/swift-frontend(+0xe3f242)[0x5644cd298242]
/usr/bin/swift-frontend(+0xe3d09c)[0x5644cd29609c]
/usr/bin/swift-frontend(+0xe382cd)[0x5644cd2912cd]
/usr/bin/swift-frontend(+0xe369db)[0x5644cd28f9db]
/usr/bin/swift-frontend(+0xcc3315)[0x5644cd11c315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f027b9c3d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f027b9c3e40]
/usr/bin/swift-frontend(+0xcc2375)[0x5644cd11b375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 2