The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Neon with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-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.9
Building package at path:  $PWD/checkout
https://github.com/ChimeHQ/Neon.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/Rearrange
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/1335] Fetching swifttreesitter
[616/1776] Fetching swifttreesitter, rearrange
Fetched https://github.com/ChimeHQ/SwiftTreeSitter (0.28s)
Fetched https://github.com/ChimeHQ/Rearrange (0.28s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.6.0 (1.14s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.8.0 (0.35s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.6.0
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.8.0
Building for debugging...
[0/3] Compiling scanner.c
[1/11] Compiling lib.c
[3/29] Compiling Rearrange NSRange+Shift.swift
[4/30] 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
[5/30] Compiling Rearrange String+NSRange.swift
[6/30] Compiling Rearrange IndexSet+NSRange.swift
[7/30] Compiling Rearrange NSRange+Convenience.swift
[8/30] Compiling Rearrange NSRange+ApplyMutation.swift
[9/30] Emitting module SwiftTreeSitter
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/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
[10/30] Compiling SwiftTreeSitter Bundle+Extensions.swift
[11/30] Compiling SwiftTreeSitter Encoding+Helpers.swift
[12/30] Compiling SwiftTreeSitter Input.swift
[13/32] Compiling Rearrange UITextRange+Convenience.swift
[14/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
[15/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
[16/32] Compiling SwiftTreeSitter QueryDefinitions.swift
[17/32] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[18/32] Compiling SwiftTreeSitter InputEdit.swift
[19/32] Compiling SwiftTreeSitter Language.swift
[20/32] Compiling SwiftTreeSitter LanguageConfiguration.swift
[21/32] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[22/32] Compiling SwiftTreeSitter String+Data.swift
[23/32] Compiling SwiftTreeSitter String+TextProvider.swift
[24/32] Compiling SwiftTreeSitter TSRange.swift
[25/32] Compiling SwiftTreeSitter Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[26/32] Compiling SwiftTreeSitter Parser.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[27/32] Compiling SwiftTreeSitter Point.swift
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/Parser.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[27/32] Compiling parser.c
[29/32] Compiling Rearrange NSTextRange+NSRange.swift
[30/32] 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
[32/34] Compiling SwiftTreeSitter Tree.swift
[33/34] Compiling SwiftTreeSitter TreeCursor.swift
[37/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 {
                                                                                                                            ^
[38/41] Compiling TreeSitterClient TreeSitter+Extensions.swift
[39/41] Compiling TreeSitterClient Compatibility.swift
[40/41] Compiling TreeSitterClient TreeSitterParseState.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/55] 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
                       ^~~~~~~
[48/55] 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
                       ^~~~~~~
[49/56] Compiling Neon TextSystemInterface.swift
[50/56] Compiling Neon TextTarget.swift
[51/56] Compiling Neon UITextView+VisibleRange.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[52/56] Compiling Neon HighlighterInvalidationBuffer.swift
[53/56] Compiling Neon NSTextView+VisibleRange.swift
[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 {
                                 ^~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/3] Compiling Neon TextViewHighlighter.swift
[2/3] 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 {
                                 ^~~~~~~
[3/3] 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: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2