Build Information
Failed to build swift-raylib, reference main (6d8e71), with Swift 6.3 for Wasm on 23 Oct 2026 04:15:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-3":/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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lancelotbronner/swift-raylib.git
Reference: main
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/swift-raylib
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6d8e71c Updated to Raylib 6.2
Cloned https://github.com/Lancelotbronner/swift-raylib.git
Revision (git rev-parse @):
6d8e71c99139ca251ee1be460eb8357f1d02f3c3
SUCCESS checkout https://github.com/Lancelotbronner/swift-raylib.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Lancelotbronner/swift-raylib.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-3":/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:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/Lancelotbronner/raylib-build.git
[1/367] Fetching raylib-build
Fetched https://github.com/Lancelotbronner/raylib-build.git from cache (0.77s)
Computing version for https://github.com/Lancelotbronner/raylib-build.git
Computed https://github.com/Lancelotbronner/raylib-build.git at 6.2.0 (0.94s)
Creating working copy for https://github.com/Lancelotbronner/raylib-build.git
Working copy of https://github.com/Lancelotbronner/raylib-build.git resolved at 6.2.0
Building for debugging...
[0/9] Compiling raylib rtext.c
[1/9] Write sources
/host/spi-builder-workspace/.build/checkouts/raylib-build/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/9] Compiling raylib rcore.c
[2/9] Compiling raylib rglfw.m
[2/9] Compiling raylib rtextures.c
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/raudio.c:176:
/host/spi-builder-workspace/.build/checkouts/raylib-build/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/.build/checkouts/raylib-build/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/.build/checkouts/raylib-build/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/.build/checkouts/raylib-build/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/.build/checkouts/raylib-build/Sources/raylib/raudio.c:176:
/host/spi-builder-workspace/.build/checkouts/raylib-build/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/9] Compiling raylib raudio.c
[2/9] Compiling raylib rshapes.c
[2/9] Compiling raylib rmodels.c
[2/9] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.3 wasm