python3 ./download_net.py
Downloading net barbari_2 to ./nets/wakwak.nnue
cargo rustc --release -- --emit link=WakWak-EC14E166
Updating crates.io index
Downloading crates ...
Downloaded arrayvec v0.7.8
Downloaded colored v3.1.1
Downloaded enum-map-derive v1.0.1
Downloaded enum-map v3.1.0
Downloaded atomic-wait v1.1.0
Downloaded thiserror-impl v2.0.20
Downloaded thiserror v2.0.20
Downloaded quote v1.0.47
Downloaded unicode-ident v1.0.24
Downloaded proc-macro2 v1.0.107
Downloaded zerocopy v0.8.56
Downloaded syn v3.0.5
Downloaded libc v0.2.189
Compiling proc-macro2 v1.0.107
Compiling unicode-ident v1.0.24
Compiling quote v1.0.47
Compiling libc v0.2.189
Compiling zerocopy v0.8.56
Compiling thiserror v2.0.20
Compiling wakwak v0.15.0 (/tmp/tmpbp9kivmq/WakWak/WakWak-tmp)
Compiling colored v3.1.1
Compiling arrayvec v0.7.8
Compiling syn v3.0.5
Compiling atomic-wait v1.1.0
Compiling enum-map-derive v1.0.1
Compiling thiserror-impl v2.0.20
Compiling enum-map v3.1.0
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src/nnue/mod.rs:35:14
|
35 | unsafe { std::mem::transmute(*include_bytes!(concat!(env!("OUT_DIR"), "/wakwak.nnue"))) };
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 798080]` (6384640 bits)
= note: target type: `Network` (9567232 bits)
For more information about this error, try `rustc --explain E0512`.
error: could not compile `wakwak` (bin "wakwak") due to 1 previous error
make: *** [Makefile:14: native] Error 101