The Swift Package Index logo.Swift Package Index

Build Information

Failed to build imgui, reference main (5bd25c), with Swift 6.1 for Linux on 4 Sep 2026 15:44:28 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/the-swift-collective/imgui.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/the-swift-collective/imgui
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 5bd25cf cleanup platform linkage.
Submodule path 'freetype': checked out '72f77b88bc6400fc451b4cb91e08d7b532efd2e8'
Submodule path 'freetype/subprojects/dlg': checked out '72dfcc858c040c54a6a0b88fcb7e70ee186d3167'
Submodule path 'glfw': checked out 'ce12b24b5c61daa735ee8b054e1f38cd1763fa66'
Submodule path 'imgui-cxx': checked out 'd313c114b76feb4f5dcdc1f8487e157decb7bada'
Submodule 'freetype' (https://github.com/the-swift-collective/freetype.git) registered for path 'freetype'
Submodule 'glfw' (https://github.com/the-swift-collective/glfw.git) registered for path 'glfw'
Submodule 'imgui-cxx' (https://github.com/the-swift-collective/imgui-cxx.git) registered for path 'imgui-cxx'
Cloning into '/host/spi-builder-workspace/freetype'...
Cloning into '/host/spi-builder-workspace/glfw'...
Cloning into '/host/spi-builder-workspace/imgui-cxx'...
Submodule 'dlg' (https://github.com/nyorain/dlg.git) registered for path 'freetype/subprojects/dlg'
Cloning into '/host/spi-builder-workspace/freetype/subprojects/dlg'...
Cloned https://github.com/the-swift-collective/imgui.git
Revision (git rev-parse @):
5bd25cffd4ad22635563aa29c59ebee56943964e
SUCCESS checkout https://github.com/the-swift-collective/imgui.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/the-swift-collective/imgui.git
https://github.com/the-swift-collective/imgui.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/the-swift-collective/zlib.git
[1/71] Fetching zlib
Fetched https://github.com/the-swift-collective/zlib.git from cache (0.39s)
Computing version for https://github.com/the-swift-collective/zlib.git
Computed https://github.com/the-swift-collective/zlib.git at 1.3.2 (0.65s)
Creating working copy for https://github.com/the-swift-collective/zlib.git
Working copy of https://github.com/the-swift-collective/zlib.git resolved at 1.3.2
Building for debugging...
In file included from /host/spi-builder-workspace/glfw/src/egl_context.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/103] Compiling egl_context.c
In file included from /host/spi-builder-workspace/glfw/src/platform.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/103] Compiling platform.c
In file included from /host/spi-builder-workspace/glfw/src/posix_module.c:27:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/103] Compiling posix_module.c
In file included from /host/spi-builder-workspace/glfw/src/init.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/103] Compiling init.c
In file included from /host/spi-builder-workspace/glfw/src/linux_joystick.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/103] Compiling linux_joystick.c
In file included from /host/spi-builder-workspace/glfw/src/glx_context.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/103] Compiling glx_context.c
In file included from /host/spi-builder-workspace/glfw/src/input.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/103] Compiling input.c
[0/103] Write swift-version-24593BA9C3E375BF.txt
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/103] Compiling ZLibC inftrees.c
[1/103] Compiling ZLibC zutil.c
[2/103] Compiling ZLibC trees.c
[3/103] Compiling ZLibC uncompr.c
[4/103] Write swift-version-24593BA9C3E375BF.txt
[5/103] Compiling imgui_stdlib.cpp
[6/103] Compiling imgui_freetype.cpp
[7/103] Compiling imgui_extras imgui_canvas.cpp
[8/103] Compiling imgui_extras crude_json.cpp
[9/103] Compiling imgui_cxx imgui_tables.cpp
In file included from /host/spi-builder-workspace/glfw/src/xkb_unicode.c:28:
In file included from /host/spi-builder-workspace/glfw/src/internal.h:334:
In file included from /host/spi-builder-workspace/glfw/src/platform.h:81:
/host/spi-builder-workspace/glfw/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[10/103] Compiling xkb_unicode.c
[10/103] Compiling x11_window.c
[10/103] Compiling imgui_extras imgui_node_editor.cpp
[10/103] Compiling imgui_cxx imgui_demo.cpp
[10/103] Compiling imgui_cxx imgui.cpp
[10/103] Compiling imgui_cxx imgui_draw.cpp
[10/103] Compiling imgui_cxx imgui_widgets.cpp
[10/103] Compiling imgui_extras imgui_node_editor_api.cpp
BUILD FAILURE 6.1 linux