Build Information
Failed to build Neon with Swift 5.8 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.28.7
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/Neon.git
Reference: 0.6.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/ChimeHQ/Neon
* tag 0.6.0 -> FETCH_HEAD
HEAD is now at 7df7d08 Removing these - will come back in another form
Submodule path 'tree-sitter-swift': checked out '50b8c5e61c29fa30e760c7a1cbf24b59970e6233'
Submodule 'tree-sitter-swift' (https://github.com/alex-pinkus/tree-sitter-swift) registered for path 'tree-sitter-swift'
Cloning into '/host/spi-builder-workspace/tree-sitter-swift'...
Cloned https://github.com/ChimeHQ/Neon.git
Revision (git rev-parse @):
7df7d080a271cfa4dc87f94cccc024665a75047e
SPI manifest file found: $PWD/checkout/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Neon.git at 0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.8
Building package at path: $PWD/checkout
https://github.com/ChimeHQ/Neon.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/Rearrange
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/441] Fetching rearrange
[442/1776] Fetching rearrange, swifttreesitter
Fetched https://github.com/ChimeHQ/SwiftTreeSitter (0.27s)
Fetched https://github.com/ChimeHQ/Rearrange (0.27s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.6.0 (0.88s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.8.0 (0.27s)
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.8.0
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.6.0
Building for debugging...
[0/3] Compiling scanner.c
[1/11] Compiling lib.c
[3/29] Emitting module SwiftTreeSitter
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/Predicate.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[4/31] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[5/31] Compiling SwiftTreeSitter String+Data.swift
[6/31] Compiling Rearrange NSRange+Convenience.swift
[7/31] Compiling Rearrange NSRange+Shift.swift
[8/32] Compiling SwiftTreeSitter Tree.swift
[9/32] Compiling SwiftTreeSitter TreeCursor.swift
[10/32] Compiling Rearrange UITextRange+Convenience.swift
[11/32] Compiling SwiftTreeSitter String+TextProvider.swift
[12/32] Compiling SwiftTreeSitter TSRange.swift
[13/32] Compiling SwiftTreeSitter QueryDefinitions.swift
[14/32] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[15/32] Compiling SwiftTreeSitter Predicate.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/Predicate.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[16/32] Compiling SwiftTreeSitter Query.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/Predicate.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[17/32] Compiling SwiftTreeSitter InputEdit.swift
[18/32] Compiling SwiftTreeSitter Language.swift
[19/32] Compiling SwiftTreeSitter LanguageConfiguration.swift
[20/32] Compiling SwiftTreeSitter Node.swift
[21/32] Compiling SwiftTreeSitter Parser.swift
[22/32] Compiling SwiftTreeSitter Point.swift
[23/32] Compiling Rearrange NSRange+ApplyMutation.swift
[24/32] Emitting module Rearrange
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/RangeMutation.swift:9:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[25/32] Compiling Rearrange IndexSet+NSRange.swift
[26/32] Compiling SwiftTreeSitter Bundle+Extensions.swift
[27/32] Compiling SwiftTreeSitter Encoding+Helpers.swift
[28/32] Compiling SwiftTreeSitter Input.swift
[31/34] Compiling Rearrange NSTextRange+NSRange.swift
[32/34] Compiling Rearrange RangeMutation.swift
/host/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/RangeMutation.swift:9:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[33/34] Compiling Rearrange String+NSRange.swift
[35/41] Compiling parser.c
[37/41] Compiling TreeSitterClient TreeSitterParseState.swift
[38/41] Compiling TreeSitterClient TreeSitter+Extensions.swift
[39/41] Emitting module TreeSitterClient
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
^
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:374:62: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
^
[40/41] Compiling TreeSitterClient Compatibility.swift
[41/41] Compiling TreeSitterClient TreeSitterClient.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
^
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:374:62: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
^
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:451:20: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
.map({ ResolvingQueryCursor(cursor: $0) })
^
[44/55] Compiling Neon TokenApplication.swift
[45/55] Compiling Neon Token.swift
[46/55] Compiling Neon TreeSitterClient+Highlight.swift
[47/56] Compiling Neon TextSystemInterface.swift
[48/56] Compiling Neon TextTarget.swift
[49/56] Compiling Neon TextViewHighlighter.swift
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:13:55: error: cannot find type 'NSAttributedString' in scope
public typealias TokenAttributeProvider = (Token) -> [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:164:32: error: cannot find type 'NSTextLayoutManager' in scope
public let textLayoutManager: NSTextLayoutManager
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:166:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:33: error: cannot find type 'NSTextLayoutManager' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:145: error: cannot find type 'NSRange' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:174:25: error: cannot find type 'TextView' in scope
public init?(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:184:35: error: cannot find type 'NSTextElementProvider' in scope
private var textElementProvider: NSTextElementProvider? {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:201:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:217:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:225:27: error: cannot find type 'NSTextStorage' in scope
private let textStorage: NSTextStorage?
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:227:47: error: cannot find type 'NSAttributedString' in scope
public let defaultAttributesProvider: () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:228:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:231:16: error: cannot find type 'NSTextStorage' in scope
textStorage: NSTextStorage,
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:233:41: error: cannot find type 'NSRange' in scope
visibleRangeProvider: @escaping () -> NSRange,
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:234:47: error: cannot find type 'NSAttributedString' in scope
defaultAttributesProvider: @escaping () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:242:24: error: cannot find type 'TextView' in scope
public init(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:257:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:271:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:193:20: error: cannot find 'NSTextRange' in scope
let textRange = NSTextRange(clampedRange, provider: contentManager)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:214:10: error: cannot find 'NSRange' in scope
return NSRange(textLayoutManager.documentRange, provider: textElementProvider).length
^~~~~~~
[50/56] Compiling Neon TextViewSystemInterface.swift
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:13:55: error: cannot find type 'NSAttributedString' in scope
public typealias TokenAttributeProvider = (Token) -> [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:164:32: error: cannot find type 'NSTextLayoutManager' in scope
public let textLayoutManager: NSTextLayoutManager
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:166:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:33: error: cannot find type 'NSTextLayoutManager' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:145: error: cannot find type 'NSRange' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:174:25: error: cannot find type 'TextView' in scope
public init?(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:184:35: error: cannot find type 'NSTextElementProvider' in scope
private var textElementProvider: NSTextElementProvider? {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:201:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:217:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:225:27: error: cannot find type 'NSTextStorage' in scope
private let textStorage: NSTextStorage?
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:227:47: error: cannot find type 'NSAttributedString' in scope
public let defaultAttributesProvider: () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:228:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:231:16: error: cannot find type 'NSTextStorage' in scope
textStorage: NSTextStorage,
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:233:41: error: cannot find type 'NSRange' in scope
visibleRangeProvider: @escaping () -> NSRange,
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:234:47: error: cannot find type 'NSAttributedString' in scope
defaultAttributesProvider: @escaping () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:242:24: error: cannot find type 'TextView' in scope
public init(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:257:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:271:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:193:20: error: cannot find 'NSTextRange' in scope
let textRange = NSTextRange(clampedRange, provider: contentManager)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:214:10: error: cannot find 'NSRange' in scope
return NSRange(textLayoutManager.documentRange, provider: textElementProvider).length
^~~~~~~
[51/56] Compiling Neon HighlighterInvalidationBuffer.swift
[52/56] Compiling Neon NSTextView+VisibleRange.swift
[53/56] Compiling Neon UITextView+VisibleRange.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/56] Compiling Neon Compatibility.swift
[55/56] Compiling Neon Highlighter.swift
[56/56] Emitting module Neon
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:13:55: error: cannot find type 'NSAttributedString' in scope
public typealias TokenAttributeProvider = (Token) -> [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:164:32: error: cannot find type 'NSTextLayoutManager' in scope
public let textLayoutManager: NSTextLayoutManager
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:166:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:33: error: cannot find type 'NSTextLayoutManager' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:145: error: cannot find type 'NSRange' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:174:25: error: cannot find type 'TextView' in scope
public init?(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:184:35: error: cannot find type 'NSTextElementProvider' in scope
private var textElementProvider: NSTextElementProvider? {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:201:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:217:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:225:27: error: cannot find type 'NSTextStorage' in scope
private let textStorage: NSTextStorage?
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:227:47: error: cannot find type 'NSAttributedString' in scope
public let defaultAttributesProvider: () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:228:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:231:16: error: cannot find type 'NSTextStorage' in scope
textStorage: NSTextStorage,
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:233:41: error: cannot find type 'NSRange' in scope
visibleRangeProvider: @escaping () -> NSRange,
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:234:47: error: cannot find type 'NSAttributedString' in scope
defaultAttributesProvider: @escaping () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:242:24: error: cannot find type 'TextView' in scope
public init(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:257:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:271:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
[0/1] Planning build
Building for debugging...
warning: Will not do cross-module incremental builds, priors saved at TimePoint(seconds: 1705161043, nanoseconds: 0)), but the previous build started at TimePoint(seconds: 1705161043, nanoseconds: 553733000), at '/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Neon.build/master.priors'
[1/12] Compiling Neon TextViewHighlighter.swift
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:13:55: error: cannot find type 'NSAttributedString' in scope
public typealias TokenAttributeProvider = (Token) -> [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:164:32: error: cannot find type 'NSTextLayoutManager' in scope
public let textLayoutManager: NSTextLayoutManager
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:166:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:33: error: cannot find type 'NSTextLayoutManager' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:145: error: cannot find type 'NSRange' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:174:25: error: cannot find type 'TextView' in scope
public init?(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:184:35: error: cannot find type 'NSTextElementProvider' in scope
private var textElementProvider: NSTextElementProvider? {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:201:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:217:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:225:27: error: cannot find type 'NSTextStorage' in scope
private let textStorage: NSTextStorage?
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:227:47: error: cannot find type 'NSAttributedString' in scope
public let defaultAttributesProvider: () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:228:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:231:16: error: cannot find type 'NSTextStorage' in scope
textStorage: NSTextStorage,
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:233:41: error: cannot find type 'NSRange' in scope
visibleRangeProvider: @escaping () -> NSRange,
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:234:47: error: cannot find type 'NSAttributedString' in scope
defaultAttributesProvider: @escaping () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:242:24: error: cannot find type 'TextView' in scope
public init(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:257:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:271:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:193:20: error: cannot find 'NSTextRange' in scope
let textRange = NSTextRange(clampedRange, provider: contentManager)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:214:10: error: cannot find 'NSRange' in scope
return NSRange(textLayoutManager.documentRange, provider: textElementProvider).length
^~~~~~~
[2/12] Compiling Neon TextViewSystemInterface.swift
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:13:55: error: cannot find type 'NSAttributedString' in scope
public typealias TokenAttributeProvider = (Token) -> [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:164:32: error: cannot find type 'NSTextLayoutManager' in scope
public let textLayoutManager: NSTextLayoutManager
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:166:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:33: error: cannot find type 'NSTextLayoutManager' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:145: error: cannot find type 'NSRange' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:174:25: error: cannot find type 'TextView' in scope
public init?(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:184:35: error: cannot find type 'NSTextElementProvider' in scope
private var textElementProvider: NSTextElementProvider? {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:201:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:217:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:225:27: error: cannot find type 'NSTextStorage' in scope
private let textStorage: NSTextStorage?
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:227:47: error: cannot find type 'NSAttributedString' in scope
public let defaultAttributesProvider: () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:228:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:231:16: error: cannot find type 'NSTextStorage' in scope
textStorage: NSTextStorage,
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:233:41: error: cannot find type 'NSRange' in scope
visibleRangeProvider: @escaping () -> NSRange,
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:234:47: error: cannot find type 'NSAttributedString' in scope
defaultAttributesProvider: @escaping () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:242:24: error: cannot find type 'TextView' in scope
public init(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:257:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:271:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:193:20: error: cannot find 'NSTextRange' in scope
let textRange = NSTextRange(clampedRange, provider: contentManager)
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:214:10: error: cannot find 'NSRange' in scope
return NSRange(textLayoutManager.documentRange, provider: textElementProvider).length
^~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/13] Emitting module Neon
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:13:55: error: cannot find type 'NSAttributedString' in scope
public typealias TokenAttributeProvider = (Token) -> [NSAttributedString.Key: Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:164:32: error: cannot find type 'NSTextLayoutManager' in scope
public let textLayoutManager: NSTextLayoutManager
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:166:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:33: error: cannot find type 'NSTextLayoutManager' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:168:145: error: cannot find type 'NSRange' in scope
public init(textLayoutManager: NSTextLayoutManager, attributeProvider: @escaping TokenAttributeProvider, visibleRangeProvider: @escaping () -> NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:174:25: error: cannot find type 'TextView' in scope
public init?(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:184:35: error: cannot find type 'NSTextElementProvider' in scope
private var textElementProvider: NSTextElementProvider? {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:188:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:201:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:217:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:225:27: error: cannot find type 'NSTextStorage' in scope
private let textStorage: NSTextStorage?
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:227:47: error: cannot find type 'NSAttributedString' in scope
public let defaultAttributesProvider: () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:228:41: error: cannot find type 'NSRange' in scope
public let visibleRangeProvider: () -> NSRange
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:231:16: error: cannot find type 'NSTextStorage' in scope
textStorage: NSTextStorage,
^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:233:41: error: cannot find type 'NSRange' in scope
visibleRangeProvider: @escaping () -> NSRange,
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:234:47: error: cannot find type 'NSAttributedString' in scope
defaultAttributesProvider: @escaping () -> [NSAttributedString.Key : Any]
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:242:24: error: cannot find type 'TextView' in scope
public init(textView: TextView, attributeProvider: @escaping TokenAttributeProvider) {
^~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:39: error: cannot find type 'NSAttributedString' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:251:80: error: cannot find type 'NSRange' in scope
private func setAttributes(_ attrs: [NSAttributedString.Key : Any], in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:257:35: error: cannot find type 'NSRange' in scope
public func clearStyle(in range: NSRange) {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TextViewSystemInterface.swift:271:27: error: cannot find type 'NSRange' in scope
public var visibleRange: NSRange {
^~~~~~~
[4/13] Compiling Neon TextSystemInterface.swift
[5/13] Compiling Neon TextTarget.swift
[6/13] Compiling Neon Token.swift
[7/13] Compiling Neon TokenApplication.swift
[8/13] Compiling Neon TreeSitterClient+Highlight.swift
[9/13] Compiling Neon HighlighterInvalidationBuffer.swift
[10/13] Compiling Neon NSTextView+VisibleRange.swift
[11/13] Compiling Neon UITextView+VisibleRange.swift
[12/13] Compiling Neon Compatibility.swift
[13/13] Compiling Neon Highlighter.swift
BUILD FAILURE 5.8 linux