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 18.7M 0 64353 0 0 65583 0 0:04:59 --:--:-- 0:04:59 65583
23 18.7M 23 4574k 0 0 2322k 0 0:00:08 0:00:01 0:00:07 4562k
53 18.7M 53 10.0M 0 0 3462k 0 0:00:05 0:00:02 0:00:03 5139k
75 18.7M 75 14.1M 0 0 3645k 0 0:00:05 0:00:03 0:00:02 4820k
100 18.7M 100 18.7M 0 0 4382k 0 0:00:04 0:00:04 --:--:-- 5629k
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 getrandom v0.3.3
Compiling zerocopy v0.8.26
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/tmpzsx8idy8/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