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 0.1.0 (b444d6), with Swift 5.10 for Linux on 24 Jan 2025 07:49:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-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: 0.1.0
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
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at b444d60 add README
Cloned https://github.com/CleanCocoa/TextBuffer.git
Revision (git rev-parse @):
b444d6033cb2f3dc9b3efa284e7ba1e0dfd2148d
SUCCESS checkout https://github.com/CleanCocoa/TextBuffer.git at 0.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $PWD
https://github.com/CleanCocoa/TextBuffer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:8b386ca1081dd55ec0944429387f246ccb59ef99c9c8cbb418b0abd78460b38f
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-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:18:11: error: cannot find type 'NSTextViewBuffer' in scope
extension NSTextViewBuffer {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
extension Undoable where Base == NSTextViewBuffer {
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
        _ base: NSTextViewBuffer
                ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
    public var undoManager: UndoManager? { getUndoManager() }
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
[5/25] Compiling TextBuffer NSRange+notFound.swift
[6/25] Compiling TextBuffer NSRange+prefix.swift
[7/25] Compiling TextBuffer NSRange+Resized.swift
[8/25] Compiling TextBuffer NSRange+Shifted.swift
[9/25] Compiling TextBuffer NSRange+Subtracting.swift
[10/25] Compiling TextBuffer NSRange+containsRange.swift
[11/25] Compiling TextBuffer NSRange+expandedToOther.swift
[12/25] Compiling TextBuffer Undoable+NSTextViewBuffer.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
extension NSTextViewBuffer {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
extension Undoable where Base == NSTextViewBuffer {
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
        _ base: NSTextViewBuffer
                ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
    public var undoManager: UndoManager? { getUndoManager() }
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
    public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
                                  ^~~~~~~~~~~~~~~~
[13/25] Compiling TextBuffer Undoable.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
extension NSTextViewBuffer {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
extension Undoable where Base == NSTextViewBuffer {
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
        _ base: NSTextViewBuffer
                ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
    public var undoManager: UndoManager? { getUndoManager() }
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
    public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
                                  ^~~~~~~~~~~~~~~~
[14/25] Compiling TextBuffer NSRange+Order.swift
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:18:11: error: cannot find type 'NSTextViewBuffer' in scope
extension NSTextViewBuffer {
          ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:3:34: error: cannot find type 'NSTextViewBuffer' in scope
extension Undoable where Base == NSTextViewBuffer {
                                 ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:10:17: error: cannot find type 'NSTextViewBuffer' in scope
        _ base: NSTextViewBuffer
                ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:94:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:110:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:81:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:89:29: error: cannot find type 'UndoManager' in scope
    public var undoManager: UndoManager? { getUndoManager() }
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable+NSTextViewBuffer.swift:20:35: error: cannot find type 'NSTextViewBuffer' in scope
    public var undoable: Undoable<NSTextViewBuffer> { Undoable(self) }
                                  ^~~~~~~~~~~~~~~~
[15/25] Compiling TextBuffer NSRange+suffix.swift
[16/25] Compiling TextBuffer NSString+locationUpToCharacter.swift
[17/25] Compiling TextBuffer Bool+inverted.swift
[18/25] Compiling TextBuffer Buffer+contains.swift
[19/25] Compiling TextBuffer Buffer+wordRange.swift
[20/25] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[21/25] Compiling TextBuffer NSTextViewBuffer.swift
[22/25] Compiling TextBuffer UTF16.swift
[23/25] Compiling TextBuffer Buffer.swift
[24/25] Compiling TextBuffer BufferAccessFailure.swift
[25/25] Compiling TextBuffer MutableStringBuffer.swift
error: fatalError
BUILD FAILURE 5.10 linux