cargo rustc --release -- -C target-cpu=native --emit link=Viridithas-3FF8A887-5B404555 Compiling proc-macro2 v1.0.79 Compiling unicode-ident v1.0.12 Compiling windows_x86_64_gnu v0.52.6 Compiling utf8parse v0.2.1 Compiling anstyle-query v1.0.2 Compiling colorchoice v1.0.0 Compiling anstyle v1.0.6 Compiling cfg-if v1.0.0 Compiling anstyle-parse v0.2.3 Compiling clap_lex v0.7.0 Compiling heck v0.5.0 Compiling anyhow v1.0.86 Compiling strsim v0.11.0 Compiling anstream v0.6.13 Compiling static_assertions v1.1.0 Compiling windows-targets v0.52.6 Compiling twox-hash v1.6.3 Compiling viridithas v14.0.0 (/tmp/tmp0a6r1eb1/Viridithas/Viridithas-tmp) Compiling byteorder v1.5.0 Compiling windows-sys v0.52.0 Compiling clap_builder v4.5.2 Compiling arrayvec v0.7.4 Compiling ruzstd v0.7.0 Compiling quote v1.0.35 Compiling syn v2.0.55 Compiling clap_derive v4.5.3 Compiling clap v4.5.3 error[E0425]: cannot find function `size_of` in this scope --> src/nnue/network.rs:36:36 | 36 | pub const L1_CHUNK_PER_32: usize = size_of::<i32>() / size_of::<i8>(); | ^^^^^^^ not found in this scope | help: consider importing one of these items | 1 + use core::mem::size_of; | 1 + use std::mem::size_of; | error[E0425]: cannot find function `size_of` in this scope --> src/nnue/network.rs:36:55 | 36 | pub const L1_CHUNK_PER_32: usize = size_of::<i32>() / size_of::<i8>(); | ^^^^^^^ not found in this scope | help: consider importing one of these items | 1 + use core::mem::size_of; | 1 + use std::mem::size_of; | error[E0425]: cannot find function `size_of` in this scope --> src/nnue/network.rs:255:19 | 255 | let len = size_of::<Self>(); | ^^^^^^^ not found in this scope | help: consider importing one of these items | 1 + use core::mem::size_of; | 1 + use std::mem::size_of; | For more information about this error, try `rustc --explain E0425`. error: could not compile `viridithas` (bin "viridithas") due to 3 previous errors make: *** [Makefile:28: openbench] Error 101