The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TextBuffer, reference main (3dfbfc), with Swift 6.3 for Wasm on 12 Aug 2026 22:55:07 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/TextBuffer.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/TextBuffer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3dfbfc1 chore: release 0.12.0
Cloned https://github.com/CleanCocoa/TextBuffer.git
Revision (git rev-parse @):
3dfbfc13fe4e7f898a3b7c3d13d3eb1451eb8386
SUCCESS checkout https://github.com/CleanCocoa/TextBuffer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/CleanCocoa/TextBuffer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:e92e38b97676c18adb57b57429ddfb766786102cb50cb918e0d9e8055d05b35d
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling TextRope TextRope+Replace.swift
[6/16] Compiling TextRope TextRope.swift
[7/16] Compiling TextRope TextRope+Navigation.swift
[8/16] Compiling TextRope TextRope+COW.swift
[9/16] Compiling TextRope TextRope+Construction.swift
[10/16] Compiling TextRope TextRope+Delete.swift
[11/16] Compiling TextRope TextRope+Insert.swift
[12/16] Emitting module TextRope
[13/16] Compiling TextRope Node.swift
[14/16] Compiling TextRope Summary.swift
[15/16] Compiling TextRope Node+Merge.swift
[16/16] Compiling TextRope Node+Split.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/53] Emitting module TextBuffer
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:39: error: cannot find type 'UndoManager' in scope
22 | /// only undo authority.
23 | @MainActor
24 | public final class PuppetUndoManager: UndoManager {
   |                                       `- error: cannot find type 'UndoManager' in scope
25 |     weak var owner: (any PuppetUndoManagerDelegate)?
26 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     public override func undo() {
   |                          `- error: method does not override any method from its superclass
35 |         owner?.puppetUndo()
36 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:38:26: error: method does not override any method from its superclass
36 |     }
37 |
38 |     public override func redo() {
   |                          `- error: method does not override any method from its superclass
39 |         owner?.puppetRedo()
40 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:42:25: error: property does not override any property from its superclass
40 |     }
41 |
42 |     public override var canUndo: Bool {
   |                         `- error: property does not override any property from its superclass
43 |         owner?.puppetCanUndo ?? false
44 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:46:25: error: property does not override any property from its superclass
44 |     }
45 |
46 |     public override var canRedo: Bool {
   |                         `- error: property does not override any property from its superclass
47 |         owner?.puppetCanRedo ?? false
48 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:25: error: property does not override any property from its superclass
48 |     }
49 |
50 |     public override var undoActionName: String {
   |                         `- error: property does not override any property from its superclass
51 |         owner?.puppetUndoActionName ?? ""
52 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:54:25: error: property does not override any property from its superclass
52 |     }
53 |
54 |     public override var redoActionName: String {
   |                         `- error: property does not override any property from its superclass
55 |         owner?.puppetRedoActionName ?? ""
56 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:58:73: error: cannot find type 'Selector' in scope
56 |     }
57 |
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
   |                                                                         `- error: cannot find type 'Selector' in scope
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:60:26: error: method does not override any method from its superclass
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
   |                          `- error: method does not override any method from its superclass
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:62:26: error: method does not override any method from its superclass
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
   |                          `- error: method does not override any method from its superclass
63 |         invocationSwallower
64 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:77:54: error: cannot find type 'Selector' in scope
75 | /// in Swift.
76 | private final class SwallowingInvocationTarget: NSObject {
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
   |                                                      `- error: cannot find type 'Selector' in scope
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/TransferableUndoable.swift:140:50: error: cannot find type 'UndoManager' in scope
138 |
139 | extension TransferableUndoable {
140 |     public func enableSystemUndoIntegration() -> UndoManager {
    |                                                  `- error: cannot find type 'UndoManager' in scope
141 |         if let existing = puppetUndoManager { return existing }
142 |         let puppet = PuppetUndoManager(owner: self)
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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 |
[19/58] Compiling TextBuffer NSRange+Shifted.swift
[20/58] Compiling TextBuffer NSRange+Subtracting.swift
[21/58] Compiling TextBuffer NSRange+containsRange.swift
[22/58] Compiling TextBuffer NSRange+expandedToOther.swift
[23/58] Compiling TextBuffer NSRange+notFound.swift
[24/58] Compiling TextBuffer Undoable+NSTextViewBuffer.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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 |
[25/58] Compiling TextBuffer Undoable.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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 |
[26/58] Compiling TextBuffer Exports.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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 |
[27/58] Compiling TextBuffer NSRange+Order.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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 |
[28/58] Compiling TextBuffer NSRange+Resized.swift
/host/spi-builder-workspace/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/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/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/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/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/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/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/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/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/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/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/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 |
[29/58] Compiling TextBuffer NSRange+prefix.swift
[30/58] Compiling TextBuffer NSRange+suffix.swift
[31/58] Compiling TextBuffer NSString+locationUpToCharacter.swift
[32/58] Compiling TextBuffer BufferOperation.swift
[33/58] Compiling TextBuffer OperationLog.swift
[34/58] Compiling TextBuffer BufferAccessFailure.swift
[35/58] Compiling TextBuffer BufferContent.swift
[36/58] Compiling TextBuffer BufferRange.swift
[37/58] Compiling TextBuffer MutableStringBuffer.swift
[38/58] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[39/58] Compiling TextBuffer NSTextViewBuffer.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:39: error: cannot find type 'UndoManager' in scope
22 | /// only undo authority.
23 | @MainActor
24 | public final class PuppetUndoManager: UndoManager {
   |                                       `- error: cannot find type 'UndoManager' in scope
25 |     weak var owner: (any PuppetUndoManagerDelegate)?
26 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     public override func undo() {
   |                          `- error: method does not override any method from its superclass
35 |         owner?.puppetUndo()
36 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:38:26: error: method does not override any method from its superclass
36 |     }
37 |
38 |     public override func redo() {
   |                          `- error: method does not override any method from its superclass
39 |         owner?.puppetRedo()
40 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:42:25: error: property does not override any property from its superclass
40 |     }
41 |
42 |     public override var canUndo: Bool {
   |                         `- error: property does not override any property from its superclass
43 |         owner?.puppetCanUndo ?? false
44 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:46:25: error: property does not override any property from its superclass
44 |     }
45 |
46 |     public override var canRedo: Bool {
   |                         `- error: property does not override any property from its superclass
47 |         owner?.puppetCanRedo ?? false
48 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:25: error: property does not override any property from its superclass
48 |     }
49 |
50 |     public override var undoActionName: String {
   |                         `- error: property does not override any property from its superclass
51 |         owner?.puppetUndoActionName ?? ""
52 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:54:25: error: property does not override any property from its superclass
52 |     }
53 |
54 |     public override var redoActionName: String {
   |                         `- error: property does not override any property from its superclass
55 |         owner?.puppetRedoActionName ?? ""
56 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:58:73: error: cannot find type 'Selector' in scope
56 |     }
57 |
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
   |                                                                         `- error: cannot find type 'Selector' in scope
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:60:26: error: method does not override any method from its superclass
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
   |                          `- error: method does not override any method from its superclass
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:62:26: error: method does not override any method from its superclass
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
   |                          `- error: method does not override any method from its superclass
63 |         invocationSwallower
64 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:77:54: error: cannot find type 'Selector' in scope
75 | /// in Swift.
76 | private final class SwallowingInvocationTarget: NSObject {
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
   |                                                      `- error: cannot find type 'Selector' in scope
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:29:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
27 |     init(owner: any PuppetUndoManagerDelegate) {
28 |         self.owner = owner
29 |         super.init()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:30:9: error: cannot find 'groupsByEvent' in scope
28 |         self.owner = owner
29 |         super.init()
30 |         groupsByEvent = false
   |         `- error: cannot find 'groupsByEvent' in scope
31 |         super.beginUndoGrouping()
32 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:31:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
29 |         super.init()
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
32 |     }
33 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:9: error: cannot find 'class_addMethod' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |         `- error: cannot find 'class_addMethod' in scope
80 |         return true
81 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:36: error: cannot find 'imp_implementationWithBlock' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |                                    `- error: cannot find 'imp_implementationWithBlock' in scope
80 |         return true
81 |     }
[40/58] Compiling TextBuffer NSTextViewOperationLogBridge.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:39: error: cannot find type 'UndoManager' in scope
22 | /// only undo authority.
23 | @MainActor
24 | public final class PuppetUndoManager: UndoManager {
   |                                       `- error: cannot find type 'UndoManager' in scope
25 |     weak var owner: (any PuppetUndoManagerDelegate)?
26 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     public override func undo() {
   |                          `- error: method does not override any method from its superclass
35 |         owner?.puppetUndo()
36 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:38:26: error: method does not override any method from its superclass
36 |     }
37 |
38 |     public override func redo() {
   |                          `- error: method does not override any method from its superclass
39 |         owner?.puppetRedo()
40 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:42:25: error: property does not override any property from its superclass
40 |     }
41 |
42 |     public override var canUndo: Bool {
   |                         `- error: property does not override any property from its superclass
43 |         owner?.puppetCanUndo ?? false
44 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:46:25: error: property does not override any property from its superclass
44 |     }
45 |
46 |     public override var canRedo: Bool {
   |                         `- error: property does not override any property from its superclass
47 |         owner?.puppetCanRedo ?? false
48 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:25: error: property does not override any property from its superclass
48 |     }
49 |
50 |     public override var undoActionName: String {
   |                         `- error: property does not override any property from its superclass
51 |         owner?.puppetUndoActionName ?? ""
52 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:54:25: error: property does not override any property from its superclass
52 |     }
53 |
54 |     public override var redoActionName: String {
   |                         `- error: property does not override any property from its superclass
55 |         owner?.puppetRedoActionName ?? ""
56 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:58:73: error: cannot find type 'Selector' in scope
56 |     }
57 |
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
   |                                                                         `- error: cannot find type 'Selector' in scope
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:60:26: error: method does not override any method from its superclass
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
   |                          `- error: method does not override any method from its superclass
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:62:26: error: method does not override any method from its superclass
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
   |                          `- error: method does not override any method from its superclass
63 |         invocationSwallower
64 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:77:54: error: cannot find type 'Selector' in scope
75 | /// in Swift.
76 | private final class SwallowingInvocationTarget: NSObject {
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
   |                                                      `- error: cannot find type 'Selector' in scope
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:29:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
27 |     init(owner: any PuppetUndoManagerDelegate) {
28 |         self.owner = owner
29 |         super.init()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:30:9: error: cannot find 'groupsByEvent' in scope
28 |         self.owner = owner
29 |         super.init()
30 |         groupsByEvent = false
   |         `- error: cannot find 'groupsByEvent' in scope
31 |         super.beginUndoGrouping()
32 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:31:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
29 |         super.init()
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
32 |     }
33 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:9: error: cannot find 'class_addMethod' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |         `- error: cannot find 'class_addMethod' in scope
80 |         return true
81 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:36: error: cannot find 'imp_implementationWithBlock' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |                                    `- error: cannot find 'imp_implementationWithBlock' in scope
80 |         return true
81 |     }
[41/58] Compiling TextBuffer PuppetUndoManager.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:39: error: cannot find type 'UndoManager' in scope
22 | /// only undo authority.
23 | @MainActor
24 | public final class PuppetUndoManager: UndoManager {
   |                                       `- error: cannot find type 'UndoManager' in scope
25 |     weak var owner: (any PuppetUndoManagerDelegate)?
26 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     public override func undo() {
   |                          `- error: method does not override any method from its superclass
35 |         owner?.puppetUndo()
36 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:38:26: error: method does not override any method from its superclass
36 |     }
37 |
38 |     public override func redo() {
   |                          `- error: method does not override any method from its superclass
39 |         owner?.puppetRedo()
40 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:42:25: error: property does not override any property from its superclass
40 |     }
41 |
42 |     public override var canUndo: Bool {
   |                         `- error: property does not override any property from its superclass
43 |         owner?.puppetCanUndo ?? false
44 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:46:25: error: property does not override any property from its superclass
44 |     }
45 |
46 |     public override var canRedo: Bool {
   |                         `- error: property does not override any property from its superclass
47 |         owner?.puppetCanRedo ?? false
48 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:25: error: property does not override any property from its superclass
48 |     }
49 |
50 |     public override var undoActionName: String {
   |                         `- error: property does not override any property from its superclass
51 |         owner?.puppetUndoActionName ?? ""
52 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:54:25: error: property does not override any property from its superclass
52 |     }
53 |
54 |     public override var redoActionName: String {
   |                         `- error: property does not override any property from its superclass
55 |         owner?.puppetRedoActionName ?? ""
56 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:58:73: error: cannot find type 'Selector' in scope
56 |     }
57 |
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
   |                                                                         `- error: cannot find type 'Selector' in scope
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:60:26: error: method does not override any method from its superclass
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
   |                          `- error: method does not override any method from its superclass
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:62:26: error: method does not override any method from its superclass
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
   |                          `- error: method does not override any method from its superclass
63 |         invocationSwallower
64 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:77:54: error: cannot find type 'Selector' in scope
75 | /// in Swift.
76 | private final class SwallowingInvocationTarget: NSObject {
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
   |                                                      `- error: cannot find type 'Selector' in scope
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:29:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
27 |     init(owner: any PuppetUndoManagerDelegate) {
28 |         self.owner = owner
29 |         super.init()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:30:9: error: cannot find 'groupsByEvent' in scope
28 |         self.owner = owner
29 |         super.init()
30 |         groupsByEvent = false
   |         `- error: cannot find 'groupsByEvent' in scope
31 |         super.beginUndoGrouping()
32 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:31:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
29 |         super.init()
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
32 |     }
33 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:9: error: cannot find 'class_addMethod' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |         `- error: cannot find 'class_addMethod' in scope
80 |         return true
81 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:36: error: cannot find 'imp_implementationWithBlock' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |                                    `- error: cannot find 'imp_implementationWithBlock' in scope
80 |         return true
81 |     }
[42/58] Compiling TextBuffer RopeBuffer.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:39: error: cannot find type 'UndoManager' in scope
22 | /// only undo authority.
23 | @MainActor
24 | public final class PuppetUndoManager: UndoManager {
   |                                       `- error: cannot find type 'UndoManager' in scope
25 |     weak var owner: (any PuppetUndoManagerDelegate)?
26 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     public override func undo() {
   |                          `- error: method does not override any method from its superclass
35 |         owner?.puppetUndo()
36 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:38:26: error: method does not override any method from its superclass
36 |     }
37 |
38 |     public override func redo() {
   |                          `- error: method does not override any method from its superclass
39 |         owner?.puppetRedo()
40 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:42:25: error: property does not override any property from its superclass
40 |     }
41 |
42 |     public override var canUndo: Bool {
   |                         `- error: property does not override any property from its superclass
43 |         owner?.puppetCanUndo ?? false
44 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:46:25: error: property does not override any property from its superclass
44 |     }
45 |
46 |     public override var canRedo: Bool {
   |                         `- error: property does not override any property from its superclass
47 |         owner?.puppetCanRedo ?? false
48 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:25: error: property does not override any property from its superclass
48 |     }
49 |
50 |     public override var undoActionName: String {
   |                         `- error: property does not override any property from its superclass
51 |         owner?.puppetUndoActionName ?? ""
52 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:54:25: error: property does not override any property from its superclass
52 |     }
53 |
54 |     public override var redoActionName: String {
   |                         `- error: property does not override any property from its superclass
55 |         owner?.puppetRedoActionName ?? ""
56 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:58:73: error: cannot find type 'Selector' in scope
56 |     }
57 |
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
   |                                                                         `- error: cannot find type 'Selector' in scope
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:60:26: error: method does not override any method from its superclass
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
   |                          `- error: method does not override any method from its superclass
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:62:26: error: method does not override any method from its superclass
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
   |                          `- error: method does not override any method from its superclass
63 |         invocationSwallower
64 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:77:54: error: cannot find type 'Selector' in scope
75 | /// in Swift.
76 | private final class SwallowingInvocationTarget: NSObject {
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
   |                                                      `- error: cannot find type 'Selector' in scope
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:29:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
27 |     init(owner: any PuppetUndoManagerDelegate) {
28 |         self.owner = owner
29 |         super.init()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:30:9: error: cannot find 'groupsByEvent' in scope
28 |         self.owner = owner
29 |         super.init()
30 |         groupsByEvent = false
   |         `- error: cannot find 'groupsByEvent' in scope
31 |         super.beginUndoGrouping()
32 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:31:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
29 |         super.init()
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
32 |     }
33 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:9: error: cannot find 'class_addMethod' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |         `- error: cannot find 'class_addMethod' in scope
80 |         return true
81 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:36: error: cannot find 'imp_implementationWithBlock' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |                                    `- error: cannot find 'imp_implementationWithBlock' in scope
80 |         return true
81 |     }
[43/58] Compiling TextBuffer SendableRopeBuffer+Conversion.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:24:39: error: cannot find type 'UndoManager' in scope
22 | /// only undo authority.
23 | @MainActor
24 | public final class PuppetUndoManager: UndoManager {
   |                                       `- error: cannot find type 'UndoManager' in scope
25 |     weak var owner: (any PuppetUndoManagerDelegate)?
26 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:34:26: error: method does not override any method from its superclass
32 |     }
33 |
34 |     public override func undo() {
   |                          `- error: method does not override any method from its superclass
35 |         owner?.puppetUndo()
36 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:38:26: error: method does not override any method from its superclass
36 |     }
37 |
38 |     public override func redo() {
   |                          `- error: method does not override any method from its superclass
39 |         owner?.puppetRedo()
40 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:42:25: error: property does not override any property from its superclass
40 |     }
41 |
42 |     public override var canUndo: Bool {
   |                         `- error: property does not override any property from its superclass
43 |         owner?.puppetCanUndo ?? false
44 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:46:25: error: property does not override any property from its superclass
44 |     }
45 |
46 |     public override var canRedo: Bool {
   |                         `- error: property does not override any property from its superclass
47 |         owner?.puppetCanRedo ?? false
48 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:50:25: error: property does not override any property from its superclass
48 |     }
49 |
50 |     public override var undoActionName: String {
   |                         `- error: property does not override any property from its superclass
51 |         owner?.puppetUndoActionName ?? ""
52 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:54:25: error: property does not override any property from its superclass
52 |     }
53 |
54 |     public override var redoActionName: String {
   |                         `- error: property does not override any property from its superclass
55 |         owner?.puppetRedoActionName ?? ""
56 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:58:73: error: cannot find type 'Selector' in scope
56 |     }
57 |
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
   |                                                                         `- error: cannot find type 'Selector' in scope
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:60:26: error: method does not override any method from its superclass
58 |     public override func registerUndo(withTarget target: Any, selector: Selector, object: Any?) {}
59 |
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
   |                          `- error: method does not override any method from its superclass
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:62:26: error: method does not override any method from its superclass
60 |     public override func __registerUndoWithTarget(_ target: Any, handler: @escaping @MainActor (Any) -> Void) {}
61 |
62 |     public override func prepare(withInvocationTarget target: Any) -> Any {
   |                          `- error: method does not override any method from its superclass
63 |         invocationSwallower
64 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:77:54: error: cannot find type 'Selector' in scope
75 | /// in Swift.
76 | private final class SwallowingInvocationTarget: NSObject {
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
   |                                                      `- error: cannot find type 'Selector' in scope
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:29:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
27 |     init(owner: any PuppetUndoManagerDelegate) {
28 |         self.owner = owner
29 |         super.init()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:30:9: error: cannot find 'groupsByEvent' in scope
28 |         self.owner = owner
29 |         super.init()
30 |         groupsByEvent = false
   |         `- error: cannot find 'groupsByEvent' in scope
31 |         super.beginUndoGrouping()
32 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:31:9: error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
29 |         super.init()
30 |         groupsByEvent = false
31 |         super.beginUndoGrouping()
   |         `- error: 'super' cannot be used in class 'PuppetUndoManager' because it has no superclass
32 |     }
33 |
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:9: error: cannot find 'class_addMethod' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |         `- error: cannot find 'class_addMethod' in scope
80 |         return true
81 |     }
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift:79:36: error: cannot find 'imp_implementationWithBlock' in scope
77 |     override class func resolveInstanceMethod(_ sel: Selector) -> Bool {
78 |         let swallow: @convention(block) (AnyObject) -> AnyObject? = { _ in nil }
79 |         class_addMethod(self, sel, imp_implementationWithBlock(swallow), "@@:")
   |                                    `- error: cannot find 'imp_implementationWithBlock' in scope
80 |         return true
81 |     }
[44/58] Compiling TextBuffer Bool+inverted.swift
[45/58] Compiling TextBuffer AsyncBuffer.swift
[46/58] Compiling TextBuffer Buffer+contains.swift
[47/58] Compiling TextBuffer Buffer+wordRange.swift
[48/58] Compiling TextBuffer Buffer.swift
[49/58] Compiling TextBuffer SendableRopeBuffer.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/TransferableUndoable.swift:140:50: error: cannot find type 'UndoManager' in scope
138 |
139 | extension TransferableUndoable {
140 |     public func enableSystemUndoIntegration() -> UndoManager {
    |                                                  `- error: cannot find type 'UndoManager' in scope
141 |         if let existing = puppetUndoManager { return existing }
142 |         let puppet = PuppetUndoManager(owner: self)
[50/58] Compiling TextBuffer TextAnalysisCapable.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/TransferableUndoable.swift:140:50: error: cannot find type 'UndoManager' in scope
138 |
139 | extension TransferableUndoable {
140 |     public func enableSystemUndoIntegration() -> UndoManager {
    |                                                  `- error: cannot find type 'UndoManager' in scope
141 |         if let existing = puppetUndoManager { return existing }
142 |         let puppet = PuppetUndoManager(owner: self)
[51/58] Compiling TextBuffer TextBuffer.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/TransferableUndoable.swift:140:50: error: cannot find type 'UndoManager' in scope
138 |
139 | extension TransferableUndoable {
140 |     public func enableSystemUndoIntegration() -> UndoManager {
    |                                                  `- error: cannot find type 'UndoManager' in scope
141 |         if let existing = puppetUndoManager { return existing }
142 |         let puppet = PuppetUndoManager(owner: self)
[52/58] Compiling TextBuffer TransferableUndoable.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/TransferableUndoable.swift:140:50: error: cannot find type 'UndoManager' in scope
138 |
139 | extension TransferableUndoable {
140 |     public func enableSystemUndoIntegration() -> UndoManager {
    |                                                  `- error: cannot find type 'UndoManager' in scope
141 |         if let existing = puppetUndoManager { return existing }
142 |         let puppet = PuppetUndoManager(owner: self)
[53/58] Compiling TextBuffer UTF16.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/TransferableUndoable.swift:140:50: error: cannot find type 'UndoManager' in scope
138 |
139 | extension TransferableUndoable {
140 |     public func enableSystemUndoIntegration() -> UndoManager {
    |                                                  `- error: cannot find type 'UndoManager' in scope
141 |         if let existing = puppetUndoManager { return existing }
142 |         let puppet = PuppetUndoManager(owner: self)
[54/58] Compiling TextBuffer UndoGroup.swift
[55/58] Compiling TextBuffer TextRope+ComposedSequences.swift
[56/58] Compiling TextBuffer TextRope+LineRange.swift
[57/58] Compiling TextBuffer TextRope+NSRange.swift
[58/58] Compiling TextBuffer TextRope+WordRange.swift
BUILD FAILURE 6.3 wasm