Build Information
Failed to build Raylib, reference master (9e7c83
), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:39:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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.2
Building package at path: $PWD
https://github.com/STREGAsGate/Raylib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/osmesa_context.c:34:
/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/osmesa_context.c:139:31: error: call to undeclared function '_glfw_dlopen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
139 | _glfw.osmesa.handle = _glfw_dlopen(sonames[i]);
| ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/osmesa_context.c:139:29: error: incompatible integer to pointer conversion assigning to 'void *' from 'int' [-Wint-conversion]
139 | _glfw.osmesa.handle = _glfw_dlopen(sonames[i]);
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/osmesa_context.c:151:9: error: call to undeclared function '_glfw_dlsym'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
151 | _glfw_dlsym(_glfw.osmesa.handle, "OSMesaCreateContextExt");
| ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/osmesa_context.c:186:9: error: call to undeclared function '_glfw_dlclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
186 | _glfw_dlclose(_glfw.osmesa.handle);
| ^
16 errors generated.
[0/31] Compiling osmesa_context.c
In file included from /host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.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/posix_thread.c:42:17: error: no member named 'posix' in 'struct _GLFWtls'
42 | assert(tls->posix.allocated == GLFW_FALSE);
| ~~~ ^
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/assert.h:8:28: note: expanded from macro 'assert'
8 | #define assert(x) ((void)((x) || (__assert_fail(#x, __FILE__, __LINE__, __func__),0)))
| ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c:44:9: error: call to undeclared function 'pthread_key_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
44 | if (pthread_key_create(&tls->posix.key, NULL) != 0)
| ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c:44:34: error: no member named 'posix' in 'struct _GLFWtls'
44 | if (pthread_key_create(&tls->posix.key, NULL) != 0)
| ~~~ ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c:51:10: error: no member named 'posix' in 'struct _GLFWtls'
51 | tls->posix.allocated = GLFW_TRUE;
| ~~~ ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c:57:14: error: no member named 'posix' in 'struct _GLFWtls'
57 | if (tls->posix.allocated)
| ~~~ ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c:58:9: error: call to undeclared function 'pthread_key_delete'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
58 | pthread_key_delete(tls->posix.key);
| ^
/host/spi-builder-workspace/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/posix_thread.c:58:33: error: no member named 'posix' in 'struct _GLFWtls'
58 | pthread_key_delete(tls->posix.key);
| ~~~ ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[0/31] Compiling posix_thread.c
[0/31] Compiling rmodels.c
[0/31] Compiling rshapes.c
[0/31] Compiling rtextures.c
[0/31] Compiling rtext.c
[0/31] Compiling utils.c
[0/31] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm