The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TextBuffer, reference main (3dfbfc), with Swift 6.4 for Android on 26 Sep 2026 20:44:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
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:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/CleanCocoa/TextBuffer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Building for debugging...
[Pre-planning 1 / 182]
[Starting]
[42 / 66] TextRope
[51 / 76] TextBuffer
[53 / 76] TextBuffer
[55 / 76] TextBuffer
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/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 |
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/TextBuffer/Bool+inverted.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/AsyncBuffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/Buffer+contains.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/Buffer+wordRange.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/Buffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/BufferAccessFailure.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/BufferContent.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/BufferRange.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/MutableStringBuffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/NSMutableString+BufferCompatibility.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/NSTextViewBuffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/NSTextViewOperationLogBridge.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/PuppetUndoManager.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/RopeBuffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/SendableRopeBuffer+Conversion.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/SendableRopeBuffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/TextAnalysisCapable.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/TextBuffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/TransferableUndoable.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/UTF16.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift /host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift /host/spi-builder-workspace/Sources/TextBuffer/Exports.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+Order.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+Resized.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+Shifted.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+Subtracting.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+containsRange.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+expandedToOther.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+notFound.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+prefix.swift /host/spi-builder-workspace/Sources/TextBuffer/NSRange+suffix.swift /host/spi-builder-workspace/Sources/TextBuffer/NSString+locationUpToCharacter.swift /host/spi-builder-workspace/Sources/TextBuffer/OperationLog/BufferOperation.swift /host/spi-builder-workspace/Sources/TextBuffer/OperationLog/OperationLog.swift /host/spi-builder-workspace/Sources/TextBuffer/OperationLog/UndoGroup.swift /host/spi-builder-workspace/Sources/TextBuffer/TextRope+ComposedSequences.swift /host/spi-builder-workspace/Sources/TextBuffer/TextRope+LineRange.swift /host/spi-builder-workspace/Sources/TextBuffer/TextRope+NSRange.swift /host/spi-builder-workspace/Sources/TextBuffer/TextRope+WordRange.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TextBuffer -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/Objects-normal/aarch64/TextBuffer_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/Objects-normal/aarch64/Modules/TextBuffer.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/Objects-normal/aarch64/Modules/TextBuffer.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/Objects-normal/aarch64/TextBuffer-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/Objects-normal/aarch64/TextBuffer-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/Objects-normal/aarch64/TextBuffer-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/TextBuffer.build/Debug-android-aarch64/TextBuffer-t.build/Objects-normal/aarch64/Modules/TextBuffer.swiftmodule
[57 / 77] TextRope
error: Build failed
BUILD FAILURE 6.4 android