Build Information
Failed to build TwitterTextEditor with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/twitter/TwitterTextEditor.git
Reference: master
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/twitter/TwitterTextEditor
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 39256a9 Replace SwiftLint autocorrect command with `--fix`
Cloned https://github.com/twitter/TwitterTextEditor.git
Revision (git rev-parse @):
39256a958ade4a682e43f21f22140a5b3bbe280a
SUCCESS checkout https://github.com/twitter/TwitterTextEditor.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/twitter/TwitterTextEditor.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/5] Write sources
[1/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/22] Emitting module TwitterTextEditor
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[4/22] Compiling TwitterTextEditor Configuration.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[5/22] Compiling TwitterTextEditor EditingContent.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[6/22] Compiling TwitterTextEditor LayoutManager.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[7/24] Compiling TwitterTextEditor NotificationCenter.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[8/24] Compiling TwitterTextEditor Scheduler.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[9/24] Compiling TwitterTextEditor Logger.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[10/24] Compiling TwitterTextEditor NSAttributedString.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[11/24] Compiling TwitterTextEditor NSRange.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[12/24] Compiling TwitterTextEditor UIResponder.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[13/24] Compiling TwitterTextEditor UITextInput.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[14/24] Compiling TwitterTextEditor TextEditorViewTextInputTraits.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[15/24] Compiling TwitterTextEditor TextView.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[16/24] Compiling TwitterTextEditor TextViewDelegateForwarder.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[17/24] Compiling TwitterTextEditor Tracer.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[18/24] Compiling TwitterTextEditor TextAttributes.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[19/24] Compiling TwitterTextEditor TextEditorView.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[20/24] Compiling TwitterTextEditor Sequence.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[21/24] Compiling TwitterTextEditor String.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
[0/1] Planning build
Building for debugging...
[0/4] Write swift-version-24593BA9C3E375BF.txt
[2/21] Compiling TwitterTextEditor Sequence.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[3/21] Compiling TwitterTextEditor String.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[4/23] Compiling TwitterTextEditor NotificationCenter.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[5/23] Compiling TwitterTextEditor Scheduler.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[6/23] Compiling TwitterTextEditor Logger.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[7/23] Compiling TwitterTextEditor NSAttributedString.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[8/23] Compiling TwitterTextEditor NSRange.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[9/23] Compiling TwitterTextEditor TextEditorViewTextInputTraits.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[10/23] Compiling TwitterTextEditor TextView.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/23] Emitting module TwitterTextEditor
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[12/23] Compiling TwitterTextEditor UIResponder.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[13/23] Compiling TwitterTextEditor UITextInput.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[14/23] Compiling TwitterTextEditor Configuration.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[15/23] Compiling TwitterTextEditor EditingContent.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[16/23] Compiling TwitterTextEditor LayoutManager.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[17/23] Compiling TwitterTextEditor TextAttributes.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[18/23] Compiling TwitterTextEditor TextEditorView.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[19/23] Compiling TwitterTextEditor TextViewDelegateForwarder.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
[20/23] Compiling TwitterTextEditor Tracer.swift
/host/spi-builder-workspace/Sources/TwitterTextEditor/LayoutManager.swift:10:8: error: no such module 'UIKit'
import UIKit
^
error: fatalError
BUILD FAILURE 5.10 linux