Build Information
Failed to build DeclarativeTextKit, reference main (141903
), with Swift 6.0 for Linux on 5 Nov 2024 09:09:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/DeclarativeTextKit.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/CleanCocoa/DeclarativeTextKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 1419034 remove equal ranges special case because the other checks cover this
Cloned https://github.com/CleanCocoa/DeclarativeTextKit.git
Revision (git rev-parse @):
1419034a113bee3bf37cf7a32021e6e89dfec0aa
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CleanCocoa/DeclarativeTextKit.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/CleanCocoa/DeclarativeTextKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/49] Emitting module DeclarativeTextKit
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
[5/55] Compiling DeclarativeTextKit Modification.swift
[6/55] Compiling DeclarativeTextKit ModificationBuilder.swift
[7/55] Compiling DeclarativeTextKit ModificationSequence.swift
[8/55] Compiling DeclarativeTextKit Modifying.swift
[9/55] Compiling DeclarativeTextKit ScopedBufferSlice.swift
[10/55] Compiling DeclarativeTextKit AffectedRange.swift
[11/55] Compiling DeclarativeTextKit NSMutableString+BufferCompatibility.swift
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
| `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[12/55] Compiling DeclarativeTextKit NSTextViewBuffer.swift
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
| `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[13/55] Compiling DeclarativeTextKit UTF16.swift
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
| `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[14/55] Compiling DeclarativeTextKit Undoable+NSTextViewBuffer.swift
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
| `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[15/55] Compiling DeclarativeTextKit Undoable.swift
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
| `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[16/55] Compiling DeclarativeTextKit Debug.swift
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
| `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[17/55] Compiling DeclarativeTextKit Expression.swift
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
1 | // Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
2 |
3 | extension Undoable where Base == NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
4 | /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
5 | ///
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
8 | /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
9 | public convenience init(
10 | _ base: NSTextViewBuffer
| `- error: cannot find type 'NSTextViewBuffer' in scope
11 | ) {
12 | self.init(base) {
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
| `- error: cannot find type 'NSTextViewBuffer' in scope
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
79 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
80 | @usableFromInline
81 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
82 |
83 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
87 | /// To guarantee that an undo manager is used to track changes to the buffer, use ``init(_:undoManager:)`` and supply an `UndoManager` instance (or use the default instance).
88 | @inlinable @inline(__always)
89 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
90 |
91 | @usableFromInline
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
92 | required init(
93 | _ base: Base,
94 | getUndoManager: @escaping () -> UndoManager?
| `- error: @escaping attribute only applies to function types
95 | ) {
96 | self.base = base
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 | public convenience init(
109 | _ base: Base,
110 | undoManager: UndoManager = {
| `- error: cannot find type 'UndoManager' in scope
111 | let undoManager = UndoManager()
112 | undoManager.groupsByEvent = false
/host/spi-builder-workspace/Sources/DeclarativeTextKit/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 | /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 | public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
| `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[18/55] Compiling DeclarativeTextKit NSRange+expandedToOther.swift
[19/55] Compiling DeclarativeTextKit NSRange+notFound.swift
[20/55] Compiling DeclarativeTextKit NSRange+prefix.swift
[21/55] Compiling DeclarativeTextKit NSRange+suffix.swift
[22/55] Compiling DeclarativeTextKit NSString+locationUpToCharacter.swift
[23/55] Compiling DeclarativeTextKit SortedArray.swift
[24/55] Compiling DeclarativeTextKit Bool+inverted.swift
[25/55] Compiling DeclarativeTextKit Buffer+contains.swift
[26/55] Compiling DeclarativeTextKit Buffer+evaluate.swift
[27/55] Compiling DeclarativeTextKit Buffer+wordRange.swift
[28/55] Compiling DeclarativeTextKit Buffer.swift
[29/55] Compiling DeclarativeTextKit BufferAccessFailure.swift
[30/55] Compiling DeclarativeTextKit MutableStringBuffer.swift
[31/55] Compiling DeclarativeTextKit Insert+Modification.swift
[32/55] Compiling DeclarativeTextKit Insert.swift
[33/55] Compiling DeclarativeTextKit Insertable.swift
[34/55] Compiling DeclarativeTextKit Line.swift
[35/55] Compiling DeclarativeTextKit String+Insertable.swift
[36/55] Compiling DeclarativeTextKit Word.swift
[37/55] Compiling DeclarativeTextKit Buffer+SelectRangeExpression.swift
[38/55] Compiling DeclarativeTextKit BufferRangeExpression.swift
[39/55] Compiling DeclarativeTextKit LineRange.swift
[40/55] Compiling DeclarativeTextKit NSRange+BufferRangeExpression.swift
[41/55] Compiling DeclarativeTextKit Select.swift
[42/55] Compiling DeclarativeTextKit SelectedRange+BufferRangeExpression.swift
[43/55] Compiling DeclarativeTextKit WordRange.swift
[44/55] Compiling DeclarativeTextKit NSRange+Order.swift
[45/55] Compiling DeclarativeTextKit NSRange+Resized.swift
[46/55] Compiling DeclarativeTextKit NSRange+Shifted.swift
[47/55] Compiling DeclarativeTextKit NSRange+Subtracting.swift
[48/55] Compiling DeclarativeTextKit NSRange+containsRange.swift
[49/55] Compiling DeclarativeTextKit If.swift
[50/55] Compiling DeclarativeTextKit IfLet.swift
[51/55] Compiling DeclarativeTextKit ChangeInLength+Consume.swift
[52/55] Compiling DeclarativeTextKit ChangeInLength.swift
[53/55] Compiling DeclarativeTextKit Delete+Modification.swift
[54/55] Compiling DeclarativeTextKit Delete.swift
[55/55] Compiling DeclarativeTextKit Identity.swift
BUILD FAILURE 6.0 linux