cargo rustc --manifest-path ./engine/Cargo.toml --bin engine --release --no-default-features --features release -- -C target-cpu=native --emit link=Tcheran-7A56B274
Compiling find-msvc-tools v0.1.4
Compiling shlex v1.3.0
Compiling arrayvec v0.7.6
Compiling cc v1.2.41
Compiling engine v5.1.0 (/private/var/folders/n_/_3gn42zd0h16zbgz0rbf6vrhn98dym/T/tmpjbcm4bg7/Tcheran/Tcheran-tmp/engine)
warning: unused import: `eval`
--> engine/src/engine/uci/mod.rs:12:21
|
12 | use crate::engine::{eval, search, uci, util};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> engine/src/engine/eval/nnue.rs:41:36
|
41 | static NETWORK: Network = unsafe { mem::transmute(*include_bytes!("../../../../net.bin")) };
| ^^^^^^^^^^^^^^
|
= note: source type: `[u8; 197378]` (1579024 bits)
= note: target type: `Network` (1579520 bits)
For more information about this error, try `rustc --explain E0512`.
warning: `engine` (lib) generated 1 warning
error: could not compile `engine` (lib) due to 1 previous error; 1 warning emitted
make: *** [openbench] Error 101