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 master (9e7c83), with Swift 6.1 for Wasm on 28 May 2025 11:30:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 9e7c836 Make RaylibC accessible
Cloned https://github.com/STREGAsGate/Raylib.git
Revision (git rev-parse @):
9e7c83604f74211e4f8f3c38c1c52d4434f51bc1
SUCCESS checkout https://github.com/STREGAsGate/Raylib.git at master
========================================
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
{
  "c_language_standard" : "c99",
  "dependencies" : [
  ],
  "manifest_display_name" : "Raylib",
  "name" : "Raylib",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Raylib",
      "targets" : [
        "Raylib",
        "RaylibC"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "RaylibC",
      "targets" : [
        "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",
        "RaylibC",
        "Example"
      ],
      "sources" : [
        "ModifiedRaylibSrc/extras/raygui.c",
        "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",
        "Extras/easings_h.swift",
        "Extras/raygui_h.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.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/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/31] Compiling context.c
[0/31] Compiling rtextures.c
In file included from /host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_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/glx_context.c:43:33: error: unknown type name 'GLXFBConfig'
   43 | static int getGLXFBConfigAttrib(GLXFBConfig fbconfig, int attrib)
      |                                 ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:46:5: error: call to undeclared function 'glXGetFBConfigAttrib'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   46 |     glXGetFBConfigAttrib(_glfw.x11.display, fbconfig, attrib, &value);
      |     ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:46:5: note: did you mean 'getGLXFBConfigAttrib'?
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:43:12: note: 'getGLXFBConfigAttrib' declared here
   43 | static int getGLXFBConfigAttrib(GLXFBConfig fbconfig, int attrib)
      |            ^
   44 | {
   45 |     int value;
   46 |     glXGetFBConfigAttrib(_glfw.x11.display, fbconfig, attrib, &value);
      |     ~~~~~~~~~~~~~~~~~~~~
      |     getGLXFBConfigAttrib
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:46:32: error: no member named 'x11' in 'struct _GLFWlibrary'
   46 |     glXGetFBConfigAttrib(_glfw.x11.display, fbconfig, attrib, &value);
      |                          ~~~~~ ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:53:35: error: unknown type name 'GLXFBConfig'
   53 |                                   GLXFBConfig* result)
      |                                   ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:55:5: error: use of undeclared identifier 'GLXFBConfig'
   55 |     GLXFBConfig* nativeConfigs;
      |     ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:55:18: error: use of undeclared identifier 'nativeConfigs'
   55 |     GLXFBConfig* nativeConfigs;
      |                  ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/glx_context.c:64:14: error: call to undeclared function 'glXGetClientString'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   64 |     vendor = glXGetClientString(_glfw.x11.display, GLX_VENDOR);
      |              ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/31] Compiling glx_context.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);
      |         ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/egl_context.c:740:42: error: call to undeclared function '_glfw_dlopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  740 |             window->context.egl.client = _glfw_dlopen(sonames[i]);
      |                                          ^
19 errors generated.
[0/31] Compiling egl_context.c
[0/31] Compiling utils.c
[0/31] Compiling rtext.c
[0/31] Compiling raygui.c
[0/31] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/31] Write sources
[2/31] 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/31] Compiling xkb_unicode.c
[3/31] Compiling rtext.c
[3/31] Compiling rmodels.c
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/31] Compiling raudio.c
[3/31] Compiling rcore.c
[3/31] Compiling rtextures.c
[3/31] Compiling rshapes.c
[3/31] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm