Build Information
Failed to build Raylib, reference v4.0.0 (ad7bdc
), with Swift 6.1 for Linux on 27 Apr 2025 07:16:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/STREGAsGate/Raylib.git
Reference: v4.0.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/STREGAsGate/Raylib
* tag v4.0.0 -> FETCH_HEAD
HEAD is now at ad7bdce Finish 4.0 upgrade.
Cloned https://github.com/STREGAsGate/Raylib.git
Revision (git rev-parse @):
ad7bdce515cea316789b9b582dc456cb326e87fc
SUCCESS checkout https://github.com/STREGAsGate/Raylib.git at v4.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/STREGAsGate/Raylib.git
https://github.com/STREGAsGate/Raylib.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Raylib",
"name" : "Raylib",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Raylib",
"targets" : [
"Raylib",
"_RaylibC"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "Example",
"targets" : [
"Example"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "_RaylibC",
"module_type" : "ClangTarget",
"name" : "_RaylibC",
"path" : "Sources/_RaylibC",
"product_memberships" : [
"Raylib",
"Example"
],
"sources" : [
"UnmodifiedRaylibSrc/external/glfw/src/context.c",
"UnmodifiedRaylibSrc/external/glfw/src/egl_context.c",
"UnmodifiedRaylibSrc/external/glfw/src/glx_context.c",
"UnmodifiedRaylibSrc/external/glfw/src/init.c",
"UnmodifiedRaylibSrc/external/glfw/src/input.c",
"UnmodifiedRaylibSrc/external/glfw/src/linux_joystick.c",
"UnmodifiedRaylibSrc/external/glfw/src/monitor.c",
"UnmodifiedRaylibSrc/external/glfw/src/osmesa_context.c",
"UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c",
"UnmodifiedRaylibSrc/external/glfw/src/posix_time.c",
"UnmodifiedRaylibSrc/external/glfw/src/vulkan.c",
"UnmodifiedRaylibSrc/external/glfw/src/window.c",
"UnmodifiedRaylibSrc/external/glfw/src/x11_init.c",
"UnmodifiedRaylibSrc/external/glfw/src/x11_monitor.c",
"UnmodifiedRaylibSrc/external/glfw/src/x11_window.c",
"UnmodifiedRaylibSrc/external/glfw/src/xkb_unicode.c",
"UnmodifiedRaylibSrc/raudio.c",
"UnmodifiedRaylibSrc/rcore.c",
"UnmodifiedRaylibSrc/rmodels.c",
"UnmodifiedRaylibSrc/rshapes.c",
"UnmodifiedRaylibSrc/rtext.c",
"UnmodifiedRaylibSrc/rtextures.c",
"UnmodifiedRaylibSrc/utils.c"
],
"type" : "library"
},
{
"c99name" : "Raylib",
"module_type" : "SwiftTarget",
"name" : "Raylib",
"path" : "Sources/Raylib",
"product_memberships" : [
"Raylib",
"Example"
],
"sources" : [
"Deprectations/DeprectationsRaylib-4_0_0.swift",
"Enums/BlendMode.swift",
"Enums/CameraMode.swift",
"Enums/CameraProjection.swift",
"Enums/Color.swift",
"Enums/ConfigFlags.swift",
"Enums/CubemapLayout.swift",
"Enums/FontType.swift",
"Enums/GampadAxis.swift",
"Enums/GampadButton.swift",
"Enums/Gestures.swift",
"Enums/KeyboardKey.swift",
"Enums/MaterialMapIndex.swift",
"Enums/MouseButton.swift",
"Enums/MouseCursor.swift",
"Enums/NPatchLayout.swift",
"Enums/PixelFormat.swift",
"Enums/ShaderLocationIndex.swift",
"Enums/ShaderUniformDataType.swift",
"Enums/TextureFilter.swift",
"Enums/TextureWrap.swift",
"Enums/TraceLogLevel.swift",
"SwiftRaylib.swift",
"Swifty/Camera.swift",
"Swifty/Image.swift",
"Swifty/NPatchInfo.swift",
"Swifty/Texture.swift",
"raylib_h_audio.swift",
"raylib_h_core.swift",
"raylib_h_models.swift",
"raylib_h_rcamera.swift",
"raylib_h_rgestures.swift",
"raylib_h_shapes.swift",
"raylib_h_text.swift",
"raylib_h_textures.swift",
"raymath_h.swift"
],
"target_dependencies" : [
"_RaylibC"
],
"type" : "library"
},
{
"c99name" : "Example",
"module_type" : "SwiftTarget",
"name" : "Example",
"path" : "Sources/Example",
"product_memberships" : [
"Example"
],
"sources" : [
"SnakeGame.swift",
"main.swift"
],
"target_dependencies" : [
"Raylib"
],
"type" : "executable"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c:30:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
[0/30] Compiling posix_thread.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/init.c:30:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
[0/30] Compiling init.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/osmesa_context.c:34:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
[0/30] Compiling osmesa_context.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_time.c:32:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
[0/30] Compiling posix_time.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:30:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
[0/30] Compiling glx_context.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/linux_joystick.c:30:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
[0/30] Compiling linux_joystick.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/monitor.c:30:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
[0/30] Compiling monitor.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/input.c:30:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
[0/30] Compiling input.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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...
[0/30] Compiling rshapes.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/xkb_unicode.c:30:
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:188:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_platform.h:33:10: fatal error: 'X11/Xlib.h' file not found
33 | #include <X11/Xlib.h>
| ^~~~~~~~~~~~
1 error generated.
[1/30] Compiling xkb_unicode.c
[1/30] Compiling rcore.c
[1/30] Compiling raudio.c
[1/30] Compiling rtextures.c
[1/30] Compiling rmodels.c
[1/30] Compiling rtext.c
[1/30] Compiling utils.c
[1/30] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux