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 5.9 for Linux on 25 Jan 2025 10:07:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-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:             5.9
Building package at path:  $PWD
https://github.com/CleanCocoa/TextBuffer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.9-latest: Pulling from finestructure/spi-images
Digest: sha256:e6feefcc5d5d2f301fe47477cfe0928fc3b12c59579fdacf1d387095b6fee662
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.9-latest
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/20] 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:79:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87:29: error: cannot find type 'UndoManager' in scope
    public var undoManager: UndoManager? { getUndoManager() }
                            ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:92:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
[2/22] Compiling TextBuffer NSRange+Resized.swift
[3/22] Compiling TextBuffer NSRange+Shifted.swift
[4/22] Compiling TextBuffer NSRange+Subtracting.swift
[5/22] Compiling TextBuffer Bool+inverted.swift
[6/22] Compiling TextBuffer Buffer+contains.swift
[7/22] Compiling TextBuffer Buffer+wordRange.swift
[8/22] Compiling TextBuffer NSRange+suffix.swift
[9/22] Compiling TextBuffer NSString+locationUpToCharacter.swift
[10/22] Compiling TextBuffer NSRange+containsRange.swift
[11/22] Compiling TextBuffer NSRange+expandedToOther.swift
[12/22] Compiling TextBuffer Buffer.swift
[13/22] Compiling TextBuffer BufferAccessFailure.swift
[14/22] Compiling TextBuffer MutableStringBuffer.swift
[15/22] Compiling TextBuffer NSMutableString+BufferCompatibility.swift
[16/22] Compiling TextBuffer NSTextViewBuffer.swift
[17/22] Compiling TextBuffer UTF16.swift
[18/22] Compiling TextBuffer NSRange+notFound.swift
[19/22] Compiling TextBuffer NSRange+prefix.swift
[20/22] 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:92:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:79:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87: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) }
                                  ^~~~~~~~~~~~~~~~
[21/22] 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:92:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:79:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87: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) }
                                  ^~~~~~~~~~~~~~~~
[22/22] 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:92:41: error: cannot find type 'UndoManager' in scope
        getUndoManager: @escaping () -> UndoManager?
                                        ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:108:22: error: cannot find type 'UndoManager' in scope
        undoManager: UndoManager = {
                     ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:79:31: error: cannot find type 'UndoManager' in scope
    let getUndoManager: () -> UndoManager?
                              ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/TextBuffer/Buffer/Undoable.swift:87: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) }
                                  ^~~~~~~~~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux