Build Information
Failed to build STTextKitPlus, reference main (02d25f
), with Swift 5.10 for Linux on 29 Sep 2024 20:40:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.54.2
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 02d25f6 Extra line fragment frame is not correct, that affects enumerateTextSegments
Cloned https://github.com/krzyzanowskim/STTextKitPlus.git
Revision (git rev-parse @):
02d25f6437a96ff2523e19b6fda72bbc687feaec
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-1":/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:6c25c99211d1e15148b101a61df2563575f50d0f624cb6ce5a573a0b53fb5dca
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? {
^~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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: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/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? {
^~~~~~~~~~~
[7/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? {
^~~~~~~~~~~~~~~~~~~~
[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 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] {
^~~~~~~~~~~~~~~
[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