cargo rustc --release -p hobbes-chess-engine -- -C target-cpu=native --emit link=Hobbes-2A613CE1
Compiling arrayvec v0.7.4
Compiling hobbes-chess-engine v0.1.0 (C:\Users\liamt\AppData\Local\Temp\tmp4d56wpv9\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;
|
warning: unused import: `Side`
--> src\search.rs:2:35
|
2 | use crate::consts::{Piece, Score, Side, MAX_DEPTH};
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
warning: value assigned to `raw_eval` is never read
--> src\search.rs:112:13
|
112 | let mut raw_eval = Score::MIN;
| ^^^^^^^^
|
= help: maybe it is overwritten before being read?
= note: `#[warn(unused_assignments)]` on by default
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:4: openbench] Error 101