Build Information
Failed to build Neon with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
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: $workDir/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Neon.git at 0.6.0
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/ChimeHQ/Neon.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/ChimeHQ/Rearrange
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/1413] Fetching swifttreesitter
[1414/1907] Fetching swifttreesitter, rearrange
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (0.26s)
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.26s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.6.0 (1.18s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.8.0 (0.38s)
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/8] Write sources
[4/8] Compiling scanner.c
[5/8] Write swift-version-24593BA9C3E375BF.txt
[6/16] Compiling lib.c
[8/34] 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
[8/36] Compiling parser.c
[10/36] Compiling Rearrange NSTextRange+NSRange.swift
[11/37] Compiling Rearrange UITextRange+Convenience.swift
[12/37] Compiling Rearrange IndexSet+NSRange.swift
[13/37] Compiling Rearrange NSRange+ApplyMutation.swift
[14/37] 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
[15/37] Compiling Rearrange NSRange+Convenience.swift
[16/37] Compiling Rearrange NSRange+Shift.swift
[17/37] Compiling SwiftTreeSitter Bundle+Extensions.swift
[18/37] Compiling SwiftTreeSitter Encoding+Helpers.swift
[19/37] Compiling SwiftTreeSitter Input.swift
[20/37] Compiling SwiftTreeSitter QueryDefinitions.swift
[21/37] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[22/37] Compiling SwiftTreeSitter String+TextProvider.swift
[23/37] Compiling SwiftTreeSitter TSRange.swift
[24/37] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[25/37] Compiling SwiftTreeSitter String+Data.swift
[26/37] 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
[27/37] 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
[28/37] 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
[29/37] 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
[30/37] 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
[31/37] Compiling SwiftTreeSitter InputEdit.swift
[32/37] Compiling SwiftTreeSitter Language.swift
[33/37] Compiling SwiftTreeSitter LanguageConfiguration.swift
[34/37] Compiling SwiftTreeSitter Tree.swift
[35/37] Compiling SwiftTreeSitter TreeCursor.swift
[36/38] Compiling Rearrange String+NSRange.swift
[38/38] 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
[40/44] 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 {
^
[41/44] Compiling TreeSitterClient TreeSitterParseState.swift
[42/44] Compiling TreeSitterClient TreeSitter+Extensions.swift
[43/44] Compiling TreeSitterClient Compatibility.swift
[44/44] 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) })
^
[46/57] Compiling Neon Token.swift
[47/58] Compiling Neon TextSystemInterface.swift
[48/58] Compiling Neon TextTarget.swift
[49/58] 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/58] 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/58] Compiling Neon TreeSitterClient+Highlight.swift
[52/58] Compiling Neon TokenApplication.swift
/host/spi-builder-workspace/Sources/Neon/TokenApplication.swift:19:23: warning: static property 'noChange' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let noChange = TokenApplication(tokens: [], action: .apply)
^
[53/58] Compiling Neon UITextView+VisibleRange.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/58] Compiling Neon HighlighterInvalidationBuffer.swift
[55/58] Compiling Neon NSTextView+VisibleRange.swift
[56/58] Compiling Neon Compatibility.swift
[57/58] Compiling Neon Highlighter.swift
[58/58] 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 {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TokenApplication.swift:19:23: warning: static property 'noChange' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let noChange = TokenApplication(tokens: [], action: .apply)
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] 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/4] Compiling Neon TextViewHighlighter.swift
[4/4] 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 {
^~~~~~~
/host/spi-builder-workspace/Sources/Neon/TokenApplication.swift:19:23: warning: static property 'noChange' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
public static let noChange = TokenApplication(tokens: [], action: .apply)
^
error: fatalError
BUILD FAILURE 5.10 linux