cargo rustc --manifest-path ./engine/Cargo.toml --bin engine --release -- -C target-cpu=native --emit link=Tcheran-E5D23942-BED288A4
Compiling find-msvc-tools v0.1.9
Compiling shlex v1.3.0
Compiling atomic-wait v1.1.0
Compiling cc v1.2.61
Compiling engine v13.0.0-dev (/private/var/folders/q9/689ggn5j5hz33d1m286cngw40000gn/T/tmpmrfb0p6k/Tcheran/Tcheran-tmp/engine)
error[E0080]: transmuting from 6309952-byte type to 6326336-byte type: `[u8; 6309952]` -> `Network`
--> engine/src/engine/eval/nnue.rs:31:40
|
31 | ...k = unsafe { std::mem::transmute(*include_bytes!(env!("NETWORK"))) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `engine::eval::nnue::NETWORK` failed here
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> engine/src/engine/eval/nnue.rs:31:40
|
31 | pub static NETWORK: Network = unsafe { std::mem::transmute(*include_bytes!(env!("NETWORK")...
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 6309952]` (50479616 bits)
= note: target type: `Network` (50610688 bits)
Some errors have detailed explanations: E0080, E0512.
For more information about an error, try `rustc --explain E0080`.
error: could not compile `engine` (lib) due to 2 previous errors
make: *** [openbench] Error 101