cargo rustc --release -p hobbes-chess-engine -- -C target-cpu=native --emit link=Hobbes-5FF6FFC0
Updating crates.io index
Downloading crates ...
Downloaded rand v0.9.0-alpha.1
Downloaded zerocopy v0.8.0-alpha.6
Downloaded rand_core v0.9.0-alpha.1
Downloaded rand_chacha v0.9.0-alpha.1
Downloaded getrandom v0.2.15
Compiling zerocopy v0.8.0-alpha.6
Compiling cfg-if v1.0.0
Compiling ppv-lite86 v0.2.17
Compiling arrayvec v0.7.4
Compiling getrandom v0.2.15
Compiling rand_core v0.9.0-alpha.1
Compiling rand_chacha v0.9.0-alpha.1
Compiling rand v0.9.0-alpha.1
Compiling hobbes-chess-engine v0.1.0 (C:\Users\liamt\AppData\Local\Temp\tmpeiqcx0en\Hobbes\Hobbes-tmp)
error[E0425]: cannot find function `size_of` in this scope
--> src\tt.rs:89:44
|
89 | let size = size_mb * 1024 * 1024 / size_of::<TTEntry>();
| ^^^^^^^
|
help: a local variable with a similar name exists
|
89 | let size = size_mb * 1024 * 1024 / size_mb::<TTEntry>();
| ~~~~~~~
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\tt.rs:95:44
|
95 | let size = size_mb * 1024 * 1024 / size_of::<TTEntry>();
| ^^^^^^^
|
help: a local variable with a similar name exists
|
95 | let size = size_mb * 1024 * 1024 / size_mb::<TTEntry>();
| ~~~~~~~
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 `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 2 previous errors
make: *** [Makefile:4: openbench] Error 101