Build Information
Failed to build FlutterSwift, reference main (f68c60), with Swift 6.4 for Linux on 8 Oct 2026 21:14:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/PADL/FlutterSwift.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/PADL/FlutterSwift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f68c606 Depend on upstream AsyncExtensions 0.7
Submodule path 'Sources/CxxFlutterSwift/flutter-embedded-linux': checked out '50bc15c1f93d0a0429b2257c47a63387b4a3007b'
Submodule 'Sources/CxxFlutterSwift/flutter-embedded-linux' (https://github.com/flutter-elinux/flutter-embedded-linux) registered for path 'Sources/CxxFlutterSwift/flutter-embedded-linux'
Cloning into '/host/spi-builder-workspace/Sources/CxxFlutterSwift/flutter-embedded-linux'...
Cloned https://github.com/PADL/FlutterSwift.git
Revision (git rev-parse @):
f68c606816dc5bc05a251b07ba74114faa134171
SUCCESS checkout https://github.com/PADL/FlutterSwift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/PADL/FlutterSwift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/xtremekforever/swift-systemd
[1/497] Fetching swift-systemd
Fetched https://github.com/xtremekforever/swift-systemd (0.86s)
Fetching https://github.com/apple/swift-binary-parsing
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-atomics
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-system
[1/1885] Fetching swift-atomics
[586/10142] Fetching swift-atomics, swift-log
[1272/11547] Fetching swift-atomics, swift-log, swift-binary-parsing
[10481/14414] Fetching swift-atomics, swift-log, swift-binary-parsing, swift-service-lifecycle
[13076/21655] Fetching swift-atomics, swift-log, swift-binary-parsing, swift-service-lifecycle, swift-system
Fetched https://github.com/apple/swift-atomics (0.56s)
[11549/19770] Fetching swift-log, swift-binary-parsing, swift-service-lifecycle, swift-system
Fetched https://github.com/apple/swift-log (0.56s)
[3582/11513] Fetching swift-binary-parsing, swift-service-lifecycle, swift-system
Fetching https://github.com/sideeffect-io/AsyncExtensions
Fetched https://github.com/swift-server/swift-service-lifecycle.git (0.59s)
[787/8646] Fetching swift-binary-parsing, swift-system
Fetched https://github.com/apple/swift-system (0.73s)
[366/1405] Fetching swift-binary-parsing
Fetched https://github.com/apple/swift-binary-parsing (0.88s)
[1/1213] Fetching asyncextensions
Fetched https://github.com/sideeffect-io/AsyncExtensions (0.50s)
[1/6806] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms (1.93s)
Computing version for https://github.com/sideeffect-io/AsyncExtensions
Computed https://github.com/sideeffect-io/AsyncExtensions at 0.7.0 (2.08s)
Fetching https://github.com/apple/swift-collections.git
[1/28545] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.32s)
Computing version for https://github.com/apple/swift-binary-parsing
Computed https://github.com/apple/swift-binary-parsing at 0.0.2 (1.54s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80400] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.73s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.00s)
Computing version for https://github.com/apple/swift-atomics
Computed https://github.com/apple/swift-atomics at 1.3.1 (0.15s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.7 (0.19s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.2 (0.24s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.12.1 (0.15s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.1 (0.15s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.8.1 (0.18s)
Creating working copy for https://github.com/apple/swift-atomics
Working copy of https://github.com/apple/swift-atomics resolved at 1.3.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/xtremekforever/swift-systemd
Working copy of https://github.com/xtremekforever/swift-systemd resolved at main (16b9527)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.2
Creating working copy for https://github.com/sideeffect-io/AsyncExtensions
Working copy of https://github.com/sideeffect-io/AsyncExtensions resolved at 0.7.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.8.1
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.12.1
Creating working copy for https://github.com/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-binary-parsing
Working copy of https://github.com/apple/swift-binary-parsing resolved at 0.0.2
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Examples/counter/swift/swift-java.config
warning: 'spi-builder-workspace': you may be able to install xkbcommon using your system-packager:
apt-get install libxkbcommon-dev
warning: 'spi-builder-workspace': you may be able to install libudev using your system-packager:
apt-get install libudev-dev
warning: 'spi-builder-workspace': you may be able to install libinput using your system-packager:
apt-get install libinput-dev
warning: 'spi-builder-workspace': you may be able to install libdrm using your system-packager:
apt-get install libdrm-dev
warning: 'spi-builder-workspace': you may be able to install gbm using your system-packager:
apt-get install libgbm-dev
warning: 'spi-builder-workspace': you may be able to install egl using your system-packager:
apt-get install libegl1-mesa-dev libgles2-mesa-dev
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 64]
[Pre-planning 1 / 1251]
[Planning deferred tasks]
[Starting]
[42 / 526] SwiftSyntaxMacroExpansion
[245 / 544] Logging
[274 / 561] Logging
[280 / 561] SystemPackage
[290 / 561] SystemPackage-product
[291 / 562] SystemPackage-product
[297 / 564] SwiftSyntax601
[302 / 566] SwiftSyntax509
[307 / 566] Logging-product
[310 / 566] Systemd
[313 / 566] LibDRM
[320 / 568] CSystem
[325 / 586] SwiftSyntax601
[331 / 587] Logging
[332 / 587] InternalCollectionsUtilities
[337 / 587] Logging
[340 / 587] Atomics
[342 / 587] InternalCollectionsUtilities
[346 / 587] InternalCollectionsUtilities
[351 / 599] SwiftSyntax
[352 / 599] LibDRM
[356 / 610] Systemd
[356 / 611] Atomics
[357 / 611] Atomics
[360 / 612] Atomics
[371 / 612] Systemd-product
[373 / 612] SwiftSyntax509
[375 / 612] SwiftSyntax
[376 / 612] SwiftSyntax
[377 / 613] SystemPackage
[378 / 613] Systemd
[381 / 614] Systemd
[383 / 614] Systemd
[385 / 614] LibDRM
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line: cd /host
<module-includes>:1:10: [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m1 |[0;0m #include "CLibDRM.h"
[0;36m|[0;0m `- [1;39mnote: [1;39min file included from <module-includes>:1:[0;0m
[0;36m2 |[0;0m
/host/spi-builder-workspace/Sources/CLibDRM/CLibDRM.h:4:10: [1;31merror: [1;39m'xf86drm.h' file not found[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m #ifndef __APPLE__
[0;36m4 |[0;0m #include <xf86drm.h>
[0;36m|[0;0m `- [1;31merror: [1;39m'xf86drm.h' file not found[0;0m
[0;36m5 |[0;0m #include <xf86drmMode.h>
[0;36m6 |[0;0m #endif
/host/spi-builder-workspace/Sources/LibDRM/LibDRM.swift:10:8: [1;31merror: [1;39mcould not build C module 'CLibDRM'[0;0m
[0;36m8 |[0;0m */
[0;36m9 |[0;0m
[0;36m10 |[0;0m import CLibDRM
[0;36m|[0;0m `- [1;31merror: [1;39mcould not build C module 'CLibDRM'[0;0m
[0;36m11 |[0;0m import Glibc
[0;36m12 |[0;0m import SystemPackage
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/LibDRM/LibDRM.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -cxx-interoperability-mode\=default -I /usr/include -I /usr/lib/swift -I /usr/include/drm -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D DISPLAY_BACKEND_TYPE_DRM_GBM -D FLUTTER_TARGET_BACKEND_GBM -D Xcode -serialize-debugging-options -enable-experimental-feature Lifetimes -enable-upcoming-feature NonisolatedNonsendingByDefault -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 -fmodule-map-file\=/host/spi-builder-workspace/.build/checkouts/swift-system/Sources/CSystem/include/module.modulemap -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/CLibDRM/module.modulemap -Xcc -std\=c++17 -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/checkouts/swift-system/Sources/CSystem/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name LibDRM -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/Objects-normal/x86_64/LibDRM_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/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/Objects-normal/x86_64/Modules/LibDRM.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/Objects-normal/x86_64/Modules/LibDRM.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/Objects-normal/x86_64/LibDRM-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/Objects-normal/x86_64/LibDRM-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/Objects-normal/x86_64/LibDRM-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FlutterSwift.build/Debug-linux-x86_64/LibDRM-t.build/Objects-normal/x86_64/Modules/LibDRM.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux