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 42 0 --:--:-- --:--:-- --:--:-- 42
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-573CC1E2
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 (C:\Users\anikp\AppData\Local\Temp\tmprjbvjtoc\Hobbes\Hobbes-tmp)
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src\evaluation\network.rs:41:14
|
41 | unsafe { std::mem::transmute(*include_bytes!("../../hobbes.nnue")) };
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 9]` (72 bits)
= note: target type: `Network` (3158528 bits)
warning: unused variable: `w_king_sq`
--> src\evaluation\network.rs:196:13
|
196 | let w_king_sq = king_square(board, *mv, new_pc, White);
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_w_king_sq`
|
= note: `#[warn(unused_variables)]` on by default
warning: unused variable: `b_king_sq`
--> src\evaluation\network.rs:197:13
|
197 | let b_king_sq = king_square(board, *mv, new_pc, Black);
| ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_king_sq`
warning: unused variable: `w_bucket`
--> src\evaluation\network.rs:200:13
|
200 | let w_bucket = 0;
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_w_bucket`
warning: unused variable: `b_bucket`
--> src\evaluation\network.rs:202:13
|
202 | let b_bucket = 0;
| ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_bucket`
For more information about this error, try `rustc --explain E0512`.
warning: `hobbes-chess-engine` (bin "hobbes-chess-engine") generated 4 warnings
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 1 previous error; 4 warnings emitted
make: *** [openbench] Error 101