The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-raylib, reference main (6d8e71), with Swift 6.1 for Wasm on 23 Oct 2026 04:12:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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/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.1
Building package at path:  $PWD
https://github.com/Lancelotbronner/swift-raylib.git
https://github.com/Lancelotbronner/swift-raylib.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-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.75s)
Computing version for https://github.com/Lancelotbronner/raylib-build.git
Computed https://github.com/Lancelotbronner/raylib-build.git at 6.2.0 (1.02s)
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...
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/rglfw.m:85:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/external/glfw/src/init.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/external/glfw/src/internal.h:335:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/external/glfw/src/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/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/9] Compiling raylib rglfw.m
[0/9] Write swift-version-24593BA9C3E375BF.txt
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: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/9] Compiling raylib raudio.c
[0/9] Compiling raylib rtextures.c
[0/9] Compiling raylib rmodels.c
[0/9] Compiling raylib rcore.c
[0/9] Compiling raylib rshapes.c
[0/9] Compiling raylib rtext.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-2":/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:8209621f35c5a12749e7df75bbcb99eccb508d0196da99f6ac3bcf5f4827df31
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/.build/checkouts/raylib-build/Sources/raylib/rglfw.m:85:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/external/glfw/src/init.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/external/glfw/src/internal.h:335:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/Sources/raylib/external/glfw/src/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/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/9] Compiling raylib rglfw.m
[0/9] Compiling raylib rtext.c
[0/9] Compiling raylib rshapes.c
[0/9] Compiling raylib rcore.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: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/9] Compiling raylib raudio.c
[0/9] Compiling raylib rmodels.c
[0/9] Compiling raylib rtextures.c
[0/9] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm