Build Information
Failed to build swift-raylib-examples, reference main (740c82), with Swift 6.1 for Wasm on 30 Jan 2026 19:15:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lancelotbronner/swift-raylib-examples.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-examples
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 740c82b Make sure examples build, add a few audio examples
Cloned https://github.com/Lancelotbronner/swift-raylib-examples.git
Revision (git rev-parse @):
740c82bb3b575b018d0be2c15cb20c32d355fc7f
SUCCESS checkout https://github.com/Lancelotbronner/swift-raylib-examples.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/Lancelotbronner/swift-raylib-examples.git
https://github.com/Lancelotbronner/swift-raylib-examples.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-raylib",
"requirement" : {
"range" : [
{
"lower_bound" : "5.5.2",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Lancelotbronner/swift-raylib"
}
],
"manifest_display_name" : "swift-raylib-examples",
"name" : "swift-raylib-examples",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Textures - Sprite Animation",
"targets" : [
"Textures - Sprite Animation"
],
"type" : {
"executable" : null
}
},
{
"name" : "Textures - Logo Raylib",
"targets" : [
"Textures - Logo Raylib"
],
"type" : {
"executable" : null
}
},
{
"name" : "Textures - Image Generation",
"targets" : [
"Textures - Image Generation"
],
"type" : {
"executable" : null
}
},
{
"name" : "Textures - Blend Modes",
"targets" : [
"Textures - Blend Modes"
],
"type" : {
"executable" : null
}
},
{
"name" : "Textures - Atlas",
"targets" : [
"Textures - Atlas"
],
"type" : {
"executable" : null
}
},
{
"name" : "Text - Fonts",
"targets" : [
"Text - Fonts"
],
"type" : {
"executable" : null
}
},
{
"name" : "Shapes - Following Eyes",
"targets" : [
"Shapes - Following Eyes"
],
"type" : {
"executable" : null
}
},
{
"name" : "Shapes - Color Palette",
"targets" : [
"Shapes - Color Palette"
],
"type" : {
"executable" : null
}
},
{
"name" : "Shapes - Bouncing Ball",
"targets" : [
"Shapes - Bouncing Ball"
],
"type" : {
"executable" : null
}
},
{
"name" : "Shapes - Basic Shapes",
"targets" : [
"Shapes - Basic Shapes"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - Scissor Test",
"targets" : [
"Core - Scissor Test"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - Letterboxed Window",
"targets" : [
"Core - Letterboxed Window"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - Input Mouse Wheel",
"targets" : [
"Core - Input Mouse Wheel"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - Input Mouse",
"targets" : [
"Core - Input Mouse"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - Input Keys",
"targets" : [
"Core - Input Keys"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - Drop Files",
"targets" : [
"Core - Drop Files"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - Basic Window",
"targets" : [
"Core - Basic Window"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - 2D Camera Platformer",
"targets" : [
"Core - 2D Camera Platformer"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - 2D Camera Mouse Zoom",
"targets" : [
"Core - 2D Camera Mouse Zoom"
],
"type" : {
"executable" : null
}
},
{
"name" : "Core - 2D Camera",
"targets" : [
"Core - 2D Camera"
],
"type" : {
"executable" : null
}
},
{
"name" : "Classic Game - Snake",
"targets" : [
"Classic Game - Snake"
],
"type" : {
"executable" : null
}
},
{
"name" : "Classic Game - Arkanoid",
"targets" : [
"Classic Game - Arkanoid"
],
"type" : {
"executable" : null
}
},
{
"name" : "Audio - Sound Multi",
"targets" : [
"Audio - Sound Multi"
],
"type" : {
"executable" : null
}
},
{
"name" : "Audio - Sound Loading",
"targets" : [
"Audio - Sound Loading"
],
"type" : {
"executable" : null
}
},
{
"name" : "Audio - Raw Stream",
"targets" : [
"Audio - Raw Stream"
],
"type" : {
"executable" : null
}
},
{
"name" : "Audio - Music Stream",
"targets" : [
"Audio - Music Stream"
],
"type" : {
"executable" : null
}
},
{
"name" : "Audio - Module Playing",
"targets" : [
"Audio - Module Playing"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "Textures___Sprite_Animation",
"module_type" : "SwiftTarget",
"name" : "Textures - Sprite Animation",
"path" : "Sources/Textures/Sprite Animation",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Textures - Sprite Animation"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Textures/Sprite Animation/scarfy.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Textures___Logo_Raylib",
"module_type" : "SwiftTarget",
"name" : "Textures - Logo Raylib",
"path" : "Sources/Textures/Logo Raylib",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Textures - Logo Raylib"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Textures/Logo Raylib/logo.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Textures___Image_Generation",
"module_type" : "SwiftTarget",
"name" : "Textures - Image Generation",
"path" : "Sources/Textures/Image Generation",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Textures - Image Generation"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Textures___Blend_Modes",
"module_type" : "SwiftTarget",
"name" : "Textures - Blend Modes",
"path" : "Sources/Textures/Blend Modes",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Textures - Blend Modes"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Textures/Blend Modes/background.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Textures/Blend Modes/foreground.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Textures___Atlas",
"module_type" : "SwiftTarget",
"name" : "Textures - Atlas",
"path" : "Sources/Textures/Atlas",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Textures - Atlas"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Textures/Atlas/scarfy.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Text___Fonts",
"module_type" : "SwiftTarget",
"name" : "Text - Fonts",
"path" : "Sources/Text/Fonts",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Text - Fonts"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/alagard.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/alpha_beta.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/jupiter_crash.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/mecha.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/pixantiqua.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/pixelplay.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/romulus.png",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Text/Fonts/setback.png",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Shapes___Following_Eyes",
"module_type" : "SwiftTarget",
"name" : "Shapes - Following Eyes",
"path" : "Sources/Shapes/Following Eyes",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Shapes - Following Eyes"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Shapes___Color_Palette",
"module_type" : "SwiftTarget",
"name" : "Shapes - Color Palette",
"path" : "Sources/Shapes/Color Palette",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Shapes - Color Palette"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Shapes___Bouncing_Ball",
"module_type" : "SwiftTarget",
"name" : "Shapes - Bouncing Ball",
"path" : "Sources/Shapes/Bouncing Ball",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Shapes - Bouncing Ball"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Shapes___Basic_Shapes",
"module_type" : "SwiftTarget",
"name" : "Shapes - Basic Shapes",
"path" : "Sources/Shapes/Basic Shapes",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Shapes - Basic Shapes"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___Scissor_Test",
"module_type" : "SwiftTarget",
"name" : "Core - Scissor Test",
"path" : "Sources/Core/Scissor Test",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - Scissor Test"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___Letterboxed_Window",
"module_type" : "SwiftTarget",
"name" : "Core - Letterboxed Window",
"path" : "Sources/Core/Letterboxed Window",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - Letterboxed Window"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___Input_Mouse_Wheel",
"module_type" : "SwiftTarget",
"name" : "Core - Input Mouse Wheel",
"path" : "Sources/Core/Input Mouse Wheel",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - Input Mouse Wheel"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___Input_Mouse",
"module_type" : "SwiftTarget",
"name" : "Core - Input Mouse",
"path" : "Sources/Core/Input Mouse",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - Input Mouse"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___Input_Keys",
"module_type" : "SwiftTarget",
"name" : "Core - Input Keys",
"path" : "Sources/Core/Input Keys",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - Input Keys"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___Drop_Files",
"module_type" : "SwiftTarget",
"name" : "Core - Drop Files",
"path" : "Sources/Core/Drop Files",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - Drop Files"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___Basic_Window",
"module_type" : "SwiftTarget",
"name" : "Core - Basic Window",
"path" : "Sources/Core/Basic Window",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - Basic Window"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___2D_Camera_Platformer",
"module_type" : "SwiftTarget",
"name" : "Core - 2D Camera Platformer",
"path" : "Sources/Core/2D Camera Platformer",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - 2D Camera Platformer"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___2D_Camera_Mouse_Zoom",
"module_type" : "SwiftTarget",
"name" : "Core - 2D Camera Mouse Zoom",
"path" : "Sources/Core/2D Camera Mouse Zoom",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - 2D Camera Mouse Zoom"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Core___2D_Camera",
"module_type" : "SwiftTarget",
"name" : "Core - 2D Camera",
"path" : "Sources/Core/2D Camera",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Core - 2D Camera"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Classic_Game___Snake",
"module_type" : "SwiftTarget",
"name" : "Classic Game - Snake",
"path" : "Sources/Classics/Snake",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Classic Game - Snake"
],
"sources" : [
"App.swift",
"GameOverScene.swift",
"GameplayScene.swift",
"Model.swift"
],
"type" : "executable"
},
{
"c99name" : "Classic_Game___Arkanoid",
"module_type" : "SwiftTarget",
"name" : "Classic Game - Arkanoid",
"path" : "Sources/Classics/Arkanoid",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Classic Game - Arkanoid"
],
"sources" : [
"App.swift",
"GameOver Scene.swift",
"GameplayScene.swift",
"Model.swift"
],
"type" : "executable"
},
{
"c99name" : "Audio___Sound_Multi",
"module_type" : "SwiftTarget",
"name" : "Audio - Sound Multi",
"path" : "Sources/Audio/Sound Multi",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Audio - Sound Multi"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Audio/Sound Multi/sound.wav",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Audio___Sound_Loading",
"module_type" : "SwiftTarget",
"name" : "Audio - Sound Loading",
"path" : "Sources/Audio/Sound Loading",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Audio - Sound Loading"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Audio/Sound Loading/sound.wav",
"rule" : {
"copy" : {
}
}
},
{
"path" : "/host/spi-builder-workspace/Sources/Audio/Sound Loading/target.ogg",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Audio___Raw_Stream",
"module_type" : "SwiftTarget",
"name" : "Audio - Raw Stream",
"path" : "Sources/Audio/Raw Stream",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Audio - Raw Stream"
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Audio___Music_Stream",
"module_type" : "SwiftTarget",
"name" : "Audio - Music Stream",
"path" : "Sources/Audio/Music Stream",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Audio - Music Stream"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Audio/Music Stream/country.mp3",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
},
{
"c99name" : "Audio___Module_Playing",
"module_type" : "SwiftTarget",
"name" : "Audio - Module Playing",
"path" : "Sources/Audio/Module Playing",
"product_dependencies" : [
"RaylibKit"
],
"product_memberships" : [
"Audio - Module Playing"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/Audio/Module Playing/mini1111.xm",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"App.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/Lancelotbronner/swift-raylib
[1/845] Fetching swift-raylib
Fetched https://github.com/Lancelotbronner/swift-raylib from cache (0.37s)
Computing version for https://github.com/Lancelotbronner/swift-raylib
Computed https://github.com/Lancelotbronner/swift-raylib at 5.5.2 (1.38s)
Fetching https://github.com/Lancelotbronner/raylib-build.git
[1/200] Fetching raylib-build
Fetched https://github.com/Lancelotbronner/raylib-build.git from cache (0.49s)
Computing version for https://github.com/Lancelotbronner/raylib-build.git
Computed https://github.com/Lancelotbronner/raylib-build.git at 5.5.2 (1.46s)
Creating working copy for https://github.com/Lancelotbronner/swift-raylib
Working copy of https://github.com/Lancelotbronner/swift-raylib resolved at 5.5.2
Creating working copy for https://github.com/Lancelotbronner/raylib-build.git
Working copy of https://github.com/Lancelotbronner/raylib-build.git resolved at 5.5.2
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Textures/Sprite Animation/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Textures/Blend Modes/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Textures/Atlas/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Text/Fonts/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Sound Multi/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Sound Loading/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Music Stream/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Module Playing/LICENSE.md
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/null_joystick.c:27:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/177] Compiling null_joystick.c
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/nsgl_context.m:27:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/177] Compiling nsgl_context.m
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/null_init.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/177] Compiling null_init.c
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/null_window.c:29:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/osmesa_context.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/177] Compiling null_window.c
[0/177] Compiling osmesa_context.c
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/null_monitor.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
[0/177] Compiling null_monitor.c
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/linux_joystick.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/177] Compiling linux_joystick.c
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/monitor.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[0/177] Compiling monitor.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Textures/Sprite Animation/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Textures/Blend Modes/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Textures/Atlas/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Text/Fonts/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Sound Multi/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Sound Loading/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Music Stream/LICENSE.md
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Audio/Module Playing/LICENSE.md
[0/1] Planning build
Building for debugging...
[0/177] Copying scarfy.png
[0/177] Copying logo.png
[0/177] Copying setback.png
[0/177] Copying background.png
[0/177] Copying romulus.png
[0/177] Copying foreground.png
[0/177] Copying scarfy.png
[0/177] Copying pixelplay.png
[0/177] Copying pixantiqua.png
[0/177] Copying mecha.png
[1/177] Copying jupiter_crash.png
[1/177] Copying alpha_beta.png
[1/177] Copying target.ogg
[1/177] Copying alagard.png
[12/177] Copying sound.wav
[15/177] Copying mini1111.xm
[17/177] Copying country.mp3
[18/177] Compiling raylib rglfw.c
[19/177] Compiling raylib rshapes.c
[20/177] Compiling raylib utils.c
[20/177] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/xkb_unicode.c:28:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/internal.h:325:
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/platform.h:179:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/glfw/posix_thread.h:28:10: fatal error: 'pthread.h' file not found
28 | #include <pthread.h>
| ^~~~~~~~~~~
1 error generated.
[22/177] Compiling xkb_unicode.c
[22/177] Compiling x11_monitor.c
In file included from /host/spi-builder-workspace/.build/checkouts/raylib-build/raudio.c:180:
/host/spi-builder-workspace/.build/checkouts/raylib-build/external/miniaudio.h:3857:18: fatal error: 'pthread.h' file not found
3857 | #include <pthread.h> /* Unfortunate #include, but needed for pthread_t, pthread_mutex_t and pthread_cond_t types. */
| ^~~~~~~~~~~
[22/177] Compiling raylib raudio.c
[22/177] Compiling x11_window.c
[22/177] Compiling raylib rtextures.c
[22/177] Compiling raylib rcore.c
[22/177] Compiling raylib rmodels.c
[22/177] Compiling raylib rtext.c
BUILD FAILURE 6.1 wasm