cargo rustc --manifest-path ./engine/Cargo.toml --bin engine --release -- -C target-cpu=native --emit link=Tcheran-A53DEB1C
Compiling libc v0.2.186
Compiling find-msvc-tools v0.1.9
Compiling shlex v2.0.1
Compiling cc v1.2.64
Compiling engine v13.0.0-dev (/tmp/tmp7nmlqum_/Tcheran/Tcheran-tmp/engine)
Compiling atomic-wait v1.1.0
warning: engine@13.0.0-dev: Fetched network: v19-8ae28367.nnue
error[E0382]: borrow of partially moved value: `tt_entry`
--> engine/src/engine/search/negamax.rs:289:20
|
202 | let tt_adjusted_eval = if let Some(e) = tt_entry
| - value partially moved here
...
289 | if !is_root && tt_entry.is_none() && depth >= iir_depth() {
| ^^^^^^^^ value borrowed here after partial move
|
= note: partial move occurs because value has type `TranspositionTableHit`, which does not implement the `Copy` trait
help: borrow this binding in the pattern to avoid moving the value
|
202 | let tt_adjusted_eval = if let Some(ref e) = tt_entry
| +++
For more information about this error, try `rustc --explain E0382`.
warning: engine@13.0.0-dev: Fetched network: v19-8ae28367.nnue
error: could not compile `engine` (lib) due to 1 previous error
make: *** [Makefile:24: build] Error 101