The Swift Package Index logo.Swift Package Index

Build Information

Failed to build raylib, reference v6.2.0 (ea2138), with Swift 6.3 for Wasm on 23 Oct 2026 18:42:03 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lancelotbronner/raylib-build.git
Reference: v6.2.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/Lancelotbronner/raylib-build
 * tag               v6.2.0     -> FETCH_HEAD
HEAD is now at ea2138a Updated to Raylib 6.2
Cloned https://github.com/Lancelotbronner/raylib-build.git
Revision (git rev-parse @):
ea2138ae1f1acdeba4ed1e50b06c2634812ee3ae
SUCCESS checkout https://github.com/Lancelotbronner/raylib-build.git at v6.2.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Lancelotbronner/raylib-build.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:eea66feda95ad8894091082dbcb77ec1fc917891d37888fd1938b0b68455d992
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/7] Compiling raylib rglfw.m
[1/7] Compiling raylib rshapes.c
/host/spi-builder-workspace/Sources/raylib/rcore.c:526:14: fatal error: 'platforms/rcore_web.c' file not found
  526 |     #include "platforms/rcore_web.c"
      |              ^~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/7] Compiling raylib rcore.c
[2/7] Compiling raylib rtextures.c
[2/7] Compiling raylib rmodels.c
In file included from /host/spi-builder-workspace/Sources/raylib/raudio.c:176:
/host/spi-builder-workspace/Sources/raylib/external/miniaudio.h:17628:31: error: call to undeclared function 'sched_get_priority_min'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 17628 |             int priorityMin = sched_get_priority_min(scheduler);
       |                               ^
/host/spi-builder-workspace/Sources/raylib/external/miniaudio.h:17629:31: error: call to undeclared function 'sched_get_priority_max'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 17629 |             int priorityMax = sched_get_priority_max(scheduler);
       |                               ^
/host/spi-builder-workspace/Sources/raylib/external/miniaudio.h:17633:59: error: call to undeclared function 'pthread_attr_getschedparam'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 17633 |             if (priorityMin != -1 && priorityMax != -1 && pthread_attr_getschedparam(&attr, &sched) == 0) {
       |                                                           ^
/host/spi-builder-workspace/Sources/raylib/external/miniaudio.h:17633:59: note: did you mean 'pthread_attr_getschedpolicy'?
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/pthread.h:178:5: note: 'pthread_attr_getschedpolicy' declared here
  178 | int pthread_attr_getschedpolicy(const pthread_attr_t *__restrict, int *__restrict);
      |     ^
In file included from /host/spi-builder-workspace/Sources/raylib/raudio.c:176:
/host/spi-builder-workspace/Sources/raylib/external/miniaudio.h:17658:21: error: call to undeclared function 'pthread_attr_setschedparam'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 17658 |                 if (pthread_attr_setschedparam(&attr, &sched) == 0) {
       |                     ^
[2/7] Compiling raylib raudio.c
[2/7] Compiling raylib rtext.c
BUILD FAILURE 6.3 wasm