The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build STTextKitPlus, reference main (f5fb3c), with Swift 5.10 for Linux on 1 Nov 2025 05:22:33 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krzyzanowskim/STTextKitPlus.git
Reference: main
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/krzyzanowskim/STTextKitPlus
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at f5fb3c0 Add CaretLocationOptions to customize caret lookup behavior at a point
Cloned https://github.com/krzyzanowskim/STTextKitPlus.git
Revision (git rev-parse @):
f5fb3c024f233bc8b14237a10a99bbc9c966c4dc
SUCCESS checkout https://github.com/krzyzanowskim/STTextKitPlus.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/krzyzanowskim/STTextKitPlus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:876c9f54cbb08e857839f8acb28beadbc9bf56a8488855996222d9f683e93e2f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling STTextKitPlus NSTextRange.swift
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:37:11: error: cannot find type 'NSTextRange' in scope
extension NSTextRange {
          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:39:41: error: cannot find type 'NSRange' in scope
    public convenience init?(_ nsRange: NSRange, in textContentManager: NSTextContentManager) {
                                        ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:39:73: error: cannot find type 'NSTextContentManager' in scope
    public convenience init?(_ nsRange: NSRange, in textContentManager: NSTextContentManager) {
                                                                        ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:47:47: error: cannot find type 'NSTextContentManager' in scope
    public func length(in textContentManager: NSTextContentManager) -> Int {
                                              ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:52:39: error: cannot find type 'NSTextRange' in scope
    public func clamped(to textRange: NSTextRange) -> Self? {
                                      ^~~~~~~~~~~
[4/10] Compiling STTextKitPlus NSTextLocation+Equatable.swift
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:37:18: error: cannot find type 'NSTextLocation' in scope
public extension NSTextLocation {
                 ^~~~~~~~~~~~~~
[5/10] Compiling STTextKitPlus NSTextLayoutFragment.swift
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:37:11: error: cannot find type 'NSTextLayoutFragment' in scope
extension NSTextLayoutFragment {
          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:46:118: error: cannot find type 'NSTextLineFragment' in scope
    public func textLineFragment(at location: NSTextLocation, in textContentManager: NSTextContentManager? = nil) -> NSTextLineFragment? {
                                                                                                                     ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:46:47: error: cannot find type 'NSTextLocation' in scope
    public func textLineFragment(at location: NSTextLocation, in textContentManager: NSTextContentManager? = nil) -> NSTextLineFragment? {
                                              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:46:86: error: cannot find type 'NSTextContentManager' in scope
    public func textLineFragment(at location: NSTextLocation, in textContentManager: NSTextContentManager? = nil) -> NSTextLineFragment? {
                                                                                     ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:60:111: error: cannot find type 'NSTextLineFragment' in scope
    public func textLineFragment(at location: CGPoint, in textContentManager: NSTextContentManager? = nil) -> NSTextLineFragment? {
                                                                                                              ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:60:47: error: cannot find type 'CGPoint' in scope
    public func textLineFragment(at location: CGPoint, in textContentManager: NSTextContentManager? = nil) -> NSTextLineFragment? {
                                              ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:60:79: error: cannot find type 'NSTextContentManager' in scope
    public func textLineFragment(at location: CGPoint, in textContentManager: NSTextContentManager? = nil) -> NSTextLineFragment? {
                                                                              ^~~~~~~~~~~~~~~~~~~~
[6/10] Compiling STTextKitPlus NSRange.swift
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:37:11: error: cannot find type 'NSRange' in scope
extension NSRange {
          ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:40:34: error: cannot find 'NSRange' in scope
    public static let notFound = NSRange(location: NSNotFound, length: 0)
                                 ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:40:52: error: cannot find 'NSNotFound' in scope
    public static let notFound = NSRange(location: NSNotFound, length: 0)
                                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:49:30: error: cannot find type 'NSTextRange' in scope
    public init(_ textRange: NSTextRange, in textContentManager: NSTextContentManager) {
                             ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:49:66: error: cannot find type 'NSTextContentManager' in scope
    public init(_ textRange: NSTextRange, in textContentManager: NSTextContentManager) {
                                                                 ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:55:33: error: cannot find type 'NSTextLocation' in scope
    public init(_ textLocation: NSTextLocation, in textContentManager: NSTextContentManager) {
                                ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:55:72: error: cannot find type 'NSTextContentManager' in scope
    public init(_ textLocation: NSTextLocation, in textContentManager: NSTextContentManager) {
                                                                       ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:61:25: error: cannot find type 'NSValue' in scope
    public var nsValue: NSValue {
                        ^~~~~~~
[7/10] Compiling STTextKitPlus NSTextLineFragment.swift
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:37:11: error: cannot find type 'NSTextLineFragment' in scope
extension NSTextLineFragment {
          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:52:75: error: cannot find type 'NSTextRange' in scope
    public func textRange(in textLayoutFragment: NSTextLayoutFragment) -> NSTextRange? {
                                                                          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:52:50: error: cannot find type 'NSTextLayoutFragment' in scope
    public func textRange(in textLayoutFragment: NSTextLayoutFragment) -> NSTextRange? {
                                                 ^~~~~~~~~~~~~~~~~~~~
[8/10] Compiling STTextKitPlus NSTextLayoutManager.swift
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:37:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:73:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:85:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:142:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:189:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:212:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:223:50: error: cannot find type 'NSTextSelection' in scope
private let _textSelectionInsertionPointFilter: (NSTextSelection) -> Bool = { textSelection in
                                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:42:59: error: cannot find type 'NSTextLayoutFragment' in scope
    @nonobjc public func extraLineTextLayoutFragment() -> NSTextLayoutFragment? {
                                                          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:58:57: error: cannot find type 'NSTextLineFragment' in scope
    @nonobjc public func extraLineTextLineFragment() -> NSTextLineFragment? {
                                                        ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:75:66: error: cannot find type 'NSTextLineFragment' in scope
    public func textLineFragment(at location: NSTextLocation) -> NSTextLineFragment? {
                                                                 ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:75:47: error: cannot find type 'NSTextLocation' in scope
    public func textLineFragment(at location: NSTextLocation) -> NSTextLineFragment? {
                                              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:79:56: error: cannot find type 'NSTextLineFragment' in scope
    public func textLineFragment(at point: CGPoint) -> NSTextLineFragment? {
                                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:79:44: error: cannot find type 'CGPoint' in scope
    public func textLineFragment(at point: CGPoint) -> NSTextLineFragment? {
                                           ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:93:108: error: cannot find type 'NSTextLocation' in scope
    public func location(interactingAt point: CGPoint, inContainerAt containerLocation: NSTextLocation) -> NSTextLocation? {
                                                                                                           ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:93:47: error: cannot find type 'CGPoint' in scope
    public func location(interactingAt point: CGPoint, inContainerAt containerLocation: NSTextLocation) -> NSTextLocation? {
                                              ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:93:89: error: cannot find type 'NSTextLocation' in scope
    public func location(interactingAt point: CGPoint, inContainerAt containerLocation: NSTextLocation) -> NSTextLocation? {
                                                                                        ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:104:42: error: cannot find 'CaretLocationOptions' in scope
        public static var allowOutside = CaretLocationOptions(rawValue: 1 << 0)
                                         ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:112:149: error: cannot find type 'NSTextLocation' in scope
    public func caretLocation(interactingAt point: CGPoint, options: CaretLocationOptions = [], inContainerAt containerLocation: NSTextLocation) -> NSTextLocation? {
                                                                                                                                                    ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:112:52: error: cannot find type 'CGPoint' in scope
    public func caretLocation(interactingAt point: CGPoint, options: CaretLocationOptions = [], inContainerAt containerLocation: NSTextLocation) -> NSTextLocation? {
                                                   ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:112:70: error: cannot find type 'CaretLocationOptions' in scope
    public func caretLocation(interactingAt point: CGPoint, options: CaretLocationOptions = [], inContainerAt containerLocation: NSTextLocation) -> NSTextLocation? {
                                                                     ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:112:130: error: cannot find type 'NSTextLocation' in scope
    public func caretLocation(interactingAt point: CGPoint, options: CaretLocationOptions = [], inContainerAt containerLocation: NSTextLocation) -> NSTextLocation? {
                                                                                                                                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:149:65: error: cannot find type 'CGRect' in scope
    public func typographicBounds(in textRange: NSTextRange) -> CGRect? {
                                                                ^~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:149:49: error: cannot find type 'NSTextRange' in scope
    public func typographicBounds(in textRange: NSTextRange) -> CGRect? {
                                                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:154:152: error: cannot find type 'CGRect' in scope
    public func textSegmentFrame(at location: NSTextLocation, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity]) -> CGRect? {
                                                                                                                                                       ^~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:154:47: error: cannot find type 'NSTextLocation' in scope
    public func textSegmentFrame(at location: NSTextLocation, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity]) -> CGRect? {
                                              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:154:69: error: cannot find type 'NSTextLayoutManager' in scope
    public func textSegmentFrame(at location: NSTextLocation, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity]) -> CGRect? {
                                                                    ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:154:111: error: cannot find type 'SegmentOptions' in scope
    public func textSegmentFrame(at location: NSTextLocation, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity]) -> CGRect? {
                                                                                                              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:161:169: error: cannot find type 'CGRect' in scope
    public func textSegmentFrame(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> CGRect? {
                                                                                                                                                                        ^~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:161:48: error: cannot find type 'NSTextRange' in scope
    public func textSegmentFrame(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> CGRect? {
                                               ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:161:67: error: cannot find type 'NSTextLayoutManager' in scope
    public func textSegmentFrame(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> CGRect? {
                                                                  ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:161:109: error: cannot find type 'SegmentOptions' in scope
    public func textSegmentFrame(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> CGRect? {
                                                                                                            ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:178:171: error: cannot find type 'CGRect' in scope
    public func textSegmentFrames(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> [CGRect] {
                                                                                                                                                                          ^~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:178:49: error: cannot find type 'NSTextRange' in scope
    public func textSegmentFrames(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> [CGRect] {
                                                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:178:68: error: cannot find type 'NSTextLayoutManager' in scope
    public func textSegmentFrames(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> [CGRect] {
                                                                   ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:178:110: error: cannot find type 'SegmentOptions' in scope
    public func textSegmentFrames(in textRange: NSTextRange, type: NSTextLayoutManager.SegmentType, options: SegmentOptions = [.upstreamAffinity, .rangeNotRequired]) -> [CGRect] {
                                                                                                             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:198:191: error: cannot find type 'NSTextLocation' in scope
    @discardableResult public func enumerateTextLayoutFragments(in range: NSTextRange, options: NSTextLayoutFragment.EnumerationOptions = [], using block: (NSTextLayoutFragment) -> Bool) -> NSTextLocation? {
                                                                                                                                                                                              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:198:75: error: cannot find type 'NSTextRange' in scope
    @discardableResult public func enumerateTextLayoutFragments(in range: NSTextRange, options: NSTextLayoutFragment.EnumerationOptions = [], using block: (NSTextLayoutFragment) -> Bool) -> NSTextLocation? {
                                                                          ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:198:97: error: cannot find type 'NSTextLayoutFragment' in scope
    @discardableResult public func enumerateTextLayoutFragments(in range: NSTextRange, options: NSTextLayoutFragment.EnumerationOptions = [], using block: (NSTextLayoutFragment) -> Bool) -> NSTextLocation? {
                                                                                                ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:198:157: error: cannot find type 'NSTextLayoutFragment' in scope
    @discardableResult public func enumerateTextLayoutFragments(in range: NSTextRange, options: NSTextLayoutFragment.EnumerationOptions = [], using block: (NSTextLayoutFragment) -> Bool) -> NSTextLocation? {
                                                                                                                                                            ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:214:42: error: cannot find type 'NSTextLocation' in scope
    public var insertionPointLocations: [NSTextLocation] {
                                         ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:218:43: error: cannot find type 'NSTextSelection' in scope
    public var insertionPointSelections: [NSTextSelection] {
                                          ^~~~~~~~~~~~~~~
[9/10] Compiling STTextKitPlus NSTextContentManager.swift
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:37:18: error: cannot find type 'NSTextContentManager' in scope
public extension NSTextContentManager {
                 ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:39:38: error: cannot find type 'NSTextLocation' in scope
    func location(at offset: Int) -> NSTextLocation? {
                                     ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:47:75: error: cannot find type 'NSTextLocation' in scope
    func location(line lineIdx: Int, character characterIdx: Int? = 0) -> NSTextLocation? {
                                                                          ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:62:31: error: cannot find type 'NSTextLocation' in scope
    func position(_ location: NSTextLocation) -> (row: Int, column: Int)? {
                              ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:88:54: error: cannot find type 'NSAttributedString' in scope
    func attributedString(in range: NSTextRange?) -> NSAttributedString? {
                                                     ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:88:37: error: cannot find type 'NSTextRange' in scope
    func attributedString(in range: NSTextRange?) -> NSAttributedString? {
                                    ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:176:59: error: cannot find type 'NSTextElement' in scope
    func textElementsNotBuggy(for range: NSTextRange) -> [NSTextElement] {
                                                          ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:176:42: error: cannot find type 'NSTextRange' in scope
    func textElementsNotBuggy(for range: NSTextRange) -> [NSTextElement] {
                                         ^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/10] Emitting module STTextKitPlus
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:33:23: warning: unknown operating system for build configuration 'os'
#elseif os(iOS) || os(visionOS)
                      ^
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:33:23: note: did you mean 'iOS'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      iOS
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:33:23: note: did you mean 'Windows'?
#elseif os(iOS) || os(visionOS)
                      ^~~~~~~~
                      Windows
/host/spi-builder-workspace/Sources/STTextKitPlus/NSRange.swift:37:11: error: cannot find type 'NSRange' in scope
extension NSRange {
          ^~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextContentManager.swift:37:18: error: cannot find type 'NSTextContentManager' in scope
public extension NSTextContentManager {
                 ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutFragment.swift:37:11: error: cannot find type 'NSTextLayoutFragment' in scope
extension NSTextLayoutFragment {
          ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:37:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:73:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:85:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:142:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:189:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:212:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:223:50: error: cannot find type 'NSTextSelection' in scope
private let _textSelectionInsertionPointFilter: (NSTextSelection) -> Bool = { textSelection in
                                                 ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLineFragment.swift:37:11: error: cannot find type 'NSTextLineFragment' in scope
extension NSTextLineFragment {
          ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLocation+Equatable.swift:37:18: error: cannot find type 'NSTextLocation' in scope
public extension NSTextLocation {
                 ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextRange.swift:37:11: error: cannot find type 'NSTextRange' in scope
extension NSTextRange {
          ^~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux