Downloading network .nnue
curl -L -o hobbes.nnue https://github.com/kelseyde/hobbes-networks/releases/download//.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
100 9 100 9 0 0 39 0 --:--:-- --:--:-- --:--:-- 40
cargo rustc --release -p hobbes-chess-engine --jobs 16 -- -C target-cpu=native -C link-arg=/OPT:REF -C link-arg=/OPT:ICF --emit link=Hobbes-F486C05A
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 (C:\Users\anikp\AppData\Local\Temp\tmp3wm0gmjm\Hobbes\Hobbes-tmp)
error[E0080]: transmuting from 9-byte type to 31465024-byte type: `[u8; 9]` -> `Network`
--> src\evaluation\network.rs:11:14
|
11 | unsafe { std::mem::transmute(*include_bytes!("../../hobbes.nnue")) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `evaluation::network::NETWORK` failed here
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; 9]` (72 bits)
= note: target type: `Network` (251720192 bits)
Some errors have detailed explanations: E0080, E0512.
For more information about an error, try `rustc --explain E0080`.
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 2 previous errors
make: *** [openbench] Error 101