Build Information
Failed to build Lexical, reference main (409a0e), with Swift 6.4 for Linux on 8 Nov 2026 10:35:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/meta/lexical-ios.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/meta/lexical-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 409a0e2 Remove the swift-format 6.3 rollout OrderedImports ignores
Cloned https://github.com/meta/lexical-ios.git
Revision (git rev-parse @):
409a0e24244d9aa14327a3ebf7933f2d6265720a
SUCCESS checkout https://github.com/meta/lexical-ios.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/meta/lexical-ios.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/apple/swift-markdown.git
[1/7825] Fetching swift-markdown
Fetched https://github.com/apple/swift-markdown.git (0.69s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18678] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git (0.84s)
Fetching https://github.com/scinfu/SwiftSoup.git
[1/7132] Fetching swiftsoup
Fetched https://github.com/scinfu/SwiftSoup.git (0.57s)
Computing version for https://github.com/scinfu/SwiftSoup.git
Computed https://github.com/scinfu/SwiftSoup.git at 2.14.3 (0.71s)
Creating working copy for https://github.com/apple/swift-markdown.git
Working copy of https://github.com/apple/swift-markdown.git resolved at main (ea1d88b)
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at gfm (4376116)
Creating working copy for https://github.com/scinfu/SwiftSoup.git
Working copy of https://github.com/scinfu/SwiftSoup.git resolved at 2.14.3
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 682]
[Planning deferred tasks]
[12 / 216] cmark-gfm-extensions
[110 / 218] cmark-gfm
[125 / 236] Lexical
[136 / 236] SwiftSoup
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Lexical/Core/Constants.swift:9:8: [1;31merror: [1;39mno such module 'UIKit'[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m import Foundation
[0;36m9 |[0;0m import UIKit
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'UIKit'[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m public struct NodeType: Hashable, RawRepresentable {
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Lexical/Core/Constants.swift /host/spi-builder-workspace/Lexical/Core/Editor.swift /host/spi-builder-workspace/Lexical/Core/EditorState.swift /host/spi-builder-workspace/Lexical/Core/Errors.swift /host/spi-builder-workspace/Lexical/Core/Events.swift /host/spi-builder-workspace/Lexical/Core/FeatureFlags.swift /host/spi-builder-workspace/Lexical/Core/GarbageCollection.swift /host/spi-builder-workspace/Lexical/Core/Mutations.swift /host/spi-builder-workspace/Lexical/Core/Nodes/CodeHighlightNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/CodeNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/DecoratorNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/ElementNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/HeadingNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/LineBreakNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/Node.swift /host/spi-builder-workspace/Lexical/Core/Nodes/ParagraphNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/QuoteNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/RootNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/TextNode.swift /host/spi-builder-workspace/Lexical/Core/Nodes/UnknownNode.swift /host/spi-builder-workspace/Lexical/Core/Reconciler.swift /host/spi-builder-workspace/Lexical/Core/Selection/BaseSelection.swift /host/spi-builder-workspace/Lexical/Core/Selection/GridSelection.swift /host/spi-builder-workspace/Lexical/Core/Selection/NodeSelection.swift /host/spi-builder-workspace/Lexical/Core/Selection/Point.swift /host/spi-builder-workspace/Lexical/Core/Selection/RangeSelection.swift /host/spi-builder-workspace/Lexical/Core/Selection/SelectionUtils.swift /host/spi-builder-workspace/Lexical/Core/Serialization.swift /host/spi-builder-workspace/Lexical/Core/StyleEvents.swift /host/spi-builder-workspace/Lexical/Core/TextUtils.swift /host/spi-builder-workspace/Lexical/Core/Updates.swift /host/spi-builder-workspace/Lexical/Core/Utils.swift /host/spi-builder-workspace/Lexical/Helper/AttributesUtils.swift /host/spi-builder-workspace/Lexical/Helper/CopyPasteHelpers.swift /host/spi-builder-workspace/Lexical/Helper/Logging.swift /host/spi-builder-workspace/Lexical/Helper/NSAttributedStringKey+Extensions.swift /host/spi-builder-workspace/Lexical/Helper/ObjCHelpers.swift /host/spi-builder-workspace/Lexical/Helper/RangeHelpers.swift /host/spi-builder-workspace/Lexical/Helper/SelectionHelpers.swift /host/spi-builder-workspace/Lexical/Helper/Theme.swift /host/spi-builder-workspace/Lexical/LexicalView/FrontendProtocol.swift /host/spi-builder-workspace/Lexical/LexicalView/LexicalView.swift /host/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyTextKitContext.swift /host/spi-builder-workspace/Lexical/LexicalView/ReadOnly/LexicalReadOnlyView.swift /host/spi-builder-workspace/Lexical/LexicalView/ResponderForNodeSelection.swift /host/spi-builder-workspace/Lexical/Plugin/Plugin.swift /host/spi-builder-workspace/Lexical/TextKit/LayoutManager.swift /host/spi-builder-workspace/Lexical/TextKit/LayoutManagerDelegate.swift /host/spi-builder-workspace/Lexical/TextKit/RangeCache.swift /host/spi-builder-workspace/Lexical/TextKit/TextAttachment.swift /host/spi-builder-workspace/Lexical/TextKit/TextContainer.swift /host/spi-builder-workspace/Lexical/TextKit/TextKitUtils.swift /host/spi-builder-workspace/Lexical/TextKit/TextStorage.swift /host/spi-builder-workspace/Lexical/TextView/InputDelegateProxy.swift /host/spi-builder-workspace/Lexical/TextView/NativeSelection.swift /host/spi-builder-workspace/Lexical/TextView/TextView.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Lexical -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/Objects-normal/x86_64/Lexical_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_[137 / 236] cmark-gfm
64/Lexical-t.build/Objects-normal/x86_64/Modules/Lexical.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/Objects-normal/x86_64/Modules/Lexical.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/Objects-normal/x86_64/Lexical-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/Objects-normal/x86_64/Lexical-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/Objects-normal/x86_64/Lexical-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Lexical.build/Debug-linux-x86_64/Lexical-t.build/Objects-normal/x86_64/Modules/Lexical.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux