The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DeclarativeTextKit, reference main (c114d1), with Swift 6.1 for Linux on 30 Apr 2025 09:41:47 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/DeclarativeTextKit.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/CleanCocoa/DeclarativeTextKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c114d1a add /TextBuffer to disambiguate links to other package
Cloned https://github.com/CleanCocoa/DeclarativeTextKit.git
Revision (git rev-parse @):
c114d1ad9b81c8fdede40f0110f476cabb744c57
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CleanCocoa/DeclarativeTextKit.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/CleanCocoa/DeclarativeTextKit.git
https://github.com/CleanCocoa/DeclarativeTextKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "textbuffer",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/CleanCocoa/TextBuffer"
    }
  ],
  "manifest_display_name" : "DeclarativeTextKit",
  "name" : "DeclarativeTextKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "DeclarativeTextKit",
      "targets" : [
        "DeclarativeTextKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "DeclarativeTextKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DeclarativeTextKitTests",
      "path" : "Tests/DeclarativeTextKitTests",
      "product_dependencies" : [
        "TextBuffer",
        "TextBufferTesting"
      ],
      "sources" : [
        "AffectedRangeTests.swift",
        "AssertModification.swift",
        "ConditionalTests.swift",
        "DeleteTests.swift",
        "Helpers.swift",
        "InsertTests.swift",
        "LoggingUndoManager.swift",
        "ModifyingTests.swift",
        "ScopedBufferSliceTests.swift",
        "SelectTests.swift",
        "UndoableBufferTests.swift",
        "UseCaseTests.swift"
      ],
      "target_dependencies" : [
        "DeclarativeTextKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeclarativeTextKit",
      "module_type" : "SwiftTarget",
      "name" : "DeclarativeTextKit",
      "path" : "Sources/DeclarativeTextKit",
      "product_dependencies" : [
        "TextBuffer"
      ],
      "product_memberships" : [
        "DeclarativeTextKit"
      ],
      "sources" : [
        "Expression/Debug.swift",
        "Expression/Expression.swift",
        "Expression/If.swift",
        "Expression/IfLet.swift",
        "Expression/Modification/ChangeInLength+Consume.swift",
        "Expression/Modification/ChangeInLength.swift",
        "Expression/Modification/Delete/Delete+Modification.swift",
        "Expression/Modification/Delete/Delete.swift",
        "Expression/Modification/Identity.swift",
        "Expression/Modification/Insert/Insert+Modification.swift",
        "Expression/Modification/Insert/Insert.swift",
        "Expression/Modification/Insert/Insertable.swift",
        "Expression/Modification/Insert/Line.swift",
        "Expression/Modification/Insert/String+Insertable.swift",
        "Expression/Modification/Insert/Word.swift",
        "Expression/Modification/Modification.swift",
        "Expression/Modification/ModificationBuilder.swift",
        "Expression/Modification/ModificationSequence.swift",
        "Expression/Modification/Modifying.swift",
        "Expression/Modification/ScopedBufferSlice.swift",
        "Expression/Select/AffectedRange.swift",
        "Expression/Select/Buffer+SelectRangeExpression.swift",
        "Expression/Select/BufferRangeExpression.swift",
        "Expression/Select/LineRange.swift",
        "Expression/Select/NSRange+BufferRangeExpression.swift",
        "Expression/Select/Select.swift",
        "Expression/Select/SelectedRange+BufferRangeExpression.swift",
        "Expression/Select/WordRange.swift",
        "ModifiableBuffer/Buffer+ModifiableBuffer.swift",
        "ModifiableBuffer/ModifiableBuffer+evaluate.swift",
        "ModifiableBuffer/ModifiableBuffer.swift",
        "ModifiableBuffer/Undoable+ModifiableBuffer.swift",
        "SortedArray.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/CleanCocoa/TextBuffer
[1/82] Fetching textbuffer
Fetched https://github.com/CleanCocoa/TextBuffer from cache (0.15s)
Computing version for https://github.com/CleanCocoa/TextBuffer
Computed https://github.com/CleanCocoa/TextBuffer at 0.1.0 (0.58s)
Creating working copy for https://github.com/CleanCocoa/TextBuffer
Working copy of https://github.com/CleanCocoa/TextBuffer resolved at 0.1.0
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/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
[5/25] Compiling TextBuffer Bool+inverted.swift
[6/25] Compiling TextBuffer Buffer+contains.swift
[7/25] Compiling TextBuffer Buffer+wordRange.swift
[8/25] Compiling TextBuffer NSRange+suffix.swift
[9/25] Compiling TextBuffer NSString+locationUpToCharacter.swift
[10/25] Compiling TextBuffer NSRange+notFound.swift
[11/25] Compiling TextBuffer NSRange+prefix.swift
[12/25] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[13/25] Compiling TextBuffer NSTextViewBuffer.swift
[14/25] Compiling TextBuffer UTF16.swift
[15/25] Compiling TextBuffer NSRange+containsRange.swift
[16/25] Compiling TextBuffer NSRange+expandedToOther.swift
[17/25] Compiling TextBuffer Undoable+NSTextViewBuffer.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
   |                                   `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[18/25] Compiling TextBuffer Undoable.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
   |                                   `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[19/25] Compiling TextBuffer NSRange+Order.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
   |                                   `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[20/25] Compiling TextBuffer NSRange+Resized.swift
[21/25] Compiling TextBuffer NSRange+Shifted.swift
[22/25] Compiling TextBuffer NSRange+Subtracting.swift
[23/25] Compiling TextBuffer Buffer.swift
[24/25] Compiling TextBuffer BufferAccessFailure.swift
[25/25] Compiling TextBuffer MutableStringBuffer.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[3/21] Compiling TextBuffer NSTextViewBuffer.swift
[4/21] Compiling TextBuffer UTF16.swift
[5/21] Compiling TextBuffer Undoable+NSTextViewBuffer.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
   |                                   `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[6/21] Compiling TextBuffer Undoable.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
   |                                   `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[7/21] Compiling TextBuffer NSRange+Order.swift
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
18 | extension NSTextViewBuffer {
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
   |                                   `- error: cannot find type 'NSTextViewBuffer' in scope
21 | }
22 |
[8/23] Compiling TextBuffer NSRange+notFound.swift
[9/23] Compiling TextBuffer NSRange+prefix.swift
[10/23] Compiling TextBuffer NSRange+containsRange.swift
[11/23] Compiling TextBuffer NSRange+expandedToOther.swift
[12/23] Compiling TextBuffer Buffer.swift
[13/23] Compiling TextBuffer BufferAccessFailure.swift
[14/23] Compiling TextBuffer MutableStringBuffer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/23] Compiling TextBuffer NSRange+Resized.swift
[16/23] Compiling TextBuffer NSRange+Shifted.swift
[17/23] Compiling TextBuffer NSRange+Subtracting.swift
[18/23] Compiling TextBuffer Bool+inverted.swift
[19/23] Compiling TextBuffer Buffer+contains.swift
[20/23] Compiling TextBuffer Buffer+wordRange.swift
[21/23] Emitting module TextBuffer
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
 1 | //  Copyright © 2024 Christian Tietze. All rights reserved. Distributed under the MIT License.
 2 |
 3 | extension Undoable where Base == NSTextViewBuffer {
   |                                  `- error: cannot find type 'NSTextViewBuffer' in scope
 4 |     /// Wraps `base` to support automatic undo/redo of buffer mutations with the default undo manager of the `NSTextView`.
 5 |     ///
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
 8 |     /// This behavior can be tweaked by setting the `undoManager` on the enclosing document directly, or by implementing  [`NSWindowDelegate.windowWillReturnUndoManager(_:)`](https://developer.apple.com/documentation/appkit/nswindowdelegate/1419745-windowwillreturnundomanager) to return `UndoManager` instances you manage yourself.
 9 |     public convenience init(
10 |         _ base: NSTextViewBuffer
   |                 `- error: cannot find type 'NSTextViewBuffer' in scope
11 |     ) {
12 |         self.init(base) {
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
16 | }
17 |
18 | extension NSTextViewBuffer {
   |           `- error: cannot find type 'NSTextViewBuffer' in scope
19 |     /// Buffer with the system's default undo/redo support (which is usually delegating to the `NSWindow` or `NSDocument`).
20 |     public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
 79 |     /// Lazy `UndoManager` access. Required to support `NSTextView`'s default behavior of not shipping with its own `UndoManager`, but delegating to the window or document.
 80 |     @usableFromInline
 81 |     let getUndoManager: () -> UndoManager?
    |                               `- error: cannot find type 'UndoManager' in scope
 82 |
 83 |     /// Undo manager used by the buffer.
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
 87 |     /// 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).
 88 |     @inlinable @inline(__always)
 89 |     public var undoManager: UndoManager? { getUndoManager() }
    |                             `- error: cannot find type 'UndoManager' in scope
 90 |
 91 |     @usableFromInline
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                                         `- error: cannot find type 'UndoManager' in scope
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:94:25: error: @escaping attribute only applies to function types
 92 |     required init(
 93 |         _ base: Base,
 94 |         getUndoManager: @escaping () -> UndoManager?
    |                         `- error: @escaping attribute only applies to function types
 95 |     ) {
 96 |         self.base = base
/host/spi-builder-workspace/.build/checkouts/TextBuffer/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
108 |     public convenience init(
109 |         _ base: Base,
110 |         undoManager: UndoManager = {
    |                      `- error: cannot find type 'UndoManager' in scope
111 |             let undoManager = UndoManager()
112 |             undoManager.groupsByEvent = false
[22/23] Compiling TextBuffer NSRange+suffix.swift
[23/23] Compiling TextBuffer NSString+locationUpToCharacter.swift
BUILD FAILURE 6.1 linux