cargo clean
Removed 0 files
cargo rustc --release --bin Pea -- -C target-cpu=native --emit link=Pea-FF4F5E62.exe
Compiling proc-macro2 v1.0.106
Compiling quote v1.0.44
Compiling unicode-ident v1.0.23
Compiling autocfg v1.5.0
Compiling serde_core v1.0.228
Compiling serde v1.0.228
Compiling rand_core v0.10.0
Compiling getrandom v0.4.2
Compiling cfg-if v1.0.4
Compiling cpufeatures v0.3.0
Compiling equivalent v1.0.2
Compiling hashbrown v0.16.1
Compiling itoa v1.0.17
Compiling unsafe-libyaml v0.2.11
Compiling bitflags v2.10.0
Compiling ryu v1.0.23
Compiling arrayvec v0.7.6
Compiling FastPeaPea v0.1.0 (C:\Users\warre\AppData\Local\Temp\tmp8liikw1x\Pea\Pea-tmp)
Compiling glob v0.3.3
Compiling chacha20 v0.10.0
Compiling num-traits v0.2.19
Compiling indexmap v2.13.0
Compiling rand v0.10.0
Compiling syn v2.0.114
Compiling btoi v0.5.0
Compiling shakmaty v0.30.0
Compiling serde_derive v1.0.228
Compiling serde_yaml v0.9.34+deprecated
error[E0080]: transmuting from 9489472-byte type to 28363840-byte type: `[u8; 9489472]` -> `Network`
--> src\nnue\network.rs:22:33
|
22 | static NNUE: Network = unsafe { std::mem::transmute(*include_bytes!("../../nnue/files/quantised.bin")) };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `nnue::network::NNUE` failed here
error[E0512]: cannot transmute between types of different sizes, or dependently-sized types
--> src\nnue\network.rs:22:33
|
22 | static NNUE: Network = unsafe { std::mem::transmute(*include_bytes!("../../nnue/files/quantised.bin")) };
| ^^^^^^^^^^^^^^^^^^^
|
= note: source type: `[u8; 9489472]` (75915776 bits)
= note: target type: `Network` (226910720 bits)
Some errors have detailed explanations: E0080, E0512.
For more information about an error, try `rustc --explain E0080`.
error: could not compile `FastPeaPea` (bin "Pea") due to 2 previous errors
make: *** [Makefile:17: rule] Error 101