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
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:10:65: error: cannot find type 'NativeImage' in scope
func imageTextAttachmentResize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:21:21: error: cannot find type 'NativeImage' in scope
case loaded(NativeImage)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:47:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:47:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:61:25: error: cannot find type 'NativeImage' in scope
func loadImage() -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:42:13: error: cannot find 'NativeColor' in scope
NativeColor.adaptableImagePlaceholderColor.set()
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:43:18: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:79:73: error: cannot infer type of closure parameter 'image' without a type annotation
delegate?.imageTextAttachmentLoadImage(urlString) { [weak self] image in
^
/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:11: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:10:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:98: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:124: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:124: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:12: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:22:29: error: cannot find 'textStorage' in scope
guard let storage = textStorage else {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:26: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:26:97: error: 'nil' requires a contextual type
let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:27:37: error: cannot infer contextual base in reference to member 'blockBackground'
storage.enumerateAttribute(.blockBackground, in: characterRange, options: []) { value, range, stop in
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:34: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:34:99: error: 'nil' requires a contextual type
let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:35:31: error: cannot find 'textContainer' in scope
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:35:94: error: 'nil' requires a contextual type
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:38:21: error: cannot find 'boundingRect' in scope
let frame = boundingRect(forGlyphRange: glyphRange, in: container)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:27: error: cannot find 'textStorage' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:111: error: cannot find type 'NativeFont' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:140: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:51: error: cannot infer contextual base in reference to member 'font'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:102: error: 'nil' requires a contextual type
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:44:29: error: cannot find 'textStorage' in scope
guard let storage = textStorage else {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:48: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:48:97: error: 'nil' requires a contextual type
let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:37: error: cannot infer contextual base in reference to member 'backgroundBorder'
storage.enumerateAttribute(.backgroundBorder, in: characterRange, options: []) { value, range, stop in
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:56: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:56:99: error: 'nil' requires a contextual type
let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:57:31: error: cannot find 'textContainer' in scope
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:57:94: error: 'nil' requires a contextual type
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:60:21: error: cannot find 'boundingRect' in scope
let frame = boundingRect(forGlyphRange: glyphRange, in: container)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:65:29: error: cannot find 'textStorage' in scope
guard let storage = textStorage else {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:69: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:69:97: error: 'nil' requires a contextual type
let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70: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:77:27: error: cannot find 'textStorage' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:111: error: cannot find type 'NativeFont' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:140: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:51: error: cannot infer contextual base in reference to member 'font'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:102: error: 'nil' requires a contextual type
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:85: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:85:99: error: 'nil' requires a contextual type
let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:87:9: error: cannot find 'enumerateLineFragments' in scope
enumerateLineFragments(forGlyphRange: glyphRange) { lineFrame, usedRect, container, lineRange, _ in
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:99: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:101: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:101: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:101: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:125: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:126:107: error: cannot find type 'NativeFont' in scope
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:32: error: value of type 'LayoutManager' has no member 'textStorage'
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:136: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:56: error: cannot infer contextual base in reference to member 'font'
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:98: error: 'nil' requires a contextual type
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:130: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:134: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 'LineColumnCount')
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 'LineColumnCount')
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 'LineColumnCount')
public init(x: Int, y: Int, width: Int, height: Int)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:137:36: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension NativeMarkLayoutManager: NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:138:48: error: cannot find type 'NSLayoutManager' in scope
public 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/NativeMarkLayoutManager.swift:138:256: error: cannot find type 'NSTextContainer' in scope
public 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/NativeMarkLayoutManager.swift:182:164: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:48: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:83: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:21:23: error: value of type 'LayoutManager' has no member 'delegate'
layoutManager.delegate = self
~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:31:23: error: value of type 'LayoutManager' has no member 'addTextContainer'
layoutManager.addTextContainer(container.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:41:23: error: value of type 'LayoutManager' has no member 'insertTextContainer'
layoutManager.insertTextContainer(container.container, at: index)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:51:23: error: value of type 'LayoutManager' has no member 'removeTextContainer'
layoutManager.removeTextContainer(at: index)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:57:67: error: cannot find type 'NativeColor' in scope
if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:57: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/NativeMarkLayoutManager.swift:59:20: error: value of type 'CGRect' has no member 'fill'
bounds.fill()
~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:61:20: error: value of type 'CGRect' has no member 'clear'
bounds.clear()
~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:70:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: location)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:74:23: error: value of type 'LayoutManager' has no member 'glyphRange'
layoutManager.glyphRange(for: container.container)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:78:23: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
layoutManager.textContainerChangedGeometry(textContainer.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:82:23: error: value of type 'LayoutManager' has no member 'usedRect'
layoutManager.usedRect(for: container.container)
~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:86:40: error: value of type 'LayoutManager' has no member 'glyphRange'
let glyphRange = layoutManager.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:86:108: error: 'nil' requires a contextual type
let glyphRange = layoutManager.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:87:41: error: value of type 'LayoutManager' has no member 'boundingRect'
var rangeBounds = layoutManager.boundingRect(forGlyphRange: glyphRange, in: container.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:88:23: error: value of type 'LayoutManager' has no member 'enumerateEnclosingRects'
layoutManager.enumerateEnclosingRects(forGlyphRange: glyphRange,
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:98:23: error: value of type 'LayoutManager' has no member 'characterIndex'
layoutManager.characterIndex(for: location, in: container.container, fractionOfDistanceBetweenInsertionPoints: partialFraction)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:102:23: error: value of type 'LayoutManager' has no member 'glyphIndexForCharacter'
layoutManager.glyphIndexForCharacter(at: characterIndex)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:109:23: error: value of type 'LayoutManager' has no member 'invalidateLayout'
layoutManager.invalidateLayout(forCharacterRange: characterRange, actualCharacterRange: &actualRange)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:110:23: error: value of type 'LayoutManager' has no member 'invalidateDisplay'
layoutManager.invalidateDisplay(forCharacterRange: actualRange)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:112:40: error: value of type 'LayoutManager' has no member 'glyphRange'
let glyphRange = layoutManager.glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:112:105: error: 'nil' requires a contextual type
let glyphRange = layoutManager.glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:114:42: error: value of type 'LayoutManager' has no member 'textContainer'
if let container = layoutManager.textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil),
~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:114:105: error: 'nil' requires a contextual type
if let container = layoutManager.textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:116:40: error: value of type 'LayoutManager' has no member 'boundingRect'
let bounds = layoutManager.boundingRect(forGlyphRange: glyphRange, in: container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:122:48: error: value of type 'LayoutManager' has no member 'glyphRange'
let glyphRange = layoutManager.glyphRange(for: wrappedContainer.container)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:123:44: error: value of type 'LayoutManager' has no member 'boundingRect'
let bounds = layoutManager.boundingRect(forGlyphRange: glyphRange, in: wrappedContainer.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:130:40: error: value of type 'LayoutManager' has no member 'glyphIndexForCharacter'
let glyphIndex = layoutManager.glyphIndexForCharacter(at: characterIndex)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:131:46: error: value of type 'LayoutManager' has no member 'lineFragmentRect'
let lineFragmentRect = layoutManager.lineFragmentRect(forGlyphAt: glyphIndex, effectiveRange: nil)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:131:103: error: 'nil' requires a contextual type
let lineFragmentRect = layoutManager.lineFragmentRect(forGlyphAt: glyphIndex, effectiveRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:132:60: error: value of type 'LayoutManager' has no member 'location'
let locationInsideLineFragmentRect = layoutManager.location(forGlyphAt: glyphIndex)
~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:139:104: error: 'nil' requires a contextual type
let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:145:111: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:145:51: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:145:140: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:10:26: error: cannot find type 'NSTextStorage' in scope
private let storage: NSTextStorage
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:19:24: error: cannot find 'NSTextStorage' in scope
self.storage = NSTextStorage(attributedString: nativeMarkString.attributedString)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:55:37: error: cannot infer contextual base in reference to member 'nativeMarkLink'
storage.enumerateAttribute(.nativeMarkLink, in: NSRange(location: 0, length: storage.length), options: []) { attributeValue, attributeRange, _ in
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:66:28: error: cannot infer contextual base in reference to member 'nativeMarkLink'
storage.attribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? URL
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:66:80: error: 'nil' requires a contextual type
storage.attribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? URL
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:87:37: error: cannot infer contextual base in reference to member 'attachment'
storage.enumerateAttribute(.attachment, in: NSRange(location: 0, length: storage.length), options: []) { value, _, _ in
~^~~~~~~~~~
[18/127] Compiling NativeMarkKit NativeMarkStorage.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:13:33: error: cannot find type 'NativeColor' in scope
init(width: CGFloat, color: NativeColor, sides: BorderSides) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:10:16: error: cannot find type 'NativeColor' in scope
let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:23:45: error: value of type 'CGRect' has no member 'fill'
leftFrame(for: backgroundFrame).fill()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:26:44: error: value of type 'CGRect' has no member 'fill'
topFrame(for: backgroundFrame).fill()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:29:46: error: value of type 'CGRect' has no member 'fill'
rightFrame(for: backgroundFrame).fill()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:32:47: error: value of type 'CGRect' has no member 'fill'
bottomFrame(for: backgroundFrame).fill()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:9:20: error: cannot find type 'NativeColor' in scope
let fillColor: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:10:22: error: cannot find type 'NativeColor' in scope
let strokeColor: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:32:47: error: cannot find type 'NativeFont' in scope
func render(in rect: CGRect, defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:43:20: error: cannot find 'NativeBezierPath' in scope
let path = NativeBezierPath(roundedRect: frame, cornerRadius: cornerRadius)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/CGRect+Render.swift:28:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:9:83: error: cannot find type 'NativeImage' in scope
func imageTextAttachmentLoadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:10:65: error: cannot find type 'NativeImage' in scope
func imageTextAttachmentResize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:21:21: error: cannot find type 'NativeImage' in scope
case loaded(NativeImage)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:47:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:47:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:61:25: error: cannot find type 'NativeImage' in scope
func loadImage() -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:42:13: error: cannot find 'NativeColor' in scope
NativeColor.adaptableImagePlaceholderColor.set()
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:43:18: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ImageTextAttachment.swift:79:73: error: cannot infer type of closure parameter 'image' without a type annotation
delegate?.imageTextAttachmentLoadImage(urlString) { [weak self] image in
^
/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:11: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:10:28: error: cannot find type 'NSLayoutManager' in scope
final class LayoutManager: NSLayoutManager {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:98: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:124: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:124: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:12: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:22:29: error: cannot find 'textStorage' in scope
guard let storage = textStorage else {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:26: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:26:97: error: 'nil' requires a contextual type
let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:27:37: error: cannot infer contextual base in reference to member 'blockBackground'
storage.enumerateAttribute(.blockBackground, in: characterRange, options: []) { value, range, stop in
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:34: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:34:99: error: 'nil' requires a contextual type
let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:35:31: error: cannot find 'textContainer' in scope
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:35:94: error: 'nil' requires a contextual type
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:38:21: error: cannot find 'boundingRect' in scope
let frame = boundingRect(forGlyphRange: glyphRange, in: container)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:27: error: cannot find 'textStorage' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:111: error: cannot find type 'NativeFont' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:140: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:51: error: cannot infer contextual base in reference to member 'font'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:39:102: error: 'nil' requires a contextual type
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:44:29: error: cannot find 'textStorage' in scope
guard let storage = textStorage else {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:48: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:48:97: error: 'nil' requires a contextual type
let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:49:37: error: cannot infer contextual base in reference to member 'backgroundBorder'
storage.enumerateAttribute(.backgroundBorder, in: characterRange, options: []) { value, range, stop in
~^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:56: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:56:99: error: 'nil' requires a contextual type
let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:57:31: error: cannot find 'textContainer' in scope
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:57:94: error: 'nil' requires a contextual type
guard let container = textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil) else {
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:60:21: error: cannot find 'boundingRect' in scope
let frame = boundingRect(forGlyphRange: glyphRange, in: container)
^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:65:29: error: cannot find 'textStorage' in scope
guard let storage = textStorage else {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:69: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:69:97: error: 'nil' requires a contextual type
let characterRange = self.characterRange(forGlyphRange: glyphsToShow, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:70: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:77:27: error: cannot find 'textStorage' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:111: error: cannot find type 'NativeFont' in scope
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:140: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:51: error: cannot infer contextual base in reference to member 'font'
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:77:102: error: 'nil' requires a contextual type
let defaultFont = textStorage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:85: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:85:99: error: 'nil' requires a contextual type
let glyphRange = self.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:87:9: error: cannot find 'enumerateLineFragments' in scope
enumerateLineFragments(forGlyphRange: glyphRange) { lineFrame, usedRect, container, lineRange, _ in
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:99: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:101: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:101: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:101: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:125: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:126:107: error: cannot find type 'NativeFont' in scope
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:32: error: value of type 'LayoutManager' has no member 'textStorage'
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~ ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:136: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:56: error: cannot infer contextual base in reference to member 'font'
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:126:98: error: 'nil' requires a contextual type
let defaultFont = self.textStorage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/LayoutManager.swift:130: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:134: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 'LineColumnCount')
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 'LineColumnCount')
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 'LineColumnCount')
public init(x: Int, y: Int, width: Int, height: Int)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeImage.swift:35:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:137:36: error: cannot find type 'NSLayoutManagerDelegate' in scope
extension NativeMarkLayoutManager: NSLayoutManagerDelegate {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:138:48: error: cannot find type 'NSLayoutManager' in scope
public 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/NativeMarkLayoutManager.swift:138:256: error: cannot find type 'NSTextContainer' in scope
public 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/NativeMarkLayoutManager.swift:182:164: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:48: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:182:83: error: cannot find type 'NSLayoutManager' in scope
public func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSLayoutManager.ControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSLayoutManager.ControlCharacterAction {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:21:23: error: value of type 'LayoutManager' has no member 'delegate'
layoutManager.delegate = self
~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:31:23: error: value of type 'LayoutManager' has no member 'addTextContainer'
layoutManager.addTextContainer(container.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:41:23: error: value of type 'LayoutManager' has no member 'insertTextContainer'
layoutManager.insertTextContainer(container.container, at: index)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:51:23: error: value of type 'LayoutManager' has no member 'removeTextContainer'
layoutManager.removeTextContainer(at: index)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:57:67: error: cannot find type 'NativeColor' in scope
if let backgroundColor = attributes[.backgroundColor] as? NativeColor {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:57: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/NativeMarkLayoutManager.swift:59:20: error: value of type 'CGRect' has no member 'fill'
bounds.fill()
~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:61:20: error: value of type 'CGRect' has no member 'clear'
bounds.clear()
~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:70:23: error: value of type 'LayoutManager' has no member 'drawGlyphs'
layoutManager.drawGlyphs(forGlyphRange: glyphRange, at: location)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:74:23: error: value of type 'LayoutManager' has no member 'glyphRange'
layoutManager.glyphRange(for: container.container)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:78:23: error: value of type 'LayoutManager' has no member 'textContainerChangedGeometry'
layoutManager.textContainerChangedGeometry(textContainer.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:82:23: error: value of type 'LayoutManager' has no member 'usedRect'
layoutManager.usedRect(for: container.container)
~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:86:40: error: value of type 'LayoutManager' has no member 'glyphRange'
let glyphRange = layoutManager.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:86:108: error: 'nil' requires a contextual type
let glyphRange = layoutManager.glyphRange(forCharacterRange: characterRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:87:41: error: value of type 'LayoutManager' has no member 'boundingRect'
var rangeBounds = layoutManager.boundingRect(forGlyphRange: glyphRange, in: container.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:88:23: error: value of type 'LayoutManager' has no member 'enumerateEnclosingRects'
layoutManager.enumerateEnclosingRects(forGlyphRange: glyphRange,
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:98:23: error: value of type 'LayoutManager' has no member 'characterIndex'
layoutManager.characterIndex(for: location, in: container.container, fractionOfDistanceBetweenInsertionPoints: partialFraction)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:102:23: error: value of type 'LayoutManager' has no member 'glyphIndexForCharacter'
layoutManager.glyphIndexForCharacter(at: characterIndex)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:109:23: error: value of type 'LayoutManager' has no member 'invalidateLayout'
layoutManager.invalidateLayout(forCharacterRange: characterRange, actualCharacterRange: &actualRange)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:110:23: error: value of type 'LayoutManager' has no member 'invalidateDisplay'
layoutManager.invalidateDisplay(forCharacterRange: actualRange)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:112:40: error: value of type 'LayoutManager' has no member 'glyphRange'
let glyphRange = layoutManager.glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:112:105: error: 'nil' requires a contextual type
let glyphRange = layoutManager.glyphRange(forCharacterRange: actualRange, actualCharacterRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:114:42: error: value of type 'LayoutManager' has no member 'textContainer'
if let container = layoutManager.textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil),
~~~~~~~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:114:105: error: 'nil' requires a contextual type
if let container = layoutManager.textContainer(forGlyphAt: glyphRange.location, effectiveRange: nil),
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:116:40: error: value of type 'LayoutManager' has no member 'boundingRect'
let bounds = layoutManager.boundingRect(forGlyphRange: glyphRange, in: container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:122:48: error: value of type 'LayoutManager' has no member 'glyphRange'
let glyphRange = layoutManager.glyphRange(for: wrappedContainer.container)
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:123:44: error: value of type 'LayoutManager' has no member 'boundingRect'
let bounds = layoutManager.boundingRect(forGlyphRange: glyphRange, in: wrappedContainer.container)
~~~~~~~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:130:40: error: value of type 'LayoutManager' has no member 'glyphIndexForCharacter'
let glyphIndex = layoutManager.glyphIndexForCharacter(at: characterIndex)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:131:46: error: value of type 'LayoutManager' has no member 'lineFragmentRect'
let lineFragmentRect = layoutManager.lineFragmentRect(forGlyphAt: glyphIndex, effectiveRange: nil)
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:131:103: error: 'nil' requires a contextual type
let lineFragmentRect = layoutManager.lineFragmentRect(forGlyphAt: glyphIndex, effectiveRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:132:60: error: value of type 'LayoutManager' has no member 'location'
let locationInsideLineFragmentRect = layoutManager.location(forGlyphAt: glyphIndex)
~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:139:104: error: 'nil' requires a contextual type
let characterRange = layoutManager.characterRange(forGlyphRange: glyphRange, actualGlyphRange: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:145:111: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:145:51: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkLayoutManager.swift:145:140: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterRange.location, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:10:26: error: cannot find type 'NSTextStorage' in scope
private let storage: NSTextStorage
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:19:24: error: cannot find 'NSTextStorage' in scope
self.storage = NSTextStorage(attributedString: nativeMarkString.attributedString)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:55:37: error: cannot infer contextual base in reference to member 'nativeMarkLink'
storage.enumerateAttribute(.nativeMarkLink, in: NSRange(location: 0, length: storage.length), options: []) { attributeValue, attributeRange, _ in
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:66:28: error: cannot infer contextual base in reference to member 'nativeMarkLink'
storage.attribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? URL
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:66:80: error: 'nil' requires a contextual type
storage.attribute(.nativeMarkLink, at: characterIndex, effectiveRange: nil) as? URL
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkStorage.swift:87:37: error: cannot infer contextual base in reference to member 'attachment'
storage.enumerateAttribute(.attachment, in: NSRange(location: 0, length: storage.length), options: []) { value, _, _ in
~^~~~~~~~~~
[19/127] Compiling NativeMarkKit NSAttributedString+NativeMark.swift
[20/127] Compiling NativeMarkKit Document.swift
[21/127] Compiling NativeMarkKit Element.swift
[22/127] Compiling NativeMarkKit InlineText.swift
[23/127] Compiling NativeMarkKit Link.swift
[24/127] Compiling NativeMarkKit ListInfo.swift
[25/127] Compiling NativeMarkKit ListInfoKind.swift
[26/127] Compiling NativeMarkKit ListItem.swift
[27/127] Compiling NativeMarkKit ATXHeadingBlockStarter.swift
[28/127] Compiling NativeMarkKit Block.swift
[29/127] Compiling NativeMarkKit BlockCloser.swift
[30/127] Compiling NativeMarkKit BlockContinuationParser.swift
[31/127] Compiling NativeMarkKit BlockKind.swift
[32/127] Compiling NativeMarkKit BlockParser.swift
[33/127] Compiling NativeMarkKit BlockQuoteBlockParser.swift
[34/127] Compiling NativeMarkKit BlockQuoteStarter.swift
[35/127] Compiling NativeMarkKit BlockStartParser.swift
[36/127] Compiling NativeMarkKit DocumentBlockParser.swift
[37/127] Compiling NativeMarkKit FencedCodeBlockParser.swift
[38/127] Compiling NativeMarkKit FencedCodeBlockStarter.swift
[39/127] Compiling NativeMarkKit HeadingBlockParser.swift
[40/127] Compiling NativeMarkKit IndentedCodeBlockParser.swift
[41/127] Compiling NativeMarkKit IndentedCodeBlockStarter.swift
[42/127] Compiling NativeMarkKit ItemBlockParser.swift
[43/127] Compiling NativeMarkKit ItemBlockStarter.swift
[44/127] Compiling NativeMarkKit LineInserter.swift
[45/127] Compiling NativeMarkKit LineParser.swift
[46/127] Compiling NativeMarkKit LineResult.swift
[47/127] Compiling NativeMarkKit LinkDefinitionsLineParser.swift
[48/127] Compiling NativeMarkKit ListBlockParser.swift
[49/127] Compiling NativeMarkKit ListKind.swift
[50/127] Compiling NativeMarkKit ListStyle.swift
[51/127] Compiling NativeMarkKit ParagraphBlockParser.swift
[52/127] Compiling NativeMarkKit SetextHeadingBlockStarter.swift
[53/127] Compiling NativeMarkKit ThematicBreakBlockParser.swift
[54/127] Compiling NativeMarkKit ThematicBreakBlockStarter.swift
[55/127] Compiling NativeMarkKit AutolinkParser.swift
[56/127] Compiling NativeMarkKit BackslashParser.swift
[57/127] Compiling NativeMarkKit BackticksParser.swift
[58/127] Compiling NativeMarkKit BangParser.swift
[59/127] Compiling NativeMarkKit CloseBracketParser.swift
[60/127] Compiling NativeMarkKit Delimiter.swift
[61/127] Compiling NativeMarkKit DelimiterOrInlineText.swift
[62/127] Compiling NativeMarkKit DelimiterParser.swift
[63/127] Compiling NativeMarkKit DelimiterStack.swift
[64/127] Compiling NativeMarkKit EntityParser.swift
[65/127] Compiling NativeMarkKit InlineBlockParser.swift
[66/127] Compiling NativeMarkKit InlineLinkParser.swift
[67/127] Compiling NativeMarkKit InlineParser.swift
[68/127] Compiling NativeMarkKit LinkDefinition.swift
[69/127] Compiling NativeMarkKit LinkDefinitionParser.swift
[70/127] Compiling NativeMarkKit LinkDestinationParser.swift
[71/127] Compiling NativeMarkKit LinkLabel.swift
[72/127] Compiling NativeMarkKit LinkLabelParser.swift
[73/127] Compiling NativeMarkKit LinkTitleParser.swift
[74/127] Compiling NativeMarkKit NewlineParser.swift
[75/127] Compiling NativeMarkKit OpenBracketParser.swift
[76/127] Compiling NativeMarkKit SpacesAndNewlineParser.swift
[77/127] Compiling NativeMarkKit StringParser.swift
[78/127] Compiling NativeMarkKit TextCursor.swift
[79/127] Compiling NativeMarkKit TextResult.swift
error: compile command failed due to signal 6 (use -v to see invocation)
[80/127] Compiling NativeMarkKit Lexer.swift
[81/127] Compiling NativeMarkKit Line.swift
[82/127] Compiling NativeMarkKit LineColumn.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/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/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/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:23:37: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/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:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58: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/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift:4:38: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
private let session = URLSession.shared
~~~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift:10:71: error: cannot find type 'NativeImage' in scope
public func loadImage(_ urlString: String, completion: @escaping (NativeImage?) -> Void) {
^~~~~~~~~~~
/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/DefaultImageLoader.swift:12:24: error: 'nil' requires a contextual type
completion(nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift:17:53: error: cannot find 'NativeImage' in scope
guard let data = maybeData, let image = NativeImage(data: data) else {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/Em.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/ImageSizer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/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:24:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:24:92: error: cannot find type 'NativeFont' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:33:25: error: type 'NSAttributedString.Key' has no member 'foregroundColor'
attributes[.foregroundColor] = color
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = style.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:35:39: error: value of type 'TextStyle' has no member 'makeFont'
attributes[.font] = style.makeFont()
~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:37:25: error: type 'NSAttributedString.Key' has no member 'backgroundColor'
attributes[.backgroundColor] = backgroundColor
~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:39: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:39: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:39: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:40: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:43:29: error: type 'NSAttributedString.Key' has no member 'strikethroughColor'
attributes[.strikethroughColor] = color
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:45:25: error: type 'NSAttributedString.Key' has no member 'strikethroughStyle'
attributes[.strikethroughStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:48:29: error: type 'NSAttributedString.Key' has no member 'underlineColor'
attributes[.underlineColor] = color
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:50:25: error: type 'NSAttributedString.Key' has no member 'underlineStyle'
attributes[.underlineStyle] = NSNumber(value: style.rawValue)
~^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:52: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:53:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withSize(fontSize)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55:53: error: cannot find type 'NativeFont' in scope
let currentFont = attributes[.font] as? NativeFont
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:55: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:56:25: error: type 'NSAttributedString.Key' has no member 'font'
attributes[.font] = currentFont.withTraits(traits)
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundBorderValue.swift:13:33: error: cannot find type 'NativeColor' in scope
init(width: CGFloat, color: NativeColor, sides: BorderSides) {
^~~~~~~~~~~
/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:82: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")
^~~~~~~~~~~~~~~~~~~~~~
Can't demangle: $s13NativeMarkKit10BlockStyleO13thematicBreak33_BB078D51CEF5B42E7B224795AAB1111FLLXeF9thicknessL_10Foundation7CGFloatVvp
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 /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 -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyleSelector.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/BorderSides.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageLoader.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/DefaultImageSizer.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/Em.swift -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/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 /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 -supplementary-output-file-map /tmp/TemporaryDirectory.IVaaHZ/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/AspectScaleDownByWidth.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/BlockStyle.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/BlockStyleSelector.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/BorderSides.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/DefaultImageLoader.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/DefaultImageSizer.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/Em.swift.o -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/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 -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. While walking into 'BlockStyle' (at /host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:10:8)
4. While evaluating request USRGenerationRequest(NativeMarkKit.(file).BlockStyle.thematicBreak(thickness:color:).thickness@/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:24)
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)[0x55a9a136fd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55a9a136dabe]
/usr/bin/swift-frontend(+0x73080ea)[0x55a9a13700ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fb8c124e520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fb8c12a29fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fb8c124e476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fb8c12347f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55a99cb5c275]
/usr/bin/swift-frontend(+0x2755c54)[0x55a99c7bdc54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55a99cb2069b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55a99c3afa0c]
/usr/bin/swift-frontend(+0x106859c)[0x55a99b0d059c]
/usr/bin/swift-frontend(+0x1068102)[0x55a99b0d0102]
/usr/bin/swift-frontend(+0x106716b)[0x55a99b0cf16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55a99cb211aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55a99b09ed5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55a99b09e2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55a99b09bc59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55a99bd1ccd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55a99c81505c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55a99c816b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55a99c8190e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55a99c81507c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55a99c819c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55a99c81886b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55a99c81507c]
/usr/bin/swift-frontend(+0x27acf73)[0x55a99c814f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55a99c9f31e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55a99bd1a6a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55a99b09ac84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55a99b09ab2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55a99b08ff82]
/usr/bin/swift-frontend(+0x1027978)[0x55a99b08f978]
/usr/bin/swift-frontend(+0xe3f242)[0x55a99aea7242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55a99aea509c]
/usr/bin/swift-frontend(+0xe382cd)[0x55a99aea02cd]
/usr/bin/swift-frontend(+0xe369db)[0x55a99ae9e9db]
/usr/bin/swift-frontend(+0xcc3315)[0x55a99ad2b315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fb8c1235d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fb8c1235e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55a99ad2a375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/55] Compiling NativeMarkKit NativeMarkText+AppKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[3/55] Compiling NativeMarkKit NativeMarkText+UIKit.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[4/55] Compiling NativeMarkKit NativeMarkTextContainer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[5/55] Compiling NativeMarkKit NativeTextAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[6/55] Compiling NativeMarkKit OrderedListMarkerFormat+Render.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[7/55] Compiling NativeMarkKit OrderedListMarkerFormatValue.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[8/55] Compiling NativeMarkKit Renderer.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
[9/55] Compiling NativeMarkKit SpacerAttachment.swift
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:20:25: error: value of type 'TextContainer' has no member 'size'
get { container.size }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:21:25: error: value of type 'TextContainer' has no member 'size'
set { container.size = newValue }
~~~~~~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:25:19: error: value of type 'TextContainer' has no member 'lineFragmentPadding'
container.lineFragmentPadding = 0
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:98: error: cannot find type 'NativeFont' in scope
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:47: error: type 'NSAttributedString.Key' has no member 'font'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeMarkTextContainer.swift:71:127: error: value of type 'TextStyle' has no member 'makeFont'
let defaultFont = storage?.attribute(.font, at: characterIndex, effectiveRange: nil) as? NativeFont ?? TextStyle.body.makeFont()
~~~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:21:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:43:42: error: cannot find type 'NSTextContainer' in scope
func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:123: error: cannot find type 'NativeImage' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:71: error: cannot find type 'NSTextContainer' in scope
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:49:19: error: method does not override any method from its superclass
override func image(forBounds imageBounds: CGRect, textContainer: NSTextContainer?, characterIndex charIndex: Int) -> NativeImage? {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:55: error: cannot find type 'NSTextContainer' in scope
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:56:19: error: method does not override any method from its superclass
override func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:24:29: error: cannot find type 'NSTextAttachment' in scope
class NativeTextAttachment: NSTextAttachment {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/NativeTextAttachment.swift:28:9: error: 'super' members cannot be referenced in a root class
super.init(data: nil, ofType: nil)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:270:49: error: cannot find type 'NSTextAttachment' in scope
func renderTextAttachment(_ textAttachment: NSTextAttachment, with styleStack: StyleStack, into result: NSMutableAttributedString) {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:283:87: error: cannot find type 'NativeFont' in scope
func defaultFont(at characterIndex: Int, in result: NSMutableAttributedString) -> NativeFont {
^~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:14:48: error: missing argument for parameter 'string' in call
let result = NSMutableAttributedString()
^
string: <#String#>
Foundation.NSMutableAttributedString:16:21: note: 'init(string:)' declared here
override public init(string: String)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:83:57: error: cannot find type 'NativeColor' in scope
let color = attributes[.thematicBreakColor] as? NativeColor ?? .adaptableSeparatorColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:272:41: error: extraneous argument label 'attachment:' in call
result.append(NSAttributedString(attachment: textAttachment))
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/Renderer.swift:280:41: error: extraneous argument label 'attachment:' in call
result.insert(NSAttributedString(attachment: attachment), at: characterIndex)
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/SpacerAttachment.swift:16:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:137: error: cannot find type 'NSWritingDirection' in scope
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:17:19: error: method does not override any method from its superclass
override func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:31:18: error: property does not override any property from its superclass
override var isSimpleRectangularTextContainer: Bool { false }
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:14:28: error: cannot find type 'NSTextContainer' in scope
final class TextContainer: NSTextContainer {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift:18:27: error: 'super' members cannot be referenced in a root class
var returnValue = super.lineFragmentRect(forProposedRect: proposedRect, at: characterIndex, writingDirection: baseWritingDirection, remaining: remainingRect)
^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:17:37: error: cannot find type 'NativeColor' in scope
init(thickness: CGFloat, color: NativeColor) {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:15:24: error: cannot find type 'NativeColor' in scope
private let color: NativeColor
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:51: error: cannot find type 'NSTextContainer' in scope
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:28:19: error: method does not override any method from its superclass
override func lineFragment(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect) -> CGRect {
~~~~~~~~ ^
/host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift:25:14: error: value of type 'CGRect' has no member 'fill'
rect.fill()
~~~~ ^~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift:15:16: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/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/AspectScaleDownByWidth.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift:13:56: error: cannot find type 'NativeImage' in scope
public func imageSize(_ urlString: String?, image: NativeImage, lineFragment: CGRect) -> CGSize {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:7:8: error: Unsupported platform
#error("Unsupported platform")
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:11:20: error: cannot find type 'NSTextAlignment' in scope
case alignment(NSTextAlignment)
^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:19:20: error: cannot find type 'NSLineBreakMode' in scope
case lineBreak(NSLineBreakMode)
^~~~~~~~~~~~~~~
/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:23:37: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:23:95: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/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:19:54: error: cannot find type 'NativeColor' in scope
case backgroundBorder(width: CGFloat = 1, color: NativeColor = .adaptableBlockQuoteMarginColor, sides: BorderSides = .all)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:38: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/InlineStyle.swift:20:96: error: cannot find type 'NativeColor' in scope
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)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:28:36: error: cannot find type 'NativeColor' in scope
static func textColor(_ value: NativeColor) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:36:42: error: cannot find type 'NativeColor' in scope
static func backgroundColor(_ value: NativeColor?) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:40: error: cannot find type 'NSUnderlineStyle' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:44:65: error: cannot find type 'NativeColor' in scope
static func strikethrough(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:36: error: cannot find type 'NSUnderlineStyle' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:48:61: error: cannot find type 'NativeColor' in scope
static func underline(_ style: NSUnderlineStyle, color: NativeColor? = nil) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:52:61: error: cannot find type 'NativeColor' in scope
static func backgroundBorder(width: CGFloat = 1, color: NativeColor = .lightGray, sides: BorderSides = .all) -> BlockStyle {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58:49: error: cannot find type 'NSMutableParagraphStyle' in scope
func updateParagraphStyle(_ paragraphStyle: NSMutableParagraphStyle, with defaultFont: NativeFont) {
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:58: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/render/BackgroundValue.swift:18:21: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/NativeMarkKit/render/BackgroundValue.swift:18:47: error: cannot find type 'NativeColor' in scope
init(fillColor: NativeColor, strokeColor: NativeColor, strokeWidth: CGFloat,
^~~~~~~~~~~
Can't demangle: $s13NativeMarkKit10BlockStyleO13thematicBreak33_BB078D51CEF5B42E7B224795AAB1111FLLXeF9thicknessL_10Foundation7CGFloatVvp
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 /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 -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/render/TextContainer.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/render/ThematicBreakAttachment.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/render/URLOpener.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/render/UnorderedListMarkerFormat+Render.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/render/UnorderedListMarkerFormatValue.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByHeight.swift -primary-file /host/spi-builder-workspace/Sources/NativeMarkKit/style/AspectScaleDownByWidth.swift -primary-file /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 -supplementary-output-file-map /tmp/TemporaryDirectory.Sdp1JB/supplementaryOutputs-4 -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/TextContainer.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/ThematicBreakAttachment.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/URLOpener.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/UnorderedListMarkerFormat+Render.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/UnorderedListMarkerFormatValue.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/AspectScaleDownByHeight.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/AspectScaleDownByWidth.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/NativeMarkKit.build/BlockStyle.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. While walking into 'BlockStyle' (at /host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:10:8)
4. While evaluating request USRGenerationRequest(NativeMarkKit.(file).BlockStyle.thematicBreak(thickness:color:).thickness@/host/spi-builder-workspace/Sources/NativeMarkKit/style/BlockStyle.swift:22:24)
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)[0x55dfda6f1d73]
/usr/bin/swift-frontend(+0x7305abe)[0x55dfda6efabe]
/usr/bin/swift-frontend(+0x73080ea)[0x55dfda6f20ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f8db2fc0520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f8db30149fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f8db2fc0476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f8db2fa67f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55dfd5ede275]
/usr/bin/swift-frontend(+0x2755c54)[0x55dfd5b3fc54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55dfd5ea269b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55dfd5731a0c]
/usr/bin/swift-frontend(+0x106859c)[0x55dfd445259c]
/usr/bin/swift-frontend(+0x1068102)[0x55dfd4452102]
/usr/bin/swift-frontend(+0x106716b)[0x55dfd445116b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55dfd5ea31aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55dfd4420d5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55dfd44202a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55dfd441dc59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55dfd509ecd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55dfd5b9705c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55dfd5b98b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55dfd5b9b0e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55dfd5b9707c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55dfd5b9bc1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55dfd5b9a86b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55dfd5b9707c]
/usr/bin/swift-frontend(+0x27acf73)[0x55dfd5b96f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55dfd5d751e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55dfd509c6a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55dfd441cc84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55dfd441cb2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55dfd4411f82]
/usr/bin/swift-frontend(+0x1027978)[0x55dfd4411978]
/usr/bin/swift-frontend(+0xe3f242)[0x55dfd4229242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55dfd422709c]
/usr/bin/swift-frontend(+0xe382cd)[0x55dfd42222cd]
/usr/bin/swift-frontend(+0xe369db)[0x55dfd42209db]
/usr/bin/swift-frontend(+0xcc3315)[0x55dfd40ad315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f8db2fa7d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f8db2fa7e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55dfd40ac375]
BUILD FAILURE 5.10 linux
Build Machine: Linux 2