The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build TextBuffer, reference main (70ee7a), with Swift 6.0 for Linux on 25 Jan 2025 10:07:47 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.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 70ee7a9 make MutableStringBuffer not Sendable like its NSMutableString base reference
Cloned https://github.com/CleanCocoa/TextBuffer.git
Revision (git rev-parse @):
70ee7a9aeab9223b4d665a4574aed1c300b67f63
SUCCESS checkout https://github.com/CleanCocoa/TextBuffer.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CleanCocoa/TextBuffer.git
https://github.com/CleanCocoa/TextBuffer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "TextBuffer",
  "name" : "TextBuffer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "TextBuffer",
      "targets" : [
        "TextBuffer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TextBufferTesting",
      "targets" : [
        "TextBufferTesting"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TextBufferTests",
      "module_type" : "SwiftTarget",
      "name" : "TextBufferTests",
      "path" : "Tests/TextBufferTests",
      "sources" : [
        "BufferWordRangeTests.swift",
        "Helpers.swift",
        "MakeBufferWithSelectionFromStringTests.swift",
        "MutableStringBufferTests.swift",
        "NSRange+ContainsTests.swift",
        "NSRange+OrderTests.swift",
        "NSRange+ResizedTests.swift",
        "NSRange+ShiftedTests.swift",
        "NSRange+SubtractingTests.swift",
        "NSTextViewBufferTests.swift"
      ],
      "target_dependencies" : [
        "TextBuffer",
        "TextBufferTesting"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TextBufferTesting",
      "module_type" : "SwiftTarget",
      "name" : "TextBufferTesting",
      "path" : "Sources/TextBufferTesting",
      "product_memberships" : [
        "TextBufferTesting"
      ],
      "sources" : [
        "MakeBufferWithSelectionFromString.swift",
        "assertBufferState.swift"
      ],
      "target_dependencies" : [
        "TextBuffer"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TextBuffer",
      "module_type" : "SwiftTarget",
      "name" : "TextBuffer",
      "path" : "Sources/TextBuffer",
      "product_memberships" : [
        "TextBuffer",
        "TextBufferTesting"
      ],
      "sources" : [
        "Bool+inverted.swift",
        "Buffer/Buffer+contains.swift",
        "Buffer/Buffer+wordRange.swift",
        "Buffer/Buffer.swift",
        "Buffer/BufferAccessFailure.swift",
        "Buffer/MutableStringBuffer.swift",
        "Buffer/NSMutableString+BufferCompatibility.swift",
        "Buffer/NSTextViewBuffer.swift",
        "Buffer/UTF16.swift",
        "Buffer/Undoable+NSTextViewBuffer.swift",
        "Buffer/Undoable.swift",
        "NSRange+Order.swift",
        "NSRange+Resized.swift",
        "NSRange+Shifted.swift",
        "NSRange+Subtracting.swift",
        "NSRange+containsRange.swift",
        "NSRange+expandedToOther.swift",
        "NSRange+notFound.swift",
        "NSRange+prefix.swift",
        "NSRange+suffix.swift",
        "NSString+locationUpToCharacter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/23] Emitting module TextBuffer
/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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
[5/25] Compiling TextBuffer NSRange+suffix.swift
[6/25] Compiling TextBuffer NSString+locationUpToCharacter.swift
[7/25] Compiling TextBuffer Buffer.swift
[8/25] Compiling TextBuffer BufferAccessFailure.swift
[9/25] Compiling TextBuffer MutableStringBuffer.swift
[10/25] Compiling TextBuffer Bool+inverted.swift
[11/25] Compiling TextBuffer Buffer+contains.swift
[12/25] Compiling TextBuffer Buffer+wordRange.swift
[13/25] Compiling TextBuffer NSRange+Resized.swift
[14/25] Compiling TextBuffer NSRange+Shifted.swift
[15/25] Compiling TextBuffer NSRange+Subtracting.swift
[16/25] Compiling TextBuffer NSRange+notFound.swift
[17/25] Compiling TextBuffer NSRange+prefix.swift
[18/25] Compiling TextBuffer NSRange+containsRange.swift
[19/25] Compiling TextBuffer NSRange+expandedToOther.swift
[20/25] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[21/25] Compiling TextBuffer NSTextViewBuffer.swift
[22/25] Compiling TextBuffer UTF16.swift
[23/25] 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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
/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 |
[24/25] 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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
/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/25] 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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling TextBuffer NSRange+notFound.swift
[3/21] Compiling TextBuffer NSRange+prefix.swift
[4/21] Compiling TextBuffer NSRange+containsRange.swift
[5/21] Compiling TextBuffer NSRange+expandedToOther.swift
[6/23] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[7/23] Compiling TextBuffer NSTextViewBuffer.swift
[8/23] Compiling TextBuffer UTF16.swift
[9/23] Compiling TextBuffer NSRange+Resized.swift
[10/23] Compiling TextBuffer NSRange+Shifted.swift
[11/23] Compiling TextBuffer NSRange+Subtracting.swift
[12/23] 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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
/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 |
[13/23] 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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
/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 |
[14/23] 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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/23] Compiling TextBuffer Bool+inverted.swift
[16/23] Compiling TextBuffer Buffer+contains.swift
[17/23] Compiling TextBuffer Buffer+wordRange.swift
[18/23] Emitting module TextBuffer
/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:79:31: error: cannot find type 'UndoManager' in scope
 77 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 78 |     @usableFromInline
 79 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 80 |
 81 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
 85 |     /// 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).
 86 |     @inlinable @inline(__always)
 87 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 88 |
 89 |     @usableFromInline
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:25: error: @escaping attribute only applies to function types
 90 |     required init(
 91 |         _ base: Base,
 92 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 93 |     ) {
 94 |         self.base = base
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
106 |     public convenience init(
107 |         _ base: Base,
108 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
109 |             let undoManager = UndoManager()
110 |             undoManager.groupsByEvent = false
[19/23] Compiling TextBuffer Buffer.swift
[20/23] Compiling TextBuffer BufferAccessFailure.swift
[21/23] Compiling TextBuffer MutableStringBuffer.swift
[22/23] Compiling TextBuffer NSRange+suffix.swift
[23/23] Compiling TextBuffer NSString+locationUpToCharacter.swift
BUILD FAILURE 6.0 linux