cargo rustc --release -- -C target-cpu=native --emit link=Viridithas-DE85F92F-7085BBDE Updating crates.io index Downloading crates ... Downloaded twox-hash v1.6.3 Downloaded static_assertions v1.1.0 Downloaded byteorder v1.5.0 Downloaded ruzstd v0.7.0 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 v1.0.6 Compiling anstyle-query v1.0.2 Compiling colorchoice v1.0.0 Compiling heck v0.5.0 Compiling anstyle-parse v0.2.3 Compiling static_assertions v1.1.0 Compiling clap_lex v0.7.0 Compiling cfg-if v1.0.0 Compiling strsim v0.11.0 Compiling anyhow v1.0.86 Compiling twox-hash v1.6.3 Compiling byteorder v1.5.0 Compiling anstream v0.6.13 Compiling windows-targets v0.52.6 Compiling viridithas v14.0.0 (/tmp/tmptxl8z708/Viridithas/Viridithas-tmp) Compiling windows-sys v0.52.0 Compiling arrayvec v0.7.4 Compiling clap_builder v4.5.2 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