cargo rustc --release --no-default-features --features release -- -C target-cpu=native --emit link=Tcheran-08305DA3
Compiling proc-macro2 v1.0.92
Compiling unicode-ident v1.0.14
Compiling libc v0.2.167
Compiling byteorder v1.5.0
Compiling cfg-if v1.0.0
Compiling shlex v1.3.0
Compiling minimal-lexical v0.2.1
Compiling lazy_static v1.5.0
Compiling memchr v2.7.4
Compiling colored v2.1.0
Compiling arrayvec v0.7.6
Compiling cc v1.2.2
Compiling nom v7.1.3
Compiling quote v1.0.37
Compiling syn v2.0.90
Compiling getrandom v0.2.15
Compiling rand_core v0.6.4
Compiling engine v5.1.0 (/tmp/tmpfwpeqvr_/Tcheran/Tcheran-tmp)
Compiling zerocopy-derive v0.7.35
Compiling zerocopy v0.7.35
Compiling ppv-lite86 v0.2.20
Compiling rand_chacha v0.3.1
Compiling rand v0.8.5
error[E0432]: unresolved import `crate::engine::eval::params::CONNECTED_ROOK_BONUS`
--> src/engine/eval/material.rs:6:54
|
6 | use crate::engine::eval::params::{BISHOP_PAIR_BONUS, CONNECTED_ROOK_BONUS};
| ^^^^^^^^^^^^^^^^^^^^
| |
| no `CONNECTED_ROOK_BONUS` in `engine::eval::params`
| help: a similar name exists in the module: `CONNECTED_ROOKS_BONUS`
warning: unreachable expression
--> src/engine/eval/material.rs:104:13
|
102 | panic!("{}", game.to_fen());
| --------------------------- any code following this expression is unreachable
103 |
104 | / if TRACE {
105 | | trace.connected_rooks.incr(Player::Black);
106 | | }
| |_____________^ unreachable expression
|
= note: `#[warn(unreachable_code)]` on by default
For more information about this error, try `rustc --explain E0432`.
warning: `engine` (bin "engine") generated 1 warning
error: could not compile `engine` (bin "engine") due to 1 previous error; 1 warning emitted
make: *** [Makefile:10: openbench] Error 101