The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build STTextKitPlus, reference 0.1.8 (446d6d), with Swift 5.9 for Linux on 23 Jan 2025 01:26:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/krzyzanowskim/STTextKitPlus.git
Reference: 0.1.8
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
 * tag               0.1.8      -> FETCH_HEAD
HEAD is now at 446d6d4 Add textElementsNotBuggy(for:) to NSTextContentManager
Cloned https://github.com/krzyzanowskim/STTextKitPlus.git
Revision (git rev-parse @):
446d6d431b163840ac5cc844ca5cf4704886c30e
SUCCESS checkout https://github.com/krzyzanowskim/STTextKitPlus.git at 0.1.8
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $PWD
https://github.com/krzyzanowskim/STTextKitPlus.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
[1/8] 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:115:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:150:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:173:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:184: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:92: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:92: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:92: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:120:65: error: cannot find type 'CGRect' in scope
    public func typographicBounds(in textRange: NSTextRange) -> CGRect? {
                                                                ^~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:120:49: error: cannot find type 'NSTextRange' in scope
    public func typographicBounds(in textRange: NSTextRange) -> CGRect? {
                                                ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:125: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:125: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:125: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:125: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:132: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:132: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:132: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:132: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:159: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:159: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:159: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:159: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:175:42: error: cannot find type 'NSTextLocation' in scope
    public var insertionPointLocations: [NSTextLocation] {
                                         ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:179:43: error: cannot find type 'NSTextSelection' in scope
    public var insertionPointSelections: [NSTextSelection] {
                                          ^~~~~~~~~~~~~~~
[2/8] 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] {
                                         ^~~~~~~~~~~
[3/8] 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? {
                                                                              ^~~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/8] 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:115:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:150:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:173:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
          ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:184: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 {
          ^~~~~~~~~~~
[5/8] 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 {
                        ^~~~~~~
[6/8] 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? {
                                      ^~~~~~~~~~~
[7/8] 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/8] 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 {
                 ^~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux