cargo rustc --release -p hobbes-chess-engine -- -C target-cpu=native --emit link=Hobbes-BB362146
Compiling arrayvec v0.7.4
Compiling hobbes-chess-engine v0.1.0 (C:\Users\liamt\AppData\Local\Temp\tmp9d0pt0qz\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: 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 1 warning
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 2 previous errors; 1 warning emitted
make: *** [Makefile:4: openbench] Error 101