The Swift Package Index logo.Swift Package Index

Build Information

Failed to build raylib, reference v5.5.2 (3efc4f), with Swift 6.1 for Android on 31 Jan 2026 08:11:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lancelotbronner/raylib-build.git
Reference: v5.5.2
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/Lancelotbronner/raylib-build
 * tag               v5.5.2     -> FETCH_HEAD
HEAD is now at 3efc4f3 Fix platform selection and address all raylib build warnings
Cloned https://github.com/Lancelotbronner/raylib-build.git
Revision (git rev-parse @):
3efc4f33c5ff9fe81c37fbf04d727426d142ea23
SUCCESS checkout https://github.com/Lancelotbronner/raylib-build.git at v5.5.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Lancelotbronner/raylib-build.git
https://github.com/Lancelotbronner/raylib-build.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"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "raylib",
      "module_type" : "ClangTarget",
      "name" : "raylib",
      "path" : ".",
      "product_memberships" : [
        "raylib"
      ],
      "sources" : [
        "external/glfw/cocoa_init.m",
        "external/glfw/cocoa_joystick.m",
        "external/glfw/cocoa_monitor.m",
        "external/glfw/cocoa_time.c",
        "external/glfw/cocoa_window.m",
        "external/glfw/context.c",
        "external/glfw/egl_context.c",
        "external/glfw/glx_context.c",
        "external/glfw/init.c",
        "external/glfw/input.c",
        "external/glfw/linux_joystick.c",
        "external/glfw/monitor.c",
        "external/glfw/nsgl_context.m",
        "external/glfw/null_init.c",
        "external/glfw/null_joystick.c",
        "external/glfw/null_monitor.c",
        "external/glfw/null_window.c",
        "external/glfw/osmesa_context.c",
        "external/glfw/platform.c",
        "external/glfw/posix_module.c",
        "external/glfw/posix_poll.c",
        "external/glfw/posix_thread.c",
        "external/glfw/posix_time.c",
        "external/glfw/vulkan.c",
        "external/glfw/wgl_context.c",
        "external/glfw/win32_init.c",
        "external/glfw/win32_joystick.c",
        "external/glfw/win32_module.c",
        "external/glfw/win32_monitor.c",
        "external/glfw/win32_thread.c",
        "external/glfw/win32_time.c",
        "external/glfw/win32_window.c",
        "external/glfw/window.c",
        "external/glfw/wl_init.c",
        "external/glfw/wl_monitor.c",
        "external/glfw/wl_window.c",
        "external/glfw/x11_init.c",
        "external/glfw/x11_monitor.c",
        "external/glfw/x11_window.c",
        "external/glfw/xkb_unicode.c",
        "raudio.c",
        "rcore.c",
        "rglfw.c",
        "rmodels.c",
        "rshapes.c",
        "rtext.c",
        "rtextures.c",
        "utils.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/48] Compiling cocoa_time.c
[1/48] Compiling posix_time.c
[2/48] Compiling context.c
[3/48] Compiling raylib utils.c
[4/48] Compiling cocoa_monitor.m
[4/48] Compiling cocoa_joystick.m
[6/48] Compiling cocoa_window.m
[7/48] Compiling cocoa_init.m
[8/48] Compiling xkb_unicode.c
/host/spi-builder-workspace/rglfw.c:57:10: error: "Cannot disable Wayland and X11 at the same time"
   57 |         #error "Cannot disable Wayland and X11 at the same time"
      |          ^
1 error generated.
[9/48] Compiling raylib rglfw.c
[9/48] Compiling raylib rcore.c
[9/48] Compiling raylib rtextures.c
[9/48] Compiling x11_window.c
[9/48] Compiling raylib rshapes.c
[9/48] Compiling raylib raudio.c
[9/48] Compiling raylib rtext.c
[9/48] Compiling raylib rmodels.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/39] Compiling x11_window.c
/host/spi-builder-workspace/rglfw.c:57:10: error: "Cannot disable Wayland and X11 at the same time"
   57 |         #error "Cannot disable Wayland and X11 at the same time"
      |          ^
1 error generated.
[1/39] Compiling raylib rglfw.c
[1/39] Compiling raylib rmodels.c
[1/39] Compiling raylib rshapes.c
[1/39] Compiling x11_monitor.c
[1/39] Compiling raylib rtextures.c
[1/39] Compiling raylib rtext.c
[1/39] Compiling raylib rcore.c
[1/39] Compiling raylib raudio.c
BUILD FAILURE 6.1 android