The Swift Package Index logo.Swift Package Index

Build Information

Failed to build raylib, reference v6.2.0 (ea2138), with Swift 6.1 for Wasm on 23 Oct 2026 18:56:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path:  $PWD
https://github.com/Lancelotbronner/raylib-build.git
https://github.com/Lancelotbronner/raylib-build.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.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 saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/raylib/rglfw.m:85:
In file included from /host/spi-builder-workspace/Sources/raylib/external/glfw/src/init.c:28:
In file included from /host/spi-builder-workspace/Sources/raylib/external/glfw/src/internal.h:335:
In file included from /host/spi-builder-workspace/Sources/raylib/external/glfw/src/platform.h:179:
/host/spi-builder-workspace/Sources/raylib/external/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/7] Compiling raylib rglfw.m
[0/7] Compiling raylib rtext.c
[0/7] Compiling raylib rcore.c
[0/7] Compiling raylib rmodels.c
[0/7] Compiling raylib rshapes.c
[0/7] Compiling raylib rtextures.c
In file included from /host/spi-builder-workspace/Sources/raylib/raudio.c:176:
/host/spi-builder-workspace/Sources/raylib/external/miniaudio.h:3907:22: fatal error: 'pthread.h' file not found
 3907 |             #include <pthread.h>    /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
      |                      ^~~~~~~~~~~
[0/7] Compiling raylib raudio.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:f257c9b8465670613eb336f6def351d681b1d395aebdb231a45bac980c1f9d3c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/raylib/rglfw.m:85:
In file included from /host/spi-builder-workspace/Sources/raylib/external/glfw/src/init.c:28:
In file included from /host/spi-builder-workspace/Sources/raylib/external/glfw/src/internal.h:335:
In file included from /host/spi-builder-workspace/Sources/raylib/external/glfw/src/platform.h:179:
/host/spi-builder-workspace/Sources/raylib/external/glfw/src/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
   28 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[0/7] Compiling raylib rglfw.m
[0/7] Compiling raylib rcore.c
[0/7] Compiling raylib rmodels.c
[0/7] Compiling raylib rtext.c
[0/7] Compiling raylib rshapes.c
[0/7] Compiling raylib rtextures.c
In file included from /host/spi-builder-workspace/Sources/raylib/raudio.c:176:
/host/spi-builder-workspace/Sources/raylib/external/miniaudio.h:3907:22: fatal error: 'pthread.h' file not found
 3907 |             #include <pthread.h>    /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
      |                      ^~~~~~~~~~~
[0/7] Compiling raylib raudio.c
BUILD FAILURE 6.1 wasm