The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ArasanEmbedded, reference v1.6.0 (566d33), with Swift 6.2 for Wasm on 18 Nov 2026 17:27:21 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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Trickfest/ArasanEmbedded.git
Reference: v1.6.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/Trickfest/ArasanEmbedded
 * tag               v1.6.0     -> FETCH_HEAD
HEAD is now at 566d33f Release ArasanEmbedded 1.6.0 with version-11 NNUE
Cloned https://github.com/Trickfest/ArasanEmbedded.git
Revision (git rev-parse @):
566d33fc10263410381b17cc5ea84404fc3b9711
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Trickfest/ArasanEmbedded.git at v1.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Trickfest/ArasanEmbedded.git
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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:ca91be8d07e73eaf6c1c75f7ec193e42b7ed6f24d327455e9ae77f96fb6433b0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Found unhandled resource at /host/spi-builder-workspace/ThirdParty/Arasan/network/arasanv11-20261105.nnue
Found unhandled resource at /host/spi-builder-workspace/Resources/Soak/lichess_puzzles.tsv
Found unhandled resource at /host/spi-builder-workspace/Resources/OpeningBooks/book.bin
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/AEEngine.mm:1:
/host/spi-builder-workspace/Sources/CArasanEmbedded/include/AEEngine.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/55] Compiling AEEngine.mm
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:20:
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:153:2: error: Could not determine CPU byte order
  153 | #error Could not determine CPU byte order
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/times.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `times` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:144:18: error: cannot initialize a parameter of type 'unsigned long long' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  144 |   return bswap64((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:204:38: note: expanded from macro 'bswap64'
  204 | #define bswap64(x) __builtin_bswap64(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:148:18: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  148 |   return bswap32((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:191:38: note: expanded from macro 'bswap32'
  191 | #define bswap32(x) __builtin_bswap32(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/search.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:152:18: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  152 |   return bswap16((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:180:38: note: expanded from macro 'bswap16'
  180 | #define bswap16(x) __builtin_bswap16(x)
      |                                      ^
[0/55] Compiling search.cpp
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:20:
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:153:2: error: Could not determine CPU byte order
  153 | #error Could not determine CPU byte order
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/times.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `times` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:144:18: error: cannot initialize a parameter of type 'unsigned long long' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  144 |   return bswap64((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:204:38: note: expanded from macro 'bswap64'
  204 | #define bswap64(x) __builtin_bswap64(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:148:18: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  148 |   return bswap32((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:191:38: note: expanded from macro 'bswap32'
  191 | #define bswap32(x) __builtin_bswap32(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bhash.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:152:18: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  152 |   return bswap16((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:180:38: note: expanded from macro 'bswap16'
  180 | #define bswap16(x) __builtin_bswap16(x)
      |                                      ^
[0/55] Compiling bhash.cpp
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bench.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/globals.h:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bookread.h:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:20:
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:153:2: error: Could not determine CPU byte order
  153 | #error Could not determine CPU byte order
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bench.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/globals.h:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bookread.h:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/times.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `times` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bench.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/globals.h:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bookread.h:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:144:18: error: cannot initialize a parameter of type 'unsigned long long' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  144 |   return bswap64((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:204:38: note: expanded from macro 'bswap64'
  204 | #define bswap64(x) __builtin_bswap64(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bench.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/globals.h:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bookread.h:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:148:18: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  148 |   return bswap32((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:191:38: note: expanded from macro 'bswap32'
  191 | #define bswap32(x) __builtin_bswap32(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bench.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/globals.h:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bookread.h:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:4:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:152:18: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  152 |   return bswap16((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:180:38: note: expanded from macro 'bswap16'
  180 | #define bswap16(x) __builtin_bswap16(x)
      |                                      ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:20:
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:153:2: error: Could not determine CPU byte order
  153 | #error Could not determine CPU byte order
      |  ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/times.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `times` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:144:18: error: cannot initialize a parameter of type 'unsigned long long' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  144 |   return bswap64((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:204:38: note: expanded from macro 'bswap64'
  204 | #define bswap64(x) __builtin_bswap64(x)
      |                                      ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:148:18: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  148 |   return bswap32((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:191:38: note: expanded from macro 'bswap32'
  191 | #define bswap32(x) __builtin_bswap32(x)
      |                                      ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:152:18: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  152 |   return bswap16((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:180:38: note: expanded from macro 'bswap16'
  180 | #define bswap16(x) __builtin_bswap16(x)
      |                                      ^
[0/55] Compiling bench.cpp
[0/55] Compiling ArasanEmbeddedUCI.cpp
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanSyzygyProbe.cpp:35:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:40:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.h:27:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/tbconfig.h:32:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:20:
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:153:2: error: Could not determine CPU byte order
  153 | #error Could not determine CPU byte order
      |  ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanSyzygyProbe.cpp:35:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:40:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.h:27:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/tbconfig.h:32:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/times.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `times` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanSyzygyProbe.cpp:35:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:40:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.h:27:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/tbconfig.h:32:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:144:18: error: cannot initialize a parameter of type 'unsigned long long' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  144 |   return bswap64((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:204:38: note: expanded from macro 'bswap64'
  204 | #define bswap64(x) __builtin_bswap64(x)
      |                                      ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanSyzygyProbe.cpp:35:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:40:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.h:27:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/tbconfig.h:32:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:148:18: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  148 |   return bswap32((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:191:38: note: expanded from macro 'bswap32'
  191 | #define bswap32(x) __builtin_bswap32(x)
      |                                      ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanSyzygyProbe.cpp:35:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:40:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.h:27:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/tbconfig.h:32:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:152:18: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  152 |   return bswap16((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:180:38: note: expanded from macro 'bswap16'
  180 | #define bswap16(x) __builtin_bswap16(x)
      |                                      ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanSyzygyProbe.cpp:35:
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:52:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
    2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
      |  ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanSyzygyProbe.cpp:35:
/host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:301:8: error: no type named 'mutex' in namespace 'std'
  301 | static LOCK_T tbMutex;
      |        ^~~~~~
/host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:83:21: note: expanded from macro 'LOCK_T'
   83 | #define LOCK_T std::mutex
      |                ~~~~~^
[0/55] Compiling ArasanSyzygyProbe.cpp
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.cpp:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/constant.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:20:
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:153:2: error: Could not determine CPU byte order
  153 | #error Could not determine CPU byte order
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.cpp:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/constant.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/times.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `times` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.cpp:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/constant.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:144:18: error: cannot initialize a parameter of type 'unsigned long long' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  144 |   return bswap64((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:204:38: note: expanded from macro 'bswap64'
  204 | #define bswap64(x) __builtin_bswap64(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.cpp:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/constant.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:148:18: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  148 |   return bswap32((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:191:38: note: expanded from macro 'bswap32'
  191 | #define bswap32(x) __builtin_bswap32(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.cpp:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitprobe.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/constant.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:152:18: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  152 |   return bswap16((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:180:38: note: expanded from macro 'bswap16'
  180 | #define bswap16(x) __builtin_bswap16(x)
      |                                      ^
[0/55] Compiling bitprobe.cpp
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:20:
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:153:2: error: Could not determine CPU byte order
  153 | #error Could not determine CPU byte order
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/times.h:2:2: error: WASI lacks process-associated clocks; to enable emulation of the `times` function using the wall clock, which isn't sensitive to whether the program is running or suspended, compile with -D_WASI_EMULATED_PROCESS_CLOCKS and link with -lwasi-emulated-process-clocks
    2 | #error WASI lacks process-associated clocks; to enable emulation of the `times` function using \
      |  ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:144:18: error: cannot initialize a parameter of type 'unsigned long long' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  144 |   return bswap64((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:204:38: note: expanded from macro 'bswap64'
  204 | #define bswap64(x) __builtin_bswap64(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:148:18: error: cannot initialize a parameter of type 'unsigned int' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  148 |   return bswap32((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:191:38: note: expanded from macro 'bswap32'
  191 | #define bswap32(x) __builtin_bswap32(x)
      |                                      ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/attacks.h:6:
/host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:152:18: error: cannot initialize a parameter of type 'unsigned short' with an rvalue of type 'uint64_t *' (aka 'unsigned long long *')
  152 |   return bswap16((uint64_t*)input);
      |                  ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/stdendian.h:180:38: note: expanded from macro 'bswap16'
  180 | #define bswap16(x) __builtin_bswap16(x)
      |                                      ^
[0/55] Compiling attacks.cpp
BUILD FAILURE 6.2 wasm