The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CGLFW3, reference 3.4.0 (c26501), with Swift 6.1 for Linux on 27 Apr 2025 13:39:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thepotatoking55/CGLFW3.git
Reference: 3.4.0
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/thepotatoking55/CGLFW3
 * tag               3.4.0      -> FETCH_HEAD
HEAD is now at c26501e split targets and update to 3.4
Cloned https://github.com/thepotatoking55/CGLFW3.git
Revision (git rev-parse @):
c26501e572dd4130b491acb4a4a3a232db637a8c
SUCCESS checkout https://github.com/thepotatoking55/CGLFW3.git at 3.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/thepotatoking55/CGLFW3.git
https://github.com/thepotatoking55/CGLFW3.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CGLFW3",
  "name" : "CGLFW3",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CGLFW3",
      "targets" : [
        "CGLFW3"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "glfw3",
      "module_type" : "ClangTarget",
      "name" : "glfw3",
      "path" : "Sources/glfw3",
      "product_memberships" : [
        "CGLFW3"
      ],
      "sources" : [
        "src/context.c",
        "src/egl_context.c",
        "src/glx_context.c",
        "src/init.c",
        "src/input.c",
        "src/linux_joystick.c",
        "src/monitor.c",
        "src/null_init.c",
        "src/null_joystick.c",
        "src/null_monitor.c",
        "src/null_window.c",
        "src/osmesa_context.c",
        "src/platform.c",
        "src/posix_module.c",
        "src/posix_poll.c",
        "src/posix_thread.c",
        "src/posix_time.c",
        "src/vulkan.c",
        "src/window.c",
        "src/x11_init.c",
        "src/x11_monitor.c",
        "src/x11_window.c",
        "src/xkb_unicode.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CGLFW3Tests",
      "module_type" : "SwiftTarget",
      "name" : "CGLFW3Tests",
      "path" : "Tests/CGLFW3Tests",
      "sources" : [
        "Tests.swift"
      ],
      "target_dependencies" : [
        "CGLFW3"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CGLFW3",
      "module_type" : "ClangTarget",
      "name" : "CGLFW3",
      "path" : "Sources/CGLFW3",
      "product_memberships" : [
        "CGLFW3"
      ],
      "sources" : [
        "dummy.c"
      ],
      "target_dependencies" : [
        "glfw3"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/glfw3/src/xkb_unicode.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/24] Compiling xkb_unicode.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/posix_time.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling posix_time.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/posix_thread.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/24] Compiling posix_thread.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/vulkan.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling vulkan.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_window.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling x11_window.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_init.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling x11_init.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/window.c:31:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling window.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_monitor.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling x11_monitor.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/glfw3/src/xkb_unicode.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/24] Compiling xkb_unicode.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/posix_thread.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/24] Compiling posix_thread.c
[0/24] Compiling x11_monitor.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/posix_time.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling posix_time.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_window.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling x11_window.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/window.c:31:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling window.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/vulkan.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling vulkan.c
In file included from /host/spi-builder-workspace/Sources/glfw3/src/x11_init.c:30:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/internal.h:331:
In file included from /host/spi-builder-workspace/Sources/glfw3/src/platform.h:62:
/host/spi-builder-workspace/Sources/glfw3/src/x11_platform.h:32:10: fatal error: 'X11/Xlib.h' file not found
   32 | #include <X11/Xlib.h>
      |          ^~~~~~~~~~~~
[0/24] Compiling x11_init.c
BUILD FAILURE 6.1 linux