Build Information
Failed to build STTextKitPlus, reference main (ebc71a
), with Swift 5.10 for Linux on 15 May 2025 12:05:57 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" 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.61.4
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 ebc71aa Add API to retrieve all text segment frames in a range
Cloned https://github.com/krzyzanowskim/STTextKitPlus.git
Revision (git rev-parse @):
ebc71aaa6137b45ad289d1faf6e7687b6b9488e9
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-4606859-0":/host -w "$PWD" 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:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/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:115:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:162:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:185:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:196: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 {
^~~~~~~~~~~
[4/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? {
^~~~~~~~~~~~~~~~~~~~
[5/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 {
^~~~~~~
[6/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] {
^~~~~~~~~~~
[7/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:115:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:162:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:185:11: error: cannot find type 'NSTextLayoutManager' in scope
extension NSTextLayoutManager {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:196: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:122:65: error: cannot find type 'CGRect' in scope
public func typographicBounds(in textRange: NSTextRange) -> CGRect? {
^~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:122:49: error: cannot find type 'NSTextRange' in scope
public func typographicBounds(in textRange: NSTextRange) -> CGRect? {
^~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:127: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:127: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:127: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:127: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:134: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:134: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:134: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:134: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:151: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:151: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:151: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:151: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:171: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:171: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:171: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:171: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:187:42: error: cannot find type 'NSTextLocation' in scope
public var insertionPointLocations: [NSTextLocation] {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/STTextKitPlus/NSTextLayoutManager.swift:191:43: error: cannot find type 'NSTextSelection' in scope
public var insertionPointSelections: [NSTextSelection] {
^~~~~~~~~~~~~~~
[8/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 {
^~~~~~~~~~~~~~
[9/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? {
^~~~~~~~~~~
[10/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? {
^~~~~~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux