cargo rustc --release -p hobbes-chess-engine -- -C target-cpu=native --emit link=Hobbes-826C2E16
Compiling arrayvec v0.7.4
Compiling hobbes-chess-engine v0.1.0 (C:\Users\liamt\AppData\Local\Temp\tmpc7rrovme\Hobbes\Hobbes-tmp)
error[E0425]: cannot find function `size_of` in this scope
--> src\tt.rs:83:44
|
83 | let size = size_mb * 1024 * 1024 / size_of::<TTEntry>();
| ^^^^^^^
|
help: a local variable with a similar name exists
|
83 | 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: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;
|
warning: unused imports: `MoveFilter`, `gen_moves`
--> src\board.rs:4:22
|
4 | use crate::movegen::{gen_moves, is_attacked, is_check, MoveFilter};
| ^^^^^^^^^ ^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: unused import: `gen_moves`
--> src\search.rs:3:22
|
3 | use crate::movegen::{gen_moves, is_check, is_legal, MoveFilter};
| ^^^^^^^^^
For more information about this error, try `rustc --explain E0425`.
warning: `hobbes-chess-engine` (bin "hobbes-chess-engine") generated 2 warnings
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 2 previous errors; 2 warnings emitted
make: *** [Makefile:8: openbench] Error 101