The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SolarSystem, reference v1.0.0 (a913ff), with Swift 6.2 for Wasm on 19 Jun 2025 21:37:49 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaroshevskii/solar-system.git
Reference: v1.0.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/jaroshevskii/solar-system
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at a913ff1 Update README.md
Cloned https://github.com/jaroshevskii/solar-system.git
Revision (git rev-parse @):
a913ff1d29691caf690557e68c92e80f6ee9114a
SUCCESS checkout https://github.com/jaroshevskii/solar-system.git at v1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/jaroshevskii/solar-system.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/STREGAsGate/Raylib.git
[1/771] Fetching raylib
Fetched https://github.com/STREGAsGate/Raylib.git from cache (0.68s)
Creating working copy for https://github.com/STREGAsGate/Raylib.git
Working copy of https://github.com/STREGAsGate/Raylib.git resolved at master (9e7c836)
Building for debugging...
[0/41] Copying Uranus.glb
[1/41] Copying Venus.glb
[1/41] Copying Neptune.glb
[3/41] Copying Mercury.glb
[4/41] Copying Saturn.glb
[5/41] Write sources
[6/41] Copying Sun.glb
[7/41] Copying Mars.glb
[8/41] Copying Earth.glb
[8/41] Copying Jupiter.glb
[10/41] Copying Space.tif
[11/41] Write swift-version-24593BA9C3E375BF.txt
[12/41] Compiling utils.c
In file included from /host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/xkb_unicode.c:30:
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:194:3: error: "No supported window creation API selected"
  194 |  #error "No supported window creation API selected"
      |   ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:368:5: error: type name requires a specifier or qualifier
  368 |     _GLFW_PLATFORM_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:432:5: error: type name requires a specifier or qualifier
  432 |     _GLFW_PLATFORM_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:456:5: error: type name requires a specifier or qualifier
  456 |     _GLFW_PLATFORM_MONITOR_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:466:5: error: type name requires a specifier or qualifier
  466 |     _GLFW_PLATFORM_CURSOR_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:506:5: error: type name requires a specifier or qualifier
  506 |     _GLFW_PLATFORM_JOYSTICK_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:514:5: error: type name requires a specifier or qualifier
  514 |     _GLFW_PLATFORM_TLS_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:522:5: error: type name requires a specifier or qualifier
  522 |     _GLFW_PLATFORM_MUTEX_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:558:9: error: type name requires a specifier or qualifier
  558 |         _GLFW_PLATFORM_LIBRARY_TIMER_STATE;
      |         ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:589:5: error: type name requires a specifier or qualifier
  589 |     _GLFW_PLATFORM_LIBRARY_WINDOW_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:591:5: error: type name requires a specifier or qualifier
  591 |     _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE;
      |     ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/glfw/src/internal.h:593:5: error: type name requires a specifier or qualifier
  593 |     _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE;
      |     ^
12 errors generated.
[13/41] Compiling xkb_unicode.c
[13/41] Compiling x11_window.c
[13/41] Compiling rmodels.c
[13/41] Compiling rcore.c
[13/41] Compiling rtext.c
[13/41] Compiling rtextures.c
In file included from /host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/raudio.c:172:
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/miniaudio.h:11019:31: error: call to undeclared function 'sched_get_priority_min'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 11019 |             int priorityMin = sched_get_priority_min(scheduler);
       |                               ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/miniaudio.h:11020:31: error: call to undeclared function 'sched_get_priority_max'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 11020 |             int priorityMax = sched_get_priority_max(scheduler);
       |                               ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/miniaudio.h:11023:32: error: variable has incomplete type 'struct sched_param'
 11023 |             struct sched_param sched;
       |                                ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/miniaudio.h:11023:20: note: forward declaration of 'struct sched_param'
 11023 |             struct sched_param sched;
       |                    ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/miniaudio.h:11024:17: error: call to undeclared function 'pthread_attr_getschedparam'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
 11024 |             if (pthread_attr_getschedparam(&attr, &sched) == 0) {
       |                 ^
/host/spi-builder-workspace/.build/checkouts/Raylib/Sources/RaylibC/UnmodifiedRaylibSrc/external/miniaudio.h:11024:17: note: did you mean 'pthread_attr_getschedpolicy'?
/root/.swiftpm/swift-sdks/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm.artifactbundle/swift-6.2-DEVELOPMENT-SNAPSHOT-2025-05-30-a_wasm/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/pthread.h:168:5: note: 'pthread_attr_getschedpolicy' declared here
  168 | int pthread_attr_getschedpolicy(const pthread_attr_t *__restrict, int *__restrict);
      |     ^
[13/41] Compiling raudio.c
[13/41] Compiling rshapes.c
BUILD FAILURE 6.2 wasm