The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NativeMarkKit, reference 2.1.1 (4833aa), with Swift 6.4 for Linux on 18 Sep 2026 07:51:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/andyfinnell/NativeMarkKit.git
Reference: 2.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/andyfinnell/NativeMarkKit
 * tag               2.1.1      -> FETCH_HEAD
HEAD is now at 4833aa3 Support transparent background for NativeMarkText (#18)
Cloned https://github.com/andyfinnell/NativeMarkKit.git
Revision (git rev-parse @):
4833aa3f62ab3b846b2f8042418c71e5bebe167c
SUCCESS checkout https://github.com/andyfinnell/NativeMarkKit.git at 2.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/andyfinnell/NativeMarkKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
[19 / 27] NativeMarkKit
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

[27 / 36] NativeMarkKit
/host/spi-builder-workspace/Sources/NativeMarkKit/render/CGRect+Render.swift:28:8: error: Unsupported platform
26 | }
27 | #else
28 | #error("Unsupported platform")
   |        `- error: Unsupported platform
29 | #endif
30 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:7:8: error: Unsupported platform
  5 | import AppKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
33 |
34 | #else
35 | #error("Unsupported platform")
   |        `- error: Unsupported platform
36 | #endif
37 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
19 | import UIKit
20 | #else
21 | #error("Unsupported platform")
   |        `- error: Unsupported platform
22 | #endif
23 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Em.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Length.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeTypes.swift:33:8: error: Unsupported platform
31 | #else
32 |
33 | #error("Unsupported platform")
   |        `- error: Unsupported platform
34 |
35 | #endif
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Points.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:7:8: error: Unsupported platform
  5 | import UIKit
  6 | #else
  7 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  8 | #endif
  9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:8:8: error: Unsupported platform
  6 | import UIKit
  7 | #else
  8 | #error("Unsupported platform")
    |        `- error: Unsupported platform
  9 | #endif
 10 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/TextStyle.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:7:8: error: Unsupported platform
 5 | import UIKit
 6 | #else
 7 | #error("Unsupported platform")
   |        `- error: Unsupported platform
 8 | #endif
 9 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:13:33: error: cannot find type 'NativeColor' in scope
11 |     let sides: BorderSides
12 |
13 |     init(width: CGFloat, color: NativeColor, sides: BorderSides) {
   |                                 `- error: cannot find type 'NativeColor' in scope
14 |         self.width = width
15 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:10:16: error: cannot find type 'NativeColor' in scope
 8 | final class BackgroundBorderValue: NSObject {
 9 |     let width: CGFloat
10 |     let color: NativeColor
   |                `- error: cannot find type 'NativeColor' in scope
11 |     let sides: BorderSides
12 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
16 |     let rightMargin: Length
17 |
18 |     init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
   |                     `- error: cannot find type 'NativeColor' in scope
19 |          cornerRadius: CGFloat, topMargin: Length, bottomMargin: Length,
20 |          leftMargin: Length, rightMargin: Length) {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
16 |     let rightMargin: Length
17 |
18 |     init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
   |                                               `- error: cannot find type 'NativeColor' in scope
19 |          cornerRadius: CGFloat, topMargin: Length, bottomMargin: Length,
20 |          leftMargin: Length, rightMargin: Length) {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:9:20: error: cannot find type 'NativeColor' in scope
 7 |
 8 | final class BackgroundValue: NSObject {
 9 |     let fillColor: NativeColor
   |                    `- error: cannot find type 'NativeColor' in scope
10 |     let strokeColor: NativeColor
11 |     let strokeWidth: CGFloat
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:10:22: error: cannot find type 'NativeColor' in scope
 8 | final class BackgroundValue: NSObject {
 9 |     let fillColor: NativeColor
10 |     let strokeColor: NativeColor
   |                      `- error: cannot find type 'NativeColor' in scope
11 |     let strokeWidth: CGFloat
12 |     let cornerRadius: CGFloat
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:32:47: error: cannot find type 'NativeFont' in scope
30 |     }
31 |
32 |     func render(in rect: CGRect, defaultFont: NativeFont) {
   |                                               `- error: cannot find type 'NativeFont' in scope
33 |         let topMarginInPts = topMargin.asRawPoints(for: defaultFont.pointSize)
34 |         let bottomMarginInPts = bottomMargin.asRawPoints(for: defaultFont.pointSize)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:9:83: error: cannot find type 'NativeImage' in scope
 7 |
 8 | protocol ImageTextAttachmentDelegate: AnyObject {
 9 |     func imageTextAttachmentLoadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void)
   |                                                                                   `- error: cannot find type 'NativeImage' in scope
10 |     func imageTextAttachmentResize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
11 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:10:65: error: cannot find type 'NativeImage' in scope
 8 | protocol ImageTextAttachmentDelegate: AnyObject {
 9 |     func imageTextAttachmentLoadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void)
10 |     func imageTextAttachmentResize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
   |                                                                 `- error: cannot find type 'NativeImage' in scope
11 | }
12 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
22 | #endif
23 |
24 | class NativeTextAttachment: NSTextAttachment {
   |                             `- error: cannot find type 'NSTextAttachment' in scope
25 |     var characterIndex: Int?
26 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:21:21: error: cannot find type 'NativeImage' in scope
19 |         case idle
20 |         case loading
21 |         case loaded(NativeImage)
   |                     `- error: cannot find type 'NativeImage' in scope
22 |     }
23 |     private let imageUrl: String?
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:47:51: error: cannot find type 'NSTextContainer' in scope
45 |     }
46 |
47 |     override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
   |                                                   `- error: cannot find type 'NSTextContainer' in scope
48 |         if let image = loadImage() {
49 |             if let resized = delegate?.imageTextAttachmentResize(imageUrl, image: image, lineFragment: lineFrag) {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:61:25: error: cannot find type 'NativeImage' in scope
59 |
60 | private extension ImageTextAttachment {
61 |     func loadImage() -> NativeImage? {
   |                         `- error: cannot find type 'NativeImage' in scope
62 |         switch status {
63 |         case .idle:
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:10:28: error: cannot find type 'NSLayoutManager' in scope
  8 | #endif
  9 |
 10 | final class LayoutManager: NSLayoutManager {
    |                            `- error: cannot find type 'NSLayoutManager' in scope
 11 |     override func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) {
 12 |         super.drawBackground(forGlyphRange: glyphsToShow, at: origin)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:11:19: error: method does not override any method from its superclass
  9 |
 10 | final class LayoutManager: NSLayoutManager {
 11 |     override func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) {
    |                   `- error: method does not override any method from its superclass
 12 |         super.drawBackground(forGlyphRange: glyphsToShow, at: origin)
 13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:98:107: error: cannot find type 'NSTextContainer' in scope
 96 |     }
 97 |
 98 |     func typographicBounds(ofGlyphRange glyphRange: NSRange, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect? {
    |                                                                                                           `- error: cannot find type 'NSTextContainer' in scope
 99 |         let glyphs = UnsafeMutablePointer<CGGlyph>.allocate(capacity: glyphRange.length)
100 |         let characterIndices = UnsafeMutablePointer<Int>.allocate(capacity: glyphRange.length)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:124:43: error: cannot find type 'CGGlyph' in scope
122 |     }
123 |
124 |     func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
    |                                           `- error: cannot find type 'CGGlyph' in scope
125 |         let location = self.location(forGlyphAt: glyphIndex)
126 |         let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:124:148: error: cannot find type 'NSTextContainer' in scope
122 |     }
123 |
124 |     func typographicBounds(ofGlyph glyph: CGGlyph, atGlyphIndex glyphIndex: Int, characterIndex: Int, onLineFragment lineFrame: CGRect, container: NSTextContainer) -> CGRect {
    |                                                                                                                                                    `- error: cannot find type 'NSTextContainer' in scope
125 |         let location = self.location(forGlyphAt: glyphIndex)
126 |         let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:137:36: error: cannot find type 'NSLayoutManagerDelegate' in scope
135 | }
136 |
137 | extension NativeMarkLayoutManager: NSLayoutManagerDelegate {
    |                                    `- error: cannot find type 'NSLayoutManagerDelegate' in scope
138 |     public func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
139 |         let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:138:48: error: cannot find type 'NSLayoutManager' in scope
136 |
137 | extension NativeMarkLayoutManager: NSLayoutManagerDelegate {
138 |     public func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
    |                                                `- error: cannot find type 'NSLayoutManager' in scope
139 |         let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
140 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:138:256: error: cannot find type 'NSTextContainer' in scope
136 |
137 | extension NativeMarkLayoutManager: NSLayoutManagerDelegate {
138 |     public func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool {
    |                                                                                                                                                                                                                                                                `- error: cannot find type 'NSTextContainer' in scope
139 |         let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
140 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:164: error: cannot find type 'NSLayoutManager' in scope
180 |     }
181 |
182 |     public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
    |                                                                                                                                                                    `- error: cannot find type 'NSLayoutManager' in scope
183 |         let ch = storage?.character(at: charIndex)
184 |         if ch == 13 /* \r */ {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:48: error: cannot find type 'NSLayoutManager' in scope
180 |     }
181 |
182 |     public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
    |                                                `- error: cannot find type 'NSLayoutManager' in scope
183 |         let ch = storage?.character(at: charIndex)
184 |         if ch == 13 /* \r */ {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:83: error: cannot find type 'NSLayoutManager' in scope
180 |     }
181 |
182 |     public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
    |                                                                                   `- error: cannot find type 'NSLayoutManager' in scope
183 |         let ch = storage?.character(at: charIndex)
184 |         if ch == 13 /* \r */ {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:10:26: error: cannot find type 'NSTextStorage' in scope
  8 | public final class NativeMarkStorage {
  9 |     public private(set) var layoutManagers = [NativeMarkLayoutManager]()
 10 |     private let storage: NSTextStorage
    |                          `- error: cannot find type 'NSTextStorage' in scope
 11 |     public var nativeMarkString: NativeMarkString {
 12 |         didSet {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
41 |     }
42 |
43 |     func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
   |                                          `- error: cannot find type 'NSTextContainer' in scope
44 |         // override point
45 |         return .zero
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
47 |
48 |     // These are used by iOS. They exist for macOS, but aren't called.
49 |     override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
   |                                                                                                                           `- error: cannot find type 'NativeImage' in scope
50 |         NativeImage.make(size: imageBounds.size) {
51 |             let bounds = CGRect(origin: .zero, size: imageBounds.size)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
47 |
48 |     // These are used by iOS. They exist for macOS, but aren't called.
49 |     override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
   |                                                                       `- error: cannot find type 'NSTextContainer' in scope
50 |         NativeImage.make(size: imageBounds.size) {
51 |             let bounds = CGRect(origin: .zero, size: imageBounds.size)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
54 |     }
55 |
56 |     override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
   |                                                       `- error: cannot find type 'NSTextContainer' in scope
57 |         self.characterIndex = charIndex
58 |         return lineFragment(for: textContainer, proposedLineFragment: lineFrag)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
268 |     }
269 |
270 |     func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
    |                                                 `- error: cannot find type 'NSTextAttachment' in scope
271 |         let startLocation = result.length
272 |         result.append(NSAttributedString(attachment: textAttachment))
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
281 |     }
282 |
283 |     func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
    |                                                                                       `- error: cannot find type 'NativeFont' in scope
284 |         let limitedCharacterIndex = max(min(characterIndex, result.length - 1), 0)
285 |         return result.attribute(.font, at: limitedCharacterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
14 |     }
15 |
16 |     override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
   |                                                   `- error: cannot find type 'NSTextContainer' in scope
17 |         CGRect(x: 0, y: 0, width: lengthInPoints, height: 1)
18 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
12 | }
13 |
14 | final class TextContainer: NSTextContainer {
   |                            `- error: cannot find type 'NSTextContainer' in scope
15 |     weak var delegate: TextContainerDelegate?
16 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
15 |     weak var delegate: TextContainerDelegate?
16 |
17 |     override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
   |                                                                                                                                         `- error: cannot find type 'NSWritingDirection' in scope
18 |         var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
19 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
29 |     }
30 |
31 |     override var isSimpleRectangularTextContainer: Bool { false }
   |                  `- error: property does not override any property from its superclass
32 | }
33 |
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
15 |     private let color: NativeColor
16 |
17 |     init(thickness: CGFloat, color: NativeColor) {
   |                                     `- error: cannot find type 'NativeColor' in scope
18 |         self.thickness = thickness
19 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
13 | final class ThematicBreakAttachment: NativeTextAttachment {
14 |     let thickness: CGFloat
15 |     private let color: NativeColor
   |                        `- error: cannot find type 'NativeColor' in scope
16 |
17 |     init(thickness: CGFloat, color: NativeColor) {
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
26 |     }
27 |
28 |     override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
   |                                                   `- error: cannot find type 'NSTextContainer' in scope
29 |         let maxWidth = textContainer?.size.width ?? lineFrag.width
30 |         return CGRect(x: 0, y: 0, width: min(maxWidth, lineFrag.width), height: thickness)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
11 |     public init() {}
12 |
13 |     public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
   |                                                        `- error: cannot find type 'NativeImage' in scope
14 |         let aspectRatio = image.size.height / image.size.width
15 |         let height = min(lineFragment.height, image.size.height)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:11:49: error: cannot find type 'NativeImage' in scope
 9 |
10 | public protocol ImageSizer {
11 |     func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
   |                                                 `- error: cannot find type 'NativeImage' in scope
12 | }
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
11 |     public init() {}
12 |
13 |     public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
   |                                                        `- error: cannot find type 'NativeImage' in scope
14 |         let aspectRatio = image.size.width / image.size.height
15 |         let width = min(lineFragment.width, image.size.width)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
  9 |
 10 | public enum BlockStyle {
 11 |     case alignment(NSTextAlignment)
    |                    `- error: cannot find type 'NSTextAlignment' in scope
 12 |     case firstLineHeadIndent(Length)
 13 |     case headIndent(Length)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
 17 |     case paragraphSpacingAfter(Length)
 18 |     case paragraphSpacingBefore(Length)
 19 |     case lineBreak(NSLineBreakMode)
    |                    `- error: cannot find type 'NSLineBreakMode' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:51: error: cannot find type 'NativeColor' in scope
 20 |     case orderedListMarker(OrderedListMarkerFormat, prefix: String = "", suffix: String = ".")
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
    |                                                   `- error: cannot find type 'NativeColor' in scope
 23 |     case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
 24 |     case inlineStyle(InlineStyle)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:37: error: cannot find type 'NativeColor' in scope
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
 23 |     case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
    |                                     `- error: cannot find type 'NativeColor' in scope
 24 |     case inlineStyle(InlineStyle)
 25 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
 21 |     case unorderedListMarker(UnorderedListMarkerFormat)
 22 |     case thematicBreak(thickness: CGFloat, color: NativeColor = .adaptableSeparatorColor)
 23 |     case blockBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.em, bottomMargin: Length = 1.em, leftMargin: Length = 1.em, rightMargin: Length = 1.em)
    |                                                                                               `- error: cannot find type 'NativeColor' in scope
 24 |     case inlineStyle(InlineStyle)
 25 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:11:20: error: cannot find type 'NativeColor' in scope
 9 |
10 | public enum InlineStyle {
11 |     case textColor(NativeColor)
   |                    `- error: cannot find type 'NativeColor' in scope
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:13:26: error: cannot find type 'NativeColor' in scope
11 |     case textColor(NativeColor)
12 |     case textStyle(TextStyle)
13 |     case backgroundColor(NativeColor?)
   |                          `- error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:24: error: cannot find type 'NSUnderlineStyle' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:15:49: error: cannot find type 'NativeColor' in scope
13 |     case backgroundColor(NativeColor?)
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
   |                                                 `- error: cannot find type 'NativeColor' in scope
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
17 |     case fontSize(CGFloat)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:20: error: cannot find type 'NSUnderlineStyle' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                    `- error: cannot find type 'NSUnderlineStyle' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:16:45: error: cannot find type 'NativeColor' in scope
14 |     case kerning(Length)
15 |     case strikethrough(NSUnderlineStyle, color: NativeColor? = nil)
16 |     case underline(NSUnderlineStyle, color: NativeColor? = nil)
   |                                             `- error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:19:54: error: cannot find type 'NativeColor' in scope
17 |     case fontSize(CGFloat)
18 |     case fontTraits(FontTraits)
19 |     case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
   |                                                      `- error: cannot find type 'NativeColor' in scope
20 |     case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
21 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
18 |     case fontTraits(FontTraits)
19 |     case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
20 |     case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
   |                                      `- error: cannot find type 'NativeColor' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
18 |     case fontTraits(FontTraits)
19 |     case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
20 |     case inlineBackground(fillColor: NativeColor = .adaptableCodeBackgroundColor, strokeColor: NativeColor = .adaptableCodeBorderColor, strokeWidth: CGFloat = 1, cornerRadius: CGFloat = 3, topMargin: Length = 1.pt, bottomMargin: Length = 1.pt, leftMargin: Length = 6.pt, rightMargin: Length = 6.pt)
   |                                                                                                `- error: cannot find type 'NativeColor' in scope
21 | }
22 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
 26 |
 27 | public extension BlockStyle {
 28 |     static func textColor(_ value: NativeColor) -> BlockStyle {
    |                                    `- error: cannot find type 'NativeColor' in scope
 29 |         .inlineStyle(.textColor(value))
 30 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
 34 |     }
 35 |
 36 |     static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
    |                                          `- error: cannot find type 'NativeColor' in scope
 37 |         .inlineStyle(.backgroundColor(value))
 38 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
 42 |     }
 43 |
 44 |     static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
    |                                        `- error: cannot find type 'NSUnderlineStyle' in scope
 45 |         .inlineStyle(.strikethrough(style, color: color))
 46 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
 42 |     }
 43 |
 44 |     static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
    |                                                                 `- error: cannot find type 'NativeColor' in scope
 45 |         .inlineStyle(.strikethrough(style, color: color))
 46 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
 46 |     }
 47 |
 48 |     static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
    |                                    `- error: cannot find type 'NSUnderlineStyle' in scope
 49 |         .inlineStyle(.underline(style, color: color))
 50 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
 46 |     }
 47 |
 48 |     static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
    |                                                             `- error: cannot find type 'NativeColor' in scope
 49 |         .inlineStyle(.underline(style, color: color))
 50 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
 50 |     }
 51 |
 52 |     static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
    |                                                             `- error: cannot find type 'NativeColor' in scope
 53 |         .inlineStyle(.backgroundBorder(width: width, color: color, sides: sides))
 54 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 56 |
 57 | extension BlockStyle: ExpressibleAsParagraphStyle {
 58 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 59 |         switch self {
 60 |         case let .alignment(alignment):
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:92: error: cannot find type 'NativeFont' in scope
 56 |
 57 | extension BlockStyle: ExpressibleAsParagraphStyle {
 58 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 59 |         switch self {
 60 |         case let .alignment(alignment):
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:16:92: error: cannot find type 'NativeFont' in scope
 14 |
 15 | protocol ExpressibleAsParagraphStyle {
 16 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont)
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 17 | }
 18 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift:4:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 2 |
 3 | public final class DefaultImageLoader: ImageLoader {
 4 |     private let session = URLSession.shared
   |                                      `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 5 |
 6 |     public init() {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift:10:71: error: cannot find type 'NativeImage' in scope
 8 |     }
 9 |
10 |     public func loadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void) {
   |                                                                       `- error: cannot find type 'NativeImage' in scope
11 |         guard let url = URL(string: urlString) else {
12 |             completion(nil)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageLoader.swift:4:64: error: cannot find type 'NativeImage' in scope
2 |
3 | public protocol ImageLoader {
4 |     func loadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void)
  |                                                                `- error: cannot find type 'NativeImage' in scope
5 | }
6 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift:13:56: error: cannot find type 'NativeImage' in scope
11 |     public init() {}
12 |
13 |     public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
   |                                                        `- error: cannot find type 'NativeImage' in scope
14 |         image.size
15 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:24:49: error: cannot find type 'NSMutableParagraphStyle' in scope
22 |
23 | extension InlineStyle: ExpressibleAsParagraphStyle {
24 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
   |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
25 |         // nop
26 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:24:92: error: cannot find type 'NativeFont' in scope
22 |
23 | extension InlineStyle: ExpressibleAsParagraphStyle {
24 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
   |                                                                                            `- error: cannot find type 'NativeFont' in scope
25 |         // nop
26 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:8:18: error: cannot find type 'NativeColor' in scope
  6 | #endif
  7 |
  8 | public extension NativeColor {
    |                  `- error: cannot find type 'NativeColor' in scope
  9 |     #if canImport(UIKit)
 10 |     static var adaptableTextColor: NativeColor {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/NativeColor+Adaptable.swift:82:19: error: cannot find type 'NativeColor' in scope
 80 | }
 81 |
 82 | private extension NativeColor {
    |                   `- error: cannot find type 'NativeColor' in scope
 83 |     static let blockQuoteText = NativeColor(red: 0.25, green: 0.25, blue: 0.25, alpha: 1.0)
 84 |     static let blockQuoteTextDark = NativeColor(red: 0.85, green: 0.85, blue: 0.85, alpha: 1.0)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:10:18: error: cannot find type 'NSUnderlineStyle' in scope
 8 | #endif
 9 |
10 | public extension NSUnderlineStyle {
   |                  `- error: cannot find type 'NSUnderlineStyle' in scope
11 |     static let none = NSUnderlineStyle([])
12 | }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:15:23: error: cannot find type 'NSUnderlineStyle' in scope
13 |
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:16:23: error: cannot find type 'NativeColor' in scope
14 | public struct Strikethrough {
15 |     public let style: NSUnderlineStyle
16 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:24: error: cannot find type 'NSUnderlineStyle' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Strikethrough.swift:18:49: error: cannot find type 'NativeColor' in scope
16 |     public let color: NativeColor?
17 |
18 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
19 |         self.style = style
20 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:152:65: error: cannot find type 'NativeImage' in scope
150 |
151 | extension StyleSheet: ImageTextAttachmentDelegate {
152 |     func imageTextAttachmentResize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
    |                                                                 `- error: cannot find type 'NativeImage' in scope
153 |         imageSizer.imageSize(urlString, image: image, lineFragment: lineFragment)
154 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleSheet.swift:156:83: error: cannot find type 'NativeImage' in scope
154 |     }
155 |
156 |     func imageTextAttachmentLoadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void) {
    |                                                                                   `- error: cannot find type 'NativeImage' in scope
157 |         imageLoader.loadImage(urlString, completion: completion)
158 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:66:72: error: cannot find type 'NativeFont' in scope
 64 |
 65 | private extension StyleStack {
 66 |     func defaultFont(for attributes: [NSAttributedString.Key: Any]) -> NativeFont {
    |                                                                        `- error: cannot find type 'NativeFont' in scope
 67 |         (attributes[.font] as? NativeFont) ?? TextStyle.body.makeFont()
 68 |     }
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:80:92: error: cannot find type 'NativeFont' in scope
 78 |
 79 | extension StyleStack.Scope: ExpressibleAsParagraphStyle {
 80 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 81 |         blockStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
 82 |         inlineStyles.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:49: error: cannot find type 'NSMutableParagraphStyle' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                 `- error: cannot find type 'NSMutableParagraphStyle' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/StyleStack.swift:95:92: error: cannot find type 'NativeFont' in scope
 93 |
 94 | extension Sequence where Element: ExpressibleAsParagraphStyle {
 95 |     func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
    |                                                                                            `- error: cannot find type 'NativeFont' in scope
 96 |         for style in self {
 97 |             style.updateParagraphStyle(paragraphStyle, with: defaultFont)
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:11:23: error: cannot find type 'NSUnderlineStyle' in scope
 9 |
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
   |                       `- error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:12:23: error: cannot find type 'NativeColor' in scope
10 | public struct Underline {
11 |     public let style: NSUnderlineStyle
12 |     public let color: NativeColor?
   |                       `- error: cannot find type 'NativeColor' in scope
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:24: error: cannot find type 'NSUnderlineStyle' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                        `- error: cannot find type 'NSUnderlineStyle' in scope
15 |         self.style = style
16 |         self.color = color
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Underline.swift:14:49: error: cannot find type 'NativeColor' in scope
12 |     public let color: NativeColor?
13 |
14 |     public init(style: NSUnderlineStyle, color: NativeColor?) {
   |                                                 `- error: cannot find type 'NativeColor' in scope
15 |         self.style = style
16 |         self.color = color
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/NativeMarkKit/NSAttributedString+NativeMark.swift /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/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/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/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/LinkDefinition.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/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/BackgroundBorderValue.swift /host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift /host/spi-builder-workspace/Sources/NativeMarkKit/render/CGRect+Render.swift /host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.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/NSAttributedStringKey+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/NativeMarkLayoutManager.swift /host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift /host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkString.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/NativeMarkTextContainer.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/Renderer.swift /host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift /host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.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/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/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/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/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/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 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name NativeMarkKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/Objects-normal/x86_64/NativeMarkKit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/Objects-normal/x86_64/Modules/NativeMarkKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/Objects-normal/x86_64/Modules/NativeMarkKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/Objects-normal/x86_64/NativeMarkKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/Objects-normal/x86_64/NativeMarkKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/Objects-normal/x86_64/NativeMarkKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/NativeMarkKit.build/Debug-linux-x86_64/NativeMarkKit-t.build/Objects-normal/x86_64/Modules/NativeMarkKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux