Downloading network hobbes-29.nnue
curl -L -o hobbes.nnue https://github.com/kelseyde/hobbes-networks/releases/download/hobbes-29/hobbes-29.nnue
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
41 18.7M 41 8063k 0 0 7011k 0 0:00:02 0:00:01 0:00:01 7011k
100 18.7M 100 18.7M 0 0 9043k 0 0:00:02 0:00:02 --:--:-- 11.1M
cargo rustc --release -p hobbes-chess-engine --jobs 8 -- -C target-cpu=native -C link-arg=-Wl,--as-needed -C link-arg=-Wl,--gc-sections --emit link=Hobbes-9F9F1BC6
Compiling libc v0.2.174
Compiling zerocopy v0.8.26
Compiling getrandom v0.3.3
Compiling cfg-if v1.0.1
Compiling arrayvec v0.7.4
Compiling rand_core v0.9.3
Compiling ppv-lite86 v0.2.21
Compiling rand_chacha v0.9.0
Compiling rand v0.9.2
Compiling hobbes-chess-engine v0.1.0 (/tmp/tmp_ddeu7fi/Hobbes/Hobbes-tmp)
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src/evaluation/network.rs:11:14
|
11 | unsafe { std::mem::transmute(*include_bytes!("../../hobbes.nnue")) };
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 19668544]` (157348352 bits)
= note: target type: `Network` (125878784 bits)
For more information about this error, try `rustc --explain E0512`.
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 1 previous error
make: *** [Makefile:29: openbench] Error 101