Build Information
Failed to build ArasanEmbedded, reference v1.5.0 (56655d), with Swift 6.3 for Wasm on 20 Oct 2026 22:25:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Trickfest/ArasanEmbedded.git
Reference: v1.5.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.5.0 -> FETCH_HEAD
HEAD is now at 56655d8 Release ArasanEmbedded 1.5.0
Cloned https://github.com/Trickfest/ArasanEmbedded.git
Revision (git rev-parse @):
56655d88ea76116c98e4527b652f41367842d0d0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Trickfest/ArasanEmbedded.git at v1.5.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.3
Building package at path: $PWD
https://github.com/Trickfest/ArasanEmbedded.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitutil.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitutil.h:8:
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/bitutil.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitutil.h:8:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/types.h:69:
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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/bitutil.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitutil.h:8:
/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/bitutil.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitutil.h:8:
/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/bitutil.cpp:3:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/bitutil.h:8:
/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)
| ^
5 errors generated.
[0/53] Compiling bitutil.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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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)
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:16:
/usr/lib/clang/21/include/arm_neon.h:28:2: error: "<arm_neon.h> is intended only for ARM and AArch64 targets"
28 | #error "<arm_neon.h> is intended only for ARM and AArch64 targets"
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:41:15: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
41 | using vec_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:42:16: error: unknown type name 'int8x16_t'; did you mean 'int16_t'?
42 | using vec8_t = int8x16_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:43:17: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
43 | using vec16_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:44:17: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
44 | using vec32_t = int32x4_t;
| ^~~~~~~~~
| int32_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:140:25: note: 'int32_t' declared here
140 | typedef signed int int32_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:67:12: error: use of undeclared identifier 'vld1q_s16'
67 | return vld1q_s16(reinterpret_cast<const int16_t *>(x));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:70:12: error: use of undeclared identifier 'vld1q_u8'
70 | return vld1q_u8(reinterpret_cast<const uint8_t *>(x));
| ^~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:73:12: error: use of undeclared identifier 'vld1q_s32'
73 | return vld1q_s32(reinterpret_cast<const int32_t *>(x));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:75:57: error: use of undeclared identifier 'vst1q_s32'
75 | static inline void vec_store32(vec32_t *x, vec32_t y) { vst1q_s32(reinterpret_cast<int32_t*>(x), y); }
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:76:54: error: use of undeclared identifier 'vdupq_n_s16'
76 | static inline vec16_t vec_set_16(int16_t x) { return vdupq_n_s16(x); }
| ^~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:77:54: error: use of undeclared identifier 'vdupq_n_s32'
77 | static inline vec32_t vec_set_32(int32_t x) { return vdupq_n_s32(x); }
| ^~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:82:58: error: use of undeclared identifier 'vaddq_s32'
82 | static inline vec_t vec_add32(vec_t x, vec_t y) { return vaddq_s32(x, y); }
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:84:12: error: use of undeclared identifier 'vaddq_s16'
84 | return vaddq_s16(x, vec_load(y));
| ^~~~~~~~~
[0/53] Compiling bhash.cpp
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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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)
| ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:10:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:16:
/usr/lib/clang/21/include/arm_neon.h:28:2: error: "<arm_neon.h> is intended only for ARM and AArch64 targets"
28 | #error "<arm_neon.h> is intended only for ARM and AArch64 targets"
| ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:10:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:41:15: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
41 | using vec_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:10:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:42:16: error: unknown type name 'int8x16_t'; did you mean 'int16_t'?
42 | using vec8_t = int8x16_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:10:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:43:17: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
43 | using vec16_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
In file included from /host/spi-builder-workspace/Sources/CArasanEmbedded/ArasanEmbeddedUCI.cpp:10:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:44:17: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
44 | using vec32_t = int32x4_t;
| ^~~~~~~~~
| int32_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:140:25: note: 'int32_t' declared here
140 | typedef signed int int32_t;
| ^
In file included from [0/53] Compiling ArasanEmbeddedUCI.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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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/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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:16:
/usr/lib/clang/21/include/arm_neon.h:28:2: error: "<arm_neon.h> is intended only for ARM and AArch64 targets"
28 | #error "<arm_neon.h> is intended only for ARM and AArch64 targets"
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:41:15: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
41 | using vec_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:42:16: error: unknown type name 'int8x16_t'; did you mean 'int16_t'?
42 | using vec8_t = int8x16_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:43:17: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
43 | using vec16_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:44:17: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
44 | using vec32_t = int32x4_t;
| ^~~~~~~~~
| int32_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:140:25: note: 'int32_t' declared here
140 | typedef signed int int32_t;
| ^
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:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:67:12: error: use of undeclared identifier 'vld1q_s16'
67 | return vld1q_s16(reinterpret_cast<const int16_t *>(x));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:70:12: error: use of undeclared identifier 'vld1q_u8'
70 | return vld1q_u8(reinterpret_cast<const uint8_t *>(x));
| ^~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:73:12: error: use of undeclared identifier 'vld1q_s32'
73 | return vld1q_s32(reinterpret_cast<const int32_t *>(x));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:75:57: error: use of undeclared identifier 'vst1q_s32'
75 | static inline void vec_store32(vec32_t *x, vec32_t y) { vst1q_s32(reinterpret_cast<int32_t*>(x), y); }
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:76:54: error: use of undeclared identifier 'vdupq_n_s16'
76 | static inline vec16_t vec_set_16(int16_t x) { return vdupq_n_s16(x); }
| ^~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:77:54: error: use of undeclared identifier 'vdupq_n_s32'
77 | static inline vec32_t vec_set_32(int32_t x) { return vdupq_n_s32(x); }
| ^~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:82:58: error: use of undeclared identifier 'vaddq_s32'
82 | static inline vec_t vec_add32(vec_t x, vec_t y) { return vaddq_s32(x, y); }
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:84:12: error: use of undeclared identifier 'vaddq_s16'
84 | return vaddq_s16(x, vec_load(y));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:87:12: error: use of undeclared identifier 'vsubq_s16'
87 | return vsubq_s16(x, vec_load(y));
| ^~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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)
| ^
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:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:16:
/usr/lib/clang/21/include/arm_neon.h:28:2: error: "<arm_neon.h> is intended only for ARM and AArch64 targets"
28 | #error "<arm_neon.h> is intended only for ARM and AArch64 targets"
| ^
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:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:41:15: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
41 | using vec_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:42:16: error: unknown type name 'int8x16_t'; did you mean 'int16_t'?
42 | using vec8_t = int8x16_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:43:17: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
43 | using vec16_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
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:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:44:17: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
44 | using vec32_t = int32x4_t;
| ^~~~~~~~~
| int32_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:140:25: note: 'int32_t' declared here
140 | typedef signed int int32_t;
| ^
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:7:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:67:12: error: use of undeclared identifier 'vld1q_s16'
67 | return vld1q_s16(reinterpret_cast<const int16_t *>(x));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:70:12: error: use of undeclared identifier 'vld1q_u8'
70 | return vld1q_u8(reinterpret_cast<const uint8_t *>(x));
| ^~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:73:12: error: use of undeclared identifier 'vld1q_s32'
73 | return vld1q_s32(reinterpret_cast<const int32_t *>(x));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:75:57: error: use of undeclared identifier 'vst1q_s32'
75 | static inline void vec_store32(vec32_t *x, vec32_t y) { vst1q_s32(reinterpret_cast<int32_t*>(x), y); }
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:76:54: error: use of undeclared identifier 'vdupq_n_s16'
76 | static inline vec16_t vec_set_16(int16_t x) { return vdupq_n_s16(x); }
| ^~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:77:54: error: use of undeclared identifier 'vdupq_n_s32'
77 | static inline vec32_t vec_set_32(int32_t x) { return vdupq_n_s32(x); }
| ^~~~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:82:58: error: use of undeclared identifier 'vaddq_s32'
82 | static inline vec_t vec_add32(vec_t x, vec_t y) { return vaddq_s32(x, y); }
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:84:12: error: use of undeclared identifier 'vaddq_s16'
84 | return vaddq_s16(x, vec_load(y));
| ^~~~~~~~~
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:87:12: error: use of undeclared identifier 'vsubq_s16'
87 | return vsubq_s16(x, vec_load(y));
| ^~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
[0/53] Compiling bench.cpp
[0/53] 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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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/53] Compiling attacks.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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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
| ~~~~~^
/host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:369:44: error: use of undeclared identifier 'PROT_READ'
369 | void *data = mmap(NULL, statbuf.st_size, PROT_READ,
| ^~~~~~~~~
/host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:370:10: error: use of undeclared identifier 'MAP_SHARED'
370 | MAP_SHARED, fd, 0);
| ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:371:15: error: use of undeclared identifier 'MAP_FAILED'
371 | if (data == MAP_FAILED) {
| ^~~~~~~~~~
/host/spi-builder-workspace/Sources/CArasanEmbedded/../../ThirdParty/Arasan/src/syzygy/src/tbprobe.c:403:7: error: use of undeclared identifier 'munmap'; did you mean 'minmax'?
403 | if (munmap(data, size) != 0) {
| ^~~~~~
| minmax
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/minmax.h:28:1: note: 'minmax' declared here
28 | minmax(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) {
| ^
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:403:7: error: no matching function for call to 'minmax'
403 | if (munmap(data, size) != 0) {
| ^~~~~~
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/minmax.h:28:1: note: candidate function template not viable: requires 3 arguments, but 2 were provided
28 | minmax(_LIBCPP_LIFETIMEBOUND const _Tp& __a, _LIBCPP_LIFETIMEBOUND const _Tp& __b, _Compare __comp) {
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[0/53] Compiling ArasanSyzygyProbe.cpp
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.cpp:3:
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/board.cpp:3:
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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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/board.cpp:3:
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/board.cpp:3:
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/board.cpp:3:
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)
| ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.cpp:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:16:
/usr/lib/clang/21/include/arm_neon.h:28:2: error: "<arm_neon.h> is intended only for ARM and AArch64 targets"
28 | #error "<arm_neon.h> is intended only for ARM and AArch64 targets"
| ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.cpp:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:41:15: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
41 | using vec_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.cpp:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:42:16: error: unknown type name 'int8x16_t'; did you mean 'int16_t'?
42 | using vec8_t = int8x16_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.cpp:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:43:17: error: unknown type name 'int16x8_t'; did you mean 'int16_t'?
43 | using vec16_t = int16x8_t;
| ^~~~~~~~~
| int16_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:135:25: note: 'int16_t' declared here
135 | typedef signed short int16_t;
| ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.cpp:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:44:17: error: unknown type name 'int32x4_t'; did you mean 'int32_t'?
44 | using vec32_t = int32x4_t;
| ^~~~~~~~~
| int32_t
/root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/bits/alltypes.h:140:25: note: 'int32_t' declared here
140 | typedef signed int int32_t;
| ^
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.cpp:5:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/board.h:14:
In file included from /host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simd.h:5:
/host/spi-builder-workspace/ThirdParty/Arasan/src/nnue/simddefs.h:67:12: error: use of undeclared identifier 'vld1q_s16'
67 | return vld1q_s16(reinterpret_cast<const int16_t *>(x));
| ^~~~~~~~~
[0/53] Compiling board.cpp
BUILD FAILURE 6.3 wasm