Build Information
Failed to build DeclarativeTextKit, reference main (c114d1), with Swift 6.3 for Android on 15 Apr 2026 16:09:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 c114d1a add /TextBuffer to disambiguate links to other package
Cloned https://github.com/CleanCocoa/DeclarativeTextKit.git
Revision (git rev-parse @):
c114d1ad9b81c8fdede40f0110f476cabb744c57
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CleanCocoa/DeclarativeTextKit.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.3
Building package at path: $PWD
https://github.com/CleanCocoa/DeclarativeTextKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/CleanCocoa/TextBuffer
[1/989] Fetching textbuffer
Fetched https://github.com/CleanCocoa/TextBuffer from cache (1.23s)
Computing version for https://github.com/CleanCocoa/TextBuffer
Computed https://github.com/CleanCocoa/TextBuffer at 0.5.0 (2.39s)
Creating working copy for https://github.com/CleanCocoa/TextBuffer
Working copy of https://github.com/CleanCocoa/TextBuffer resolved at 0.5.0
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--4F562202D5529B1.txt
[5/13] Emitting module TextRope
[6/13] Compiling TextRope Node.swift
[7/13] Compiling TextRope Summary.swift
[8/14] Compiling TextRope TextRope.swift
[9/14] Compiling TextRope TextRope+Replace.swift
[10/14] Compiling TextRope TextRope+Insert.swift
[11/14] Compiling TextRope TextRope+Navigation.swift
[12/14] Compiling TextRope TextRope+COW.swift
[13/14] Compiling TextRope TextRope+Construction.swift
[14/14] Compiling TextRope TextRope+Delete.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/47] Emitting module TextBuffer
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:14:39: error: cannot find type 'UndoManager' in scope
12 |
13 | @MainActor
14 | public final class PuppetUndoManager: UndoManager {
| `- error: cannot find type 'UndoManager' in scope
15 | weak var owner: (any PuppetUndoManagerDelegate)?
16 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:26: error: method does not override any method from its superclass
22 | }
23 |
24 | public override func undo() {
| `- error: method does not override any method from its superclass
25 | owner?.puppetUndo()
26 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:28:26: error: method does not override any method from its superclass
26 | }
27 |
28 | public override func redo() {
| `- error: method does not override any method from its superclass
29 | owner?.puppetRedo()
30 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:32:25: error: property does not override any property from its superclass
30 | }
31 |
32 | public override var canUndo: Bool {
| `- error: property does not override any property from its superclass
33 | owner?.puppetCanUndo ?? false
34 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:36:25: error: property does not override any property from its superclass
34 | }
35 |
36 | public override var canRedo: Bool {
| `- error: property does not override any property from its superclass
37 | owner?.puppetCanRedo ?? false
38 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:40:25: error: property does not override any property from its superclass
38 | }
39 |
40 | public override var undoActionName: String {
| `- error: property does not override any property from its superclass
41 | owner?.puppetUndoActionName ?? ""
42 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:44:25: error: property does not override any property from its superclass
42 | }
43 |
44 | public override var redoActionName: String {
| `- error: property does not override any property from its superclass
45 | owner?.puppetRedoActionName ?? ""
46 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:48:73: error: cannot find type 'Selector' in scope
46 | }
47 |
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
| `- error: cannot find type 'Selector' in scope
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:26: error: method does not override any method from its superclass
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
| `- error: method does not override any method from its superclass
51 | self
52 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/TransferableUndoable.swift:123:50: error: cannot find type 'UndoManager' in scope
121 |
122 | extension TransferableUndoable {
123 | public func enableSystemUndoIntegration() -> UndoManager {
| `- error: cannot find type 'UndoManager' in scope
124 | if let existing = puppetUndoManager { return existing }
125 | let puppet = PuppetUndoManager(owner: self)
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:83:31: error: cannot find type 'UndoManager' in scope
81 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
82 | @usableFromInline
83 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
84 |
85 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:91:29: error: cannot find type 'UndoManager' in scope
89 | /// 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).
90 | @inlinable @inline(__always)
91 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
92 |
93 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:41: error: cannot find type 'UndoManager' in scope
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:25: error: '@escaping' only applies to function types
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: '@escaping' only applies to function types
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:112:22: error: cannot find type 'UndoManager' in scope
110 | public convenience init(
111 | _ base: Base,
112 | undoManager: UndoManager
| `- error: cannot find type 'UndoManager' in scope
113 | ) {
114 | self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:114:25: error: extra trailing closure passed in call
112 | undoManager: UndoManager
113 | ) {
114 | self.init(base) {
| `- error: extra trailing closure passed in call
115 | return undoManager
116 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:121:27: error: cannot find 'UndoManager' in scope
119 | @inlinable
120 | public convenience init(_ base: Base) {
121 | let undoManager = UndoManager()
| `- error: cannot find 'UndoManager' in scope
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:123:38: error: extra argument 'undoManager' in call
121 | let undoManager = UndoManager()
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
| `- error: extra argument 'undoManager' in call
124 | }
125 |
[17/51] Compiling TextBuffer NSRange+expandedToOther.swift
[18/51] Compiling TextBuffer NSRange+notFound.swift
[19/51] Compiling TextBuffer NSRange+prefix.swift
[20/51] Compiling TextBuffer NSRange+suffix.swift
[21/51] Compiling TextBuffer NSRange+Resized.swift
[22/51] Compiling TextBuffer NSRange+Shifted.swift
[23/51] Compiling TextBuffer NSRange+Subtracting.swift
[24/51] Compiling TextBuffer NSRange+containsRange.swift
[25/51] Compiling TextBuffer TextAnalysisCapable.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/TransferableUndoable.swift:123:50: error: cannot find type 'UndoManager' in scope
121 |
122 | extension TransferableUndoable {
123 | public func enableSystemUndoIntegration() -> UndoManager {
| `- error: cannot find type 'UndoManager' in scope
124 | if let existing = puppetUndoManager { return existing }
125 | let puppet = PuppetUndoManager(owner: self)
[26/51] Compiling TextBuffer TextBuffer.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/TransferableUndoable.swift:123:50: error: cannot find type 'UndoManager' in scope
121 |
122 | extension TransferableUndoable {
123 | public func enableSystemUndoIntegration() -> UndoManager {
| `- error: cannot find type 'UndoManager' in scope
124 | if let existing = puppetUndoManager { return existing }
125 | let puppet = PuppetUndoManager(owner: self)
[27/51] Compiling TextBuffer TransferableUndoable.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/TransferableUndoable.swift:123:50: error: cannot find type 'UndoManager' in scope
121 |
122 | extension TransferableUndoable {
123 | public func enableSystemUndoIntegration() -> UndoManager {
| `- error: cannot find type 'UndoManager' in scope
124 | if let existing = puppetUndoManager { return existing }
125 | let puppet = PuppetUndoManager(owner: self)
[28/51] Compiling TextBuffer UTF16.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/TransferableUndoable.swift:123:50: error: cannot find type 'UndoManager' in scope
121 |
122 | extension TransferableUndoable {
123 | public func enableSystemUndoIntegration() -> UndoManager {
| `- error: cannot find type 'UndoManager' in scope
124 | if let existing = puppetUndoManager { return existing }
125 | let puppet = PuppetUndoManager(owner: self)
[29/51] Compiling TextBuffer NSTextViewBuffer.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:14:39: error: cannot find type 'UndoManager' in scope
12 |
13 | @MainActor
14 | public final class PuppetUndoManager: UndoManager {
| `- error: cannot find type 'UndoManager' in scope
15 | weak var owner: (any PuppetUndoManagerDelegate)?
16 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:26: error: method does not override any method from its superclass
22 | }
23 |
24 | public override func undo() {
| `- error: method does not override any method from its superclass
25 | owner?.puppetUndo()
26 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:28:26: error: method does not override any method from its superclass
26 | }
27 |
28 | public override func redo() {
| `- error: method does not override any method from its superclass
29 | owner?.puppetRedo()
30 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:32:25: error: property does not override any property from its superclass
30 | }
31 |
32 | public override var canUndo: Bool {
| `- error: property does not override any property from its superclass
33 | owner?.puppetCanUndo ?? false
34 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:36:25: error: property does not override any property from its superclass
34 | }
35 |
36 | public override var canRedo: Bool {
| `- error: property does not override any property from its superclass
37 | owner?.puppetCanRedo ?? false
38 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:40:25: error: property does not override any property from its superclass
38 | }
39 |
40 | public override var undoActionName: String {
| `- error: property does not override any property from its superclass
41 | owner?.puppetUndoActionName ?? ""
42 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:44:25: error: property does not override any property from its superclass
42 | }
43 |
44 | public override var redoActionName: String {
| `- error: property does not override any property from its superclass
45 | owner?.puppetRedoActionName ?? ""
46 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:48:73: error: cannot find type 'Selector' in scope
46 | }
47 |
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
| `- error: cannot find type 'Selector' in scope
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:26: error: method does not override any method from its superclass
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
| `- error: method does not override any method from its superclass
51 | self
52 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:19:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
17 | init(owner: any PuppetUndoManagerDelegate) {
18 | self.owner = owner
19 | super.init()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:20:9: error: cannot find 'groupsByEvent' in scope
18 | self.owner = owner
19 | super.init()
20 | groupsByEvent = false
| `- error: cannot find 'groupsByEvent' in scope
21 | super.beginUndoGrouping()
22 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:21:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
19 | super.init()
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
22 | }
23 |
[30/51] Compiling TextBuffer PuppetUndoManager.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:14:39: error: cannot find type 'UndoManager' in scope
12 |
13 | @MainActor
14 | public final class PuppetUndoManager: UndoManager {
| `- error: cannot find type 'UndoManager' in scope
15 | weak var owner: (any PuppetUndoManagerDelegate)?
16 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:26: error: method does not override any method from its superclass
22 | }
23 |
24 | public override func undo() {
| `- error: method does not override any method from its superclass
25 | owner?.puppetUndo()
26 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:28:26: error: method does not override any method from its superclass
26 | }
27 |
28 | public override func redo() {
| `- error: method does not override any method from its superclass
29 | owner?.puppetRedo()
30 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:32:25: error: property does not override any property from its superclass
30 | }
31 |
32 | public override var canUndo: Bool {
| `- error: property does not override any property from its superclass
33 | owner?.puppetCanUndo ?? false
34 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:36:25: error: property does not override any property from its superclass
34 | }
35 |
36 | public override var canRedo: Bool {
| `- error: property does not override any property from its superclass
37 | owner?.puppetCanRedo ?? false
38 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:40:25: error: property does not override any property from its superclass
38 | }
39 |
40 | public override var undoActionName: String {
| `- error: property does not override any property from its superclass
41 | owner?.puppetUndoActionName ?? ""
42 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:44:25: error: property does not override any property from its superclass
42 | }
43 |
44 | public override var redoActionName: String {
| `- error: property does not override any property from its superclass
45 | owner?.puppetRedoActionName ?? ""
46 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:48:73: error: cannot find type 'Selector' in scope
46 | }
47 |
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
| `- error: cannot find type 'Selector' in scope
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:26: error: method does not override any method from its superclass
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
| `- error: method does not override any method from its superclass
51 | self
52 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:19:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
17 | init(owner: any PuppetUndoManagerDelegate) {
18 | self.owner = owner
19 | super.init()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:20:9: error: cannot find 'groupsByEvent' in scope
18 | self.owner = owner
19 | super.init()
20 | groupsByEvent = false
| `- error: cannot find 'groupsByEvent' in scope
21 | super.beginUndoGrouping()
22 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:21:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
19 | super.init()
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
22 | }
23 |
[31/51] Compiling TextBuffer RopeBuffer.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:14:39: error: cannot find type 'UndoManager' in scope
12 |
13 | @MainActor
14 | public final class PuppetUndoManager: UndoManager {
| `- error: cannot find type 'UndoManager' in scope
15 | weak var owner: (any PuppetUndoManagerDelegate)?
16 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:26: error: method does not override any method from its superclass
22 | }
23 |
24 | public override func undo() {
| `- error: method does not override any method from its superclass
25 | owner?.puppetUndo()
26 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:28:26: error: method does not override any method from its superclass
26 | }
27 |
28 | public override func redo() {
| `- error: method does not override any method from its superclass
29 | owner?.puppetRedo()
30 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:32:25: error: property does not override any property from its superclass
30 | }
31 |
32 | public override var canUndo: Bool {
| `- error: property does not override any property from its superclass
33 | owner?.puppetCanUndo ?? false
34 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:36:25: error: property does not override any property from its superclass
34 | }
35 |
36 | public override var canRedo: Bool {
| `- error: property does not override any property from its superclass
37 | owner?.puppetCanRedo ?? false
38 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:40:25: error: property does not override any property from its superclass
38 | }
39 |
40 | public override var undoActionName: String {
| `- error: property does not override any property from its superclass
41 | owner?.puppetUndoActionName ?? ""
42 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:44:25: error: property does not override any property from its superclass
42 | }
43 |
44 | public override var redoActionName: String {
| `- error: property does not override any property from its superclass
45 | owner?.puppetRedoActionName ?? ""
46 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:48:73: error: cannot find type 'Selector' in scope
46 | }
47 |
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
| `- error: cannot find type 'Selector' in scope
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:26: error: method does not override any method from its superclass
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
| `- error: method does not override any method from its superclass
51 | self
52 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:19:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
17 | init(owner: any PuppetUndoManagerDelegate) {
18 | self.owner = owner
19 | super.init()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:20:9: error: cannot find 'groupsByEvent' in scope
18 | self.owner = owner
19 | super.init()
20 | groupsByEvent = false
| `- error: cannot find 'groupsByEvent' in scope
21 | super.beginUndoGrouping()
22 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:21:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
19 | super.init()
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
22 | }
23 |
[32/51] Compiling TextBuffer SendableRopeBuffer+Conversion.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:14:39: error: cannot find type 'UndoManager' in scope
12 |
13 | @MainActor
14 | public final class PuppetUndoManager: UndoManager {
| `- error: cannot find type 'UndoManager' in scope
15 | weak var owner: (any PuppetUndoManagerDelegate)?
16 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:26: error: method does not override any method from its superclass
22 | }
23 |
24 | public override func undo() {
| `- error: method does not override any method from its superclass
25 | owner?.puppetUndo()
26 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:28:26: error: method does not override any method from its superclass
26 | }
27 |
28 | public override func redo() {
| `- error: method does not override any method from its superclass
29 | owner?.puppetRedo()
30 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:32:25: error: property does not override any property from its superclass
30 | }
31 |
32 | public override var canUndo: Bool {
| `- error: property does not override any property from its superclass
33 | owner?.puppetCanUndo ?? false
34 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:36:25: error: property does not override any property from its superclass
34 | }
35 |
36 | public override var canRedo: Bool {
| `- error: property does not override any property from its superclass
37 | owner?.puppetCanRedo ?? false
38 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:40:25: error: property does not override any property from its superclass
38 | }
39 |
40 | public override var undoActionName: String {
| `- error: property does not override any property from its superclass
41 | owner?.puppetUndoActionName ?? ""
42 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:44:25: error: property does not override any property from its superclass
42 | }
43 |
44 | public override var redoActionName: String {
| `- error: property does not override any property from its superclass
45 | owner?.puppetRedoActionName ?? ""
46 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:48:73: error: cannot find type 'Selector' in scope
46 | }
47 |
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
| `- error: cannot find type 'Selector' in scope
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:26: error: method does not override any method from its superclass
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
| `- error: method does not override any method from its superclass
51 | self
52 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:19:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
17 | init(owner: any PuppetUndoManagerDelegate) {
18 | self.owner = owner
19 | super.init()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:20:9: error: cannot find 'groupsByEvent' in scope
18 | self.owner = owner
19 | super.init()
20 | groupsByEvent = false
| `- error: cannot find 'groupsByEvent' in scope
21 | super.beginUndoGrouping()
22 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:21:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
19 | super.init()
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
22 | }
23 |
[33/51] Compiling TextBuffer SendableRopeBuffer.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:14:39: error: cannot find type 'UndoManager' in scope
12 |
13 | @MainActor
14 | public final class PuppetUndoManager: UndoManager {
| `- error: cannot find type 'UndoManager' in scope
15 | weak var owner: (any PuppetUndoManagerDelegate)?
16 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:26: error: method does not override any method from its superclass
22 | }
23 |
24 | public override func undo() {
| `- error: method does not override any method from its superclass
25 | owner?.puppetUndo()
26 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:28:26: error: method does not override any method from its superclass
26 | }
27 |
28 | public override func redo() {
| `- error: method does not override any method from its superclass
29 | owner?.puppetRedo()
30 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:32:25: error: property does not override any property from its superclass
30 | }
31 |
32 | public override var canUndo: Bool {
| `- error: property does not override any property from its superclass
33 | owner?.puppetCanUndo ?? false
34 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:36:25: error: property does not override any property from its superclass
34 | }
35 |
36 | public override var canRedo: Bool {
| `- error: property does not override any property from its superclass
37 | owner?.puppetCanRedo ?? false
38 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:40:25: error: property does not override any property from its superclass
38 | }
39 |
40 | public override var undoActionName: String {
| `- error: property does not override any property from its superclass
41 | owner?.puppetUndoActionName ?? ""
42 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:44:25: error: property does not override any property from its superclass
42 | }
43 |
44 | public override var redoActionName: String {
| `- error: property does not override any property from its superclass
45 | owner?.puppetRedoActionName ?? ""
46 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:48:73: error: cannot find type 'Selector' in scope
46 | }
47 |
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
| `- error: cannot find type 'Selector' in scope
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:26: error: method does not override any method from its superclass
48 | public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
49 |
50 | public override func prepare(withInvocationTarget target: Any) -> Any {
| `- error: method does not override any method from its superclass
51 | self
52 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:19:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
17 | init(owner: any PuppetUndoManagerDelegate) {
18 | self.owner = owner
19 | super.init()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:20:9: error: cannot find 'groupsByEvent' in scope
18 | self.owner = owner
19 | super.init()
20 | groupsByEvent = false
| `- error: cannot find 'groupsByEvent' in scope
21 | super.beginUndoGrouping()
22 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:21:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
19 | super.init()
20 | groupsByEvent = false
21 | super.beginUndoGrouping()
| `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
22 | }
23 |
[34/51] Compiling TextBuffer Bool+inverted.swift
[35/51] Compiling TextBuffer AsyncBuffer.swift
[36/51] Compiling TextBuffer Buffer+contains.swift
[37/51] Compiling TextBuffer Buffer+wordRange.swift
[38/51] Compiling TextBuffer Buffer.swift
[39/51] Compiling TextBuffer BufferAccessFailure.swift
[40/51] Compiling TextBuffer BufferContent.swift
[41/51] Compiling TextBuffer BufferRange.swift
[42/51] Compiling TextBuffer MutableStringBuffer.swift
[43/51] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[44/51] Compiling TextBuffer Undoable+NSTextViewBuffer.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:83:31: error: cannot find type 'UndoManager' in scope
81 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
82 | @usableFromInline
83 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
84 |
85 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:91:29: error: cannot find type 'UndoManager' in scope
89 | /// 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).
90 | @inlinable @inline(__always)
91 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
92 |
93 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:41: error: cannot find type 'UndoManager' in scope
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:25: error: '@escaping' only applies to function types
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: '@escaping' only applies to function types
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:112:22: error: cannot find type 'UndoManager' in scope
110 | public convenience init(
111 | _ base: Base,
112 | undoManager: UndoManager
| `- error: cannot find type 'UndoManager' in scope
113 | ) {
114 | self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:114:25: error: extra trailing closure passed in call
112 | undoManager: UndoManager
113 | ) {
114 | self.init(base) {
| `- error: extra trailing closure passed in call
115 | return undoManager
116 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:121:27: error: cannot find 'UndoManager' in scope
119 | @inlinable
120 | public convenience init(_ base: Base) {
121 | let undoManager = UndoManager()
| `- error: cannot find 'UndoManager' in scope
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:123:38: error: extra argument 'undoManager' in call
121 | let undoManager = UndoManager()
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
| `- error: extra argument 'undoManager' in call
124 | }
125 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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 |
[45/51] Compiling TextBuffer Undoable.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:83:31: error: cannot find type 'UndoManager' in scope
81 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
82 | @usableFromInline
83 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
84 |
85 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:91:29: error: cannot find type 'UndoManager' in scope
89 | /// 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).
90 | @inlinable @inline(__always)
91 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
92 |
93 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:41: error: cannot find type 'UndoManager' in scope
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:25: error: '@escaping' only applies to function types
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: '@escaping' only applies to function types
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:112:22: error: cannot find type 'UndoManager' in scope
110 | public convenience init(
111 | _ base: Base,
112 | undoManager: UndoManager
| `- error: cannot find type 'UndoManager' in scope
113 | ) {
114 | self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:114:25: error: extra trailing closure passed in call
112 | undoManager: UndoManager
113 | ) {
114 | self.init(base) {
| `- error: extra trailing closure passed in call
115 | return undoManager
116 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:121:27: error: cannot find 'UndoManager' in scope
119 | @inlinable
120 | public convenience init(_ base: Base) {
121 | let undoManager = UndoManager()
| `- error: cannot find 'UndoManager' in scope
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:123:38: error: extra argument 'undoManager' in call
121 | let undoManager = UndoManager()
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
| `- error: extra argument 'undoManager' in call
124 | }
125 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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 |
[46/51] Compiling TextBuffer Exports.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:83:31: error: cannot find type 'UndoManager' in scope
81 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
82 | @usableFromInline
83 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
84 |
85 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:91:29: error: cannot find type 'UndoManager' in scope
89 | /// 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).
90 | @inlinable @inline(__always)
91 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
92 |
93 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:41: error: cannot find type 'UndoManager' in scope
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:25: error: '@escaping' only applies to function types
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: '@escaping' only applies to function types
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:112:22: error: cannot find type 'UndoManager' in scope
110 | public convenience init(
111 | _ base: Base,
112 | undoManager: UndoManager
| `- error: cannot find type 'UndoManager' in scope
113 | ) {
114 | self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:114:25: error: extra trailing closure passed in call
112 | undoManager: UndoManager
113 | ) {
114 | self.init(base) {
| `- error: extra trailing closure passed in call
115 | return undoManager
116 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:121:27: error: cannot find 'UndoManager' in scope
119 | @inlinable
120 | public convenience init(_ base: Base) {
121 | let undoManager = UndoManager()
| `- error: cannot find 'UndoManager' in scope
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:123:38: error: extra argument 'undoManager' in call
121 | let undoManager = UndoManager()
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
| `- error: extra argument 'undoManager' in call
124 | }
125 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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 |
[47/51] Compiling TextBuffer NSRange+Order.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/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/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:83:31: error: cannot find type 'UndoManager' in scope
81 | /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
82 | @usableFromInline
83 | let getUndoManager: () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
84 |
85 | /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:91:29: error: cannot find type 'UndoManager' in scope
89 | /// 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).
90 | @inlinable @inline(__always)
91 | public var undoManager: UndoManager? { getUndoManager() }
| `- error: cannot find type 'UndoManager' in scope
92 |
93 | @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:41: error: cannot find type 'UndoManager' in scope
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: cannot find type 'UndoManager' in scope
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:96:25: error: '@escaping' only applies to function types
94 | required init(
95 | _ base: Base,
96 | getUndoManager: @escaping () -> UndoManager?
| `- error: '@escaping' only applies to function types
97 | ) {
98 | self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:112:22: error: cannot find type 'UndoManager' in scope
110 | public convenience init(
111 | _ base: Base,
112 | undoManager: UndoManager
| `- error: cannot find type 'UndoManager' in scope
113 | ) {
114 | self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:114:25: error: extra trailing closure passed in call
112 | undoManager: UndoManager
113 | ) {
114 | self.init(base) {
| `- error: extra trailing closure passed in call
115 | return undoManager
116 | }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:121:27: error: cannot find 'UndoManager' in scope
119 | @inlinable
120 | public convenience init(_ base: Base) {
121 | let undoManager = UndoManager()
| `- error: cannot find 'UndoManager' in scope
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:123:38: error: extra argument 'undoManager' in call
121 | let undoManager = UndoManager()
122 | undoManager.groupsByEvent = false
123 | self.init(base, undoManager: undoManager)
| `- error: extra argument 'undoManager' in call
124 | }
125 |
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/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 |
[48/51] Compiling TextBuffer NSString+locationUpToCharacter.swift
[49/51] Compiling TextBuffer BufferOperation.swift
[50/51] Compiling TextBuffer OperationLog.swift
[51/51] Compiling TextBuffer UndoGroup.swift
BUILD FAILURE 6.3 android