The Swift Package Index logo.Swift Package Index

Build Information

Failed to build imgui, reference main (5bd25c), with Swift 6.2 for Linux on 4 Sep 2026 15:44:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-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.2
Building package at path:  $PWD
https://github.com/the-swift-collective/imgui.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:4f3911e0f09a6ac47ac813ad3222aa373869118ee0ae384fd641a13da74b5e3f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.2-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.46s)
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.66s)
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/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.
In file included from /host/spi-builder-workspace/glfw/src/null_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 null_init.c
[0/103] Compiling linux_joystick.c
In file included from /host/spi-builder-workspace/glfw/src/null_window.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 null_window.c
In file included from /host/spi-builder-workspace/glfw/src/monitor.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 monitor.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
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
[0/103] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux