Build Information
Failed to build MetaverseKit, reference v2.0.7 (0f675e), with Swift 6.1 for Wasm on 10 Aug 2026 19:10:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886769-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>&1Build Log
========================================
RunAll
========================================
Builder version: 729ceb5fcd9493dc13ee340bc4f0908bd201f85d
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/furbytm/MetaverseKit.git
Reference: v2.0.7
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/furbytm/MetaverseKit
* tag v2.0.7 -> FETCH_HEAD
HEAD is now at 0f675ed [Swift 6.4] Fix OpenMP ld-prime linker crash
Updating files: 85% (6080/7117)
Updating files: 86% (6121/7117)
Updating files: 87% (6192/7117)
Updating files: 88% (6263/7117)
Updating files: 89% (6335/7117)
Updating files: 90% (6406/7117)
Updating files: 91% (6477/7117)
Updating files: 92% (6548/7117)
Updating files: 93% (6619/7117)
Updating files: 94% (6690/7117)
Updating files: 95% (6762/7117)
Updating files: 96% (6833/7117)
Updating files: 97% (6904/7117)
Updating files: 98% (6975/7117)
Updating files: 99% (7046/7117)
Updating files: 100% (7117/7117)
Updating files: 100% (7117/7117), done.
Submodule path 'Sources/Imath': checked out 'a4d3cc9da5e3bd9eca23934ec8c0a462eb6f1cf0'
Submodule path 'Sources/OpenTimelineIO': checked out '3e69330ffe37fd7222573d0d58c9ed4e115b4f6a'
Submodule 'Sources/Imath' (https://github.com/wabiverse/Imath.git) registered for path 'Sources/Imath'
Submodule 'Sources/OpenTimelineIO' (https://github.com/wabiverse/OpenTimelineIO.git) registered for path 'Sources/OpenTimelineIO'
Cloning into '/host/spi-builder-workspace/Sources/Imath'...
Cloning into '/host/spi-builder-workspace/Sources/OpenTimelineIO'...
Cloned https://github.com/furbytm/MetaverseKit.git
Revision (git rev-parse @):
0f675ed477c37a30c60d2587eeb9343699b8fade
SUCCESS checkout https://github.com/furbytm/MetaverseKit.git at v2.0.7
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/furbytm/MetaverseKit.git
https://github.com/furbytm/MetaverseKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Fetching https://github.com/the-swift-collective/libpng
Fetching https://github.com/the-swift-collective/libwebp
Fetching https://github.com/the-swift-collective/zlib
[1/54] Fetching libwebp
[55/84] Fetching libwebp, libpng
[85/155] Fetching libwebp, libpng, zlib
Fetched https://github.com/the-swift-collective/libpng from cache (0.47s)
Fetched https://github.com/the-swift-collective/zlib from cache (0.47s)
Fetched https://github.com/the-swift-collective/libwebp from cache (0.47s)
Computing version for https://github.com/the-swift-collective/libpng
Computed https://github.com/the-swift-collective/libpng at 1.6.45 (1.40s)
Computing version for https://github.com/the-swift-collective/libwebp
Computed https://github.com/the-swift-collective/libwebp at 1.4.1 (0.24s)
Computing version for https://github.com/the-swift-collective/zlib
Computed https://github.com/the-swift-collective/zlib at 1.3.2 (0.23s)
Creating working copy for https://github.com/the-swift-collective/libwebp
Working copy of https://github.com/the-swift-collective/libwebp resolved at 1.4.1
Creating working copy for https://github.com/the-swift-collective/libpng
Working copy of https://github.com/the-swift-collective/libpng resolved at 1.6.45
Creating working copy for https://github.com/the-swift-collective/zlib
Working copy of https://github.com/the-swift-collective/zlib resolved at 1.3.2
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
Building for debugging...
[0/1995] Compiling scene_are_equivalent.cc
[1/1995] Compiling light.cc
[2/1995] Compiling instance_array.cc
[3/1995] Compiling sharpyuv_sse2.c
In file included from /host/spi-builder-workspace/Sources/GLFW/osmesa_context.c:34:
/host/spi-builder-workspace/Sources/GLFW/internal.h:194:3: error: "No supported window creation API selected"
194 | #error "No supported window creation API selected"
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:360:5: error: type name requires a specifier or qualifier
360 | _GLFW_PLATFORM_CONTEXT_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:362:5: error: type name requires a specifier or qualifier
362 | _GLFW_EGL_CONTEXT_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:364:5: error: type name requires a specifier or qualifier
364 | _GLFW_OSMESA_CONTEXT_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:422:5: error: type name requires a specifier or qualifier
422 | _GLFW_PLATFORM_WINDOW_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:446:5: error: type name requires a specifier or qualifier
446 | _GLFW_PLATFORM_MONITOR_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:456:5: error: type name requires a specifier or qualifier
456 | _GLFW_PLATFORM_CURSOR_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:496:5: error: type name requires a specifier or qualifier
496 | _GLFW_PLATFORM_JOYSTICK_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:504:5: error: type name requires a specifier or qualifier
504 | _GLFW_PLATFORM_TLS_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:512:5: error: type name requires a specifier or qualifier
512 | _GLFW_PLATFORM_MUTEX_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:547:9: error: type name requires a specifier or qualifier
547 | _GLFW_PLATFORM_LIBRARY_TIMER_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:578:5: error: type name requires a specifier or qualifier
578 | _GLFW_PLATFORM_LIBRARY_WINDOW_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:580:5: error: type name requires a specifier or qualifier
580 | _GLFW_PLATFORM_LIBRARY_CONTEXT_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:582:5: error: type name requires a specifier or qualifier
582 | _GLFW_PLATFORM_LIBRARY_JOYSTICK_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:584:5: error: type name requires a specifier or qualifier
584 | _GLFW_EGL_LIBRARY_CONTEXT_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/internal.h:586:5: error: type name requires a specifier or qualifier
586 | _GLFW_OSMESA_LIBRARY_CONTEXT_STATE;
| ^
/host/spi-builder-workspace/Sources/GLFW/osmesa_context.c:57:14: error: call to undeclared function 'OSMesaMakeCurrent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
57 | if (!OSMesaMakeCurrent(window->context.osmesa.handle,
| ^
/host/spi-builder-workspace/Sources/GLFW/osmesa_context.c:73:25: error: call to undeclared function 'OSMesaGetProcAddress'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
73 | return (GLFWglproc) OSMesaGetProcAddress(procname);
| ^
/host/spi-builder-workspace/Sources/GLFW/osmesa_context.c:73:25: note: did you mean 'glfwGetProcAddress'?
/host/spi-builder-workspace/Sources/GLFW/include/../include/GLFW/GLFW.h:5733:20: note: 'glfwGetProcAddress' declared here
5733 | GLFWAPI GLFWglproc glfwGetProcAddress(const char* procname);
| ^
/host/spi-builder-workspace/Sources/GLFW/osmesa_context.c:80:9: error: call to undeclared function 'OSMesaDestroyContext'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
80 | OSMesaDestroyContext(window->context.osmesa.handle);
| ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[4/1995] Compiling GLFW osmesa_context.c
[65/1995] Compiling sharpyuv_neon.c
[89/1995] Compiling sharpyuv_gamma.c
[157/1995] Compiling scene.cc
[186/1995] Compiling point_cloud.cc
[192/1995] Compiling CompoundPropertyReader.cpp
[300/1995] Compiling point_cloud_builder.cc
[1137/1995] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-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:290f441d1f5b7bf0dbbe61e8b7514208804cdcb507d57b3c762463ad036298f7
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
warning: you may be able to install libbz2 using your system-packager:
apt-get install libbz2-dev
[0/1] Planning build
Building for debugging...
[0/1992] Write sources
[3/1992] Compiling sharpyuv_cpu.c
[4/1992] Compiling sharpyuv_csp.c
[5/1992] Compiling sharpyuv_dsp.c
[6/1992] Compiling pnglibconf pnglibconf.c
[7/1992] Compiling sharpyuv_sse2.c
[8/1992] Compiling sharpyuv_neon.c
[9/1992] Compiling sharpyuv.c
[10/1992] Compiling wicdec.c
[11/1992] Compiling tiffdec.c
[12/1992] Compiling webpdec.c
[13/1992] Compiling pngdec.c
[14/1992] Compiling metadata.c
[15/1992] Compiling jpegdec.c
[16/1992] Compiling pnmdec.c
[17/1992] Compiling image_dec.c
[18/1992] Compiling imageio_util.c
[19/1992] Compiling expat xmltok_ns.c
[20/1992] Compiling expat xmltok_impl.c
[21/1992] Compiling image_enc.c
[22/1992] Compiling rapidjson rapidjson.cpp
[23/1992] Compiling sharpyuv_gamma.c
[24/1992] Write swift-version-24593BA9C3E375BF.txt
[25/1992] Compiling expat xmlrole.c
/host/spi-builder-workspace/Sources/expat/xmlparse.c:147:4: error: You do not have support for any sources of high quality entropy enabled. For end user security, that is probably not what you want. Your options include: * Linux >=3.17 + glibc >=2.25 (getrandom): HAVE_GETRANDOM, * Linux >=3.17 + glibc (including <2.25) (syscall SYS_getrandom): HAVE_SYSCALL_GETRANDOM, * BSD / macOS >=10.7 / glibc >=2.36 (arc4random_buf): HAVE_ARC4RANDOM_BUF, * BSD / macOS (including <10.7) / glibc >=2.36 (arc4random): HAVE_ARC4RANDOM, * libbsd (arc4random_buf): HAVE_ARC4RANDOM_BUF + HAVE_LIBBSD, * libbsd (arc4random): HAVE_ARC4RANDOM + HAVE_LIBBSD, * Linux (including <3.17) / BSD / macOS (including <10.7) / Solaris >=8 (/dev/urandom): XML_DEV_URANDOM, * Windows >=Vista (rand_s): _WIN32. If insist on not using any of these, bypass this error by defining XML_POOR_ENTROPY; you have been warned. If you have reasons to patch this detection code away or need changes to the build system, please open a bug. Thank you!
147 | # error You do not have support for any sources of high quality entropy \
| ^
/host/spi-builder-workspace/Sources/expat/xmlparse.c:979:37: warning: 'getpid' is deprecated: WASI lacks process identifiers; to enable emulation of the `getpid` function using a placeholder value, which doesn't reflect the host PID of the program, compile with -D_WASI_EMULATED_GETPID and link with -lwasi-emulated-getpid [-Wdeprecated-declarations]
979 | entropy = gather_time_entropy() ^ getpid();
| ^
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/unistd.h:155:16: note: 'getpid' has been explicitly marked deprecated here
155 | __attribute__((__deprecated__(
| ^
/host/spi-builder-workspace/Sources/expat/xmlparse.c:7839:11: warning: format specifies type 'int' but the argument has type 'ptrdiff_t' (aka 'long') [-Wformat]
7838 | " (+" EXPAT_FMT_PTRDIFF_T("6") " bytes %s|%d, xmlparse.c:%d) %*s\"",
| ~~~~~~~~~~~~~~~~~~~~~~~~
7839 | bytesMore, (account == XML_ACCOUNT_DIRECT) ? "DIR" : "EXP",
| ^~~~~~~~~
2 warnings and 1 error generated.
[26/1992] Compiling expat xmlparse.c
[26/1992] Compiling zstd_v05.c
[26/1992] Compiling any any.cpp
[26/1992] Compiling zstd_v06.c
[26/1992] Compiling pystring pystring.cpp
[26/1992] Compiling zstd_v07.c
[26/1992] Compiling expat xmltok.c
[26/1992] Compiling nonstd optional.cpp
BUILD FAILURE 6.1 wasm