The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Raylib, reference v4.0.0 (ad7bdc), with Swift 6.1 for Wasm on 28 May 2025 11:30:52 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.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-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_window.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/x11_window.c:32:10: fatal error: 'X11/cursorfont.h' file not found
   32 | #include <X11/cursorfont.h>
      |          ^~~~~~~~~~~~~~~~~~
13 errors generated.
[0/30] Compiling x11_window.c
[0/30] Compiling utils.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_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;
      |     ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_init.c:44:35: error: unknown type name 'KeySym'
   44 | static int translateKeySyms(const KeySym* keysyms, int width)
      |                                   ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_init.c:50:18: error: use of undeclared identifier 'XK_KP_0'
   50 |             case XK_KP_0:           return GLFW_KEY_KP_0;
      |                  ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_init.c:51:18: error: use of undeclared identifier 'XK_KP_1'
   51 |             case XK_KP_1:           return GLFW_KEY_KP_1;
      |                  ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_init.c:52:18: error: use of undeclared identifier 'XK_KP_2'
   52 |             case XK_KP_2:           return GLFW_KEY_KP_2;
      |                  ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_init.c:53:18: error: use of undeclared identifier 'XK_KP_3'
   53 |             case XK_KP_3:           return GLFW_KEY_KP_3;
      |                  ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_init.c:54:18: error: use of undeclared identifier 'XK_KP_4'
   54 |             case XK_KP_4:           return GLFW_KEY_KP_4;
      |                  ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_init.c:55:18: error: use of undeclared identifier 'XK_KP_5'
   55 |             case XK_KP_5:           return GLFW_KEY_KP_5;
      |                  ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/30] Compiling x11_init.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/egl_context.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/egl_context.c:259:40: error: call to undeclared function '_glfw_dlsym'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  259 |         GLFWglproc proc = (GLFWglproc) _glfw_dlsym(window->context.egl.client,
      |                                        ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/egl_context.c:278:13: error: call to undeclared function '_glfw_dlclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  278 |             _glfw_dlclose(window->context.egl.client);
      |             ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/egl_context.c:330:28: error: call to undeclared function '_glfw_dlopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  330 |         _glfw.egl.handle = _glfw_dlopen(sonames[i]);
      |                            ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/egl_context.c:330:26: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
  330 |         _glfw.egl.handle = _glfw_dlopen(sonames[i]);
      |                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/egl_context.c:344:9: error: call to undeclared function '_glfw_dlsym'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  344 |         _glfw_dlsym(_glfw.egl.handle, "eglGetConfigAttrib");
      |         ^
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/egl_context.c:491:9: error: call to undeclared function '_glfw_dlclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  491 |         _glfw_dlclose(_glfw.egl.handle);
      |         ^
[0/30] Compiling egl_context.c
[0/30] Compiling rtextures.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/x11_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;
      |     ^
[0/30] Compiling x11_monitor.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/context.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 context.c
[0/30] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/30] Write sources
[2/30] Compiling utils.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/glfw/src/xkb_unicode.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.
[3/30] Compiling xkb_unicode.c
[3/30] Compiling rcore.c
[3/30] Compiling rshapes.c
[3/30] Compiling rtextures.c
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/rmodels.c:96:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/par_shapes.h:1133:32: warning: implicit conversion from 'int' to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
 1133 |     float r = (float) rand() / RAND_MAX;
      |                              ~ ^~~~~~~~
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/stdlib.h:96:19: note: expanded from macro 'RAND_MAX'
   96 | #define RAND_MAX (0x7fffffff)
      |                   ^~~~~~~~~~
[3/30] Compiling rmodels.c
[3/30] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/raudio.c:172:
/host/spi-builder-workspace/Sources/_RaylibC/UnmodifiedRaylibSrc/external/miniaudio.h:1527:14: fatal error: 'pthread.h' file not found
 1527 |     #include <pthread.h>    /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
      |              ^~~~~~~~~~~
[3/30] Compiling raudio.c
[3/30] Compiling rtext.c
BUILD FAILURE 6.1 wasm