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 Raylib, reference v4.0.0 (ad7bdc), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:39:53 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/STREGAsGate/Raylib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/init.c:30:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:194:3: error: "No supported window creation API selected"
  194 |  #error "No supported window creation API selected"
      |   ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:368:5: error: type name requires a specifier or qualifier
  368 |     _GLFW_PLATFORM_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:432:5: error: type name requires a specifier or qualifier
  432 |     _GLFW_PLATFORM_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:456:5: error: type name requires a specifier or qualifier
  456 |     _GLFW_PLATFORM_MONITOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:466:5: error: type name requires a specifier or qualifier
  466 |     _GLFW_PLATFORM_CURSOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:506:5: error: type name requires a specifier or qualifier
  506 |     _GLFW_PLATFORM_JOYSTICK_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:514:5: error: type name requires a specifier or qualifier
  514 |     _GLFW_PLATFORM_TLS_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:522:5: error: type name requires a specifier or qualifier
  522 |     _GLFW_PLATFORM_MUTEX_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:558:9: error: type name requires a specifier or qualifier
  558 |         _GLFW_PLATFORM_LIBRARY_TIMER_STATE;
      |         ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:589:5: error: type name requires a specifier or qualifier
  589 |     _GLFW_PLATFORM_LIBRARY_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:591:5: error: type name requires a specifier or qualifier
  591 |     _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:593:5: error: type name requires a specifier or qualifier
  593 |     _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE;
      |     ^
12 errors generated.
[0/30] Compiling init.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/linux_joystick.c:30:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:194:3: error: "No supported window creation API selected"
  194 |  #error "No supported window creation API selected"
      |   ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:368:5: error: type name requires a specifier or qualifier
  368 |     _GLFW_PLATFORM_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:432:5: error: type name requires a specifier or qualifier
  432 |     _GLFW_PLATFORM_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:456:5: error: type name requires a specifier or qualifier
  456 |     _GLFW_PLATFORM_MONITOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:466:5: error: type name requires a specifier or qualifier
  466 |     _GLFW_PLATFORM_CURSOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:506:5: error: type name requires a specifier or qualifier
  506 |     _GLFW_PLATFORM_JOYSTICK_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:514:5: error: type name requires a specifier or qualifier
  514 |     _GLFW_PLATFORM_TLS_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:522:5: error: type name requires a specifier or qualifier
  522 |     _GLFW_PLATFORM_MUTEX_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:558:9: error: type name requires a specifier or qualifier
  558 |         _GLFW_PLATFORM_LIBRARY_TIMER_STATE;
      |         ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:589:5: error: type name requires a specifier or qualifier
  589 |     _GLFW_PLATFORM_LIBRARY_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:591:5: error: type name requires a specifier or qualifier
  591 |     _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:593:5: error: type name requires a specifier or qualifier
  593 |     _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/linux_joystick.c:34:10: fatal error: 'sys/inotify.h' file not found
   34 | #include <sys/inotify.h>
      |          ^~~~~~~~~~~~~~~
[0/30] Compiling linux_joystick.c
[0/30] Compiling rtextures.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/monitor.c:30:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:194:3: error: "No supported window creation API selected"
  194 |  #error "No supported window creation API selected"
      |   ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:368:5: error: type name requires a specifier or qualifier
  368 |     _GLFW_PLATFORM_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:432:5: error: type name requires a specifier or qualifier
  432 |     _GLFW_PLATFORM_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:456:5: error: type name requires a specifier or qualifier
  456 |     _GLFW_PLATFORM_MONITOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:466:5: error: type name requires a specifier or qualifier
  466 |     _GLFW_PLATFORM_CURSOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:506:5: error: type name requires a specifier or qualifier
  506 |     _GLFW_PLATFORM_JOYSTICK_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:514:5: error: type name requires a specifier or qualifier
  514 |     _GLFW_PLATFORM_TLS_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:522:5: error: type name requires a specifier or qualifier
  522 |     _GLFW_PLATFORM_MUTEX_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:558:9: error: type name requires a specifier or qualifier
  558 |         _GLFW_PLATFORM_LIBRARY_TIMER_STATE;
      |         ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:589:5: error: type name requires a specifier or qualifier
  589 |     _GLFW_PLATFORM_LIBRARY_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:591:5: error: type name requires a specifier or qualifier
  591 |     _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:593:5: error: type name requires a specifier or qualifier
  593 |     _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE;
      |     ^
12 errors generated.
[0/30] Compiling monitor.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/input.c:30:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:194:3: error: "No supported window creation API selected"
  194 |  #error "No supported window creation API selected"
      |   ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:368:5: error: type name requires a specifier or qualifier
  368 |     _GLFW_PLATFORM_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:432:5: error: type name requires a specifier or qualifier
  432 |     _GLFW_PLATFORM_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:456:5: error: type name requires a specifier or qualifier
  456 |     _GLFW_PLATFORM_MONITOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:466:5: error: type name requires a specifier or qualifier
  466 |     _GLFW_PLATFORM_CURSOR_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:506:5: error: type name requires a specifier or qualifier
  506 |     _GLFW_PLATFORM_JOYSTICK_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:514:5: error: type name requires a specifier or qualifier
  514 |     _GLFW_PLATFORM_TLS_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:522:5: error: type name requires a specifier or qualifier
  522 |     _GLFW_PLATFORM_MUTEX_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:558:9: error: type name requires a specifier or qualifier
  558 |         _GLFW_PLATFORM_LIBRARY_TIMER_STATE;
      |         ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:589:5: error: type name requires a specifier or qualifier
  589 |     _GLFW_PLATFORM_LIBRARY_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:591:5: error: type name requires a specifier or qualifier
  591 |     _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:593:5: error: type name requires a specifier or qualifier
  593 |     _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/input.c:248:33: error: use of undeclared identifier '_GLFW_PLATFORM_MAPPING_NAME'
  248 |                 length = strlen(_GLFW_PLATFORM_MAPPING_NAME);
      |                                 ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/input.c:249:32: error: use of undeclared identifier '_GLFW_PLATFORM_MAPPING_NAME'
  249 |                 if (strncmp(c, _GLFW_PLATFORM_MAPPING_NAME, length) != 0)
      |                                ^
14 errors generated.
[0/30] Compiling input.c
[0/30] Compiling rtext.c
[0/30] Compiling utils.c
[0/30] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm