The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DeclarativeTextKit, reference 0.8.1 (c114d1), with Swift 6.3 for Wasm on 15 Apr 2026 16:08:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/DeclarativeTextKit.git
Reference: 0.8.1
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
 * tag               0.8.1      -> FETCH_HEAD
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 0.8.1
========================================
Build
========================================
Selected platform:         wasm
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-4609320-3":/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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/CleanCocoa/TextBuffer
[1/989] Fetching textbuffer
Fetched https://github.com/CleanCocoa/TextBuffer from cache (0.50s)
Computing version for https://github.com/CleanCocoa/TextBuffer
Computed https://github.com/CleanCocoa/TextBuffer at 0.5.0 (1.28s)
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-24593BA9C3E375BF.txt
[5/13] Emitting module TextRope
[6/14] Compiling TextRope TextRope.swift
[7/14] Compiling TextRope TextRope+COW.swift
[8/14] Compiling TextRope Node.swift
[9/14] Compiling TextRope Summary.swift
[10/14] Compiling TextRope TextRope+Construction.swift
[11/14] Compiling TextRope TextRope+Navigation.swift
[12/14] Compiling TextRope TextRope+Insert.swift
[13/14] Compiling TextRope TextRope+Replace.swift
[14/14] Compiling TextRope TextRope+Delete.swift
[16/47] 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)
[17/47] 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)
[18/47] 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)
[19/47] 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)
[20/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 |
[21/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 |
[22/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 |
[23/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 |
[24/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 |
[25/51] Compiling TextBuffer Bool+inverted.swift
[26/51] Compiling TextBuffer AsyncBuffer.swift
[27/51] Compiling TextBuffer Buffer+contains.swift
[28/51] Compiling TextBuffer Buffer+wordRange.swift
[29/51] Compiling TextBuffer Buffer.swift
[30/51] Compiling TextBuffer NSRange+expandedToOther.swift
[31/51] Compiling TextBuffer NSRange+notFound.swift
[32/51] Compiling TextBuffer NSRange+prefix.swift
[33/51] Compiling TextBuffer NSRange+suffix.swift
[34/51] Compiling TextBuffer NSRange+Resized.swift
[35/51] Compiling TextBuffer NSRange+Shifted.swift
[36/51] Compiling TextBuffer NSRange+Subtracting.swift
[37/51] Compiling TextBuffer NSRange+containsRange.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/51] 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 |
[39/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 |
[40/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 |
[41/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 |
[42/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 |
[43/51] Compiling TextBuffer BufferAccessFailure.swift
[44/51] Compiling TextBuffer BufferContent.swift
[45/51] Compiling TextBuffer BufferRange.swift
[46/51] Compiling TextBuffer MutableStringBuffer.swift
[47/51] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[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 wasm