cargo rustc --release -p simbelmyne -- -C target-cpu=native --emit link=Simbelmyne-F67B347C
Compiling anyhow v1.0.86
Compiling proc-macro2 v1.0.86
Compiling unicode-ident v1.0.12
Compiling crossbeam-utils v0.8.20
Compiling either v1.13.0
Compiling utf8parse v0.2.2
Compiling rayon-core v1.12.1
Compiling lazy_static v1.5.0
Compiling anstyle-parse v0.2.4
Compiling colored v2.1.0
Compiling itertools v0.11.0
Compiling anstyle v1.0.7
Compiling arrayvec v0.7.4
Compiling anstyle-query v1.1.0
Compiling quote v1.0.36
Compiling crossbeam-epoch v0.9.18
Compiling is_terminal_polyfill v1.70.0
Compiling colorchoice v1.0.1
Compiling syn v2.0.70
Compiling anstream v0.6.14
Compiling strsim v0.11.1
Compiling crossbeam-deque v0.8.5
Compiling clap_lex v0.7.1
Compiling heck v0.5.0
Compiling clap_builder v4.5.7
Compiling simbelmyne v1.10.0 (/tmp/tmpryejehs0/Simbelmyne/Simbelmyne-tmp/simbelmyne)
Compiling simbelmyne-chess v0.1.0 (/tmp/tmpryejehs0/Simbelmyne/Simbelmyne-tmp/chess)
Compiling rayon v1.10.0
Compiling clap_derive v4.5.5
Compiling bytemuck_derive v1.6.0
Compiling bytemuck v1.16.3
Compiling clap v4.5.7
Compiling simbelmyne-uci v0.1.0 (/tmp/tmpryejehs0/Simbelmyne/Simbelmyne-tmp/uci)
Compiling tuner v0.1.0 (/tmp/tmpryejehs0/Simbelmyne/Simbelmyne-tmp/tuner)
Compiling macros v0.1.0 (/tmp/tmpryejehs0/Simbelmyne/Simbelmyne-tmp/macros)
error[E0716]: temporary value dropped while borrowed
--> macros/src/lib.rs:18:10
|
17 | let uci_decls = if cfg!(feature = "spsa") {
| --------- borrow later stored here
18 | ¶ms.params
| __________^
19 | | .iter()
20 | | .filter(|item| is_uci_option(item))
21 | | .collect::<Vec<_>>()
| |________________________________^ creates a temporary value which is freed while still in use
22 | } else {
| - temporary value is freed at the end of this statement
|
= note: consider using a `let` binding to create a longer lived value
error[E0716]: temporary value dropped while borrowed
--> macros/src/lib.rs:23:10
|
17 | let uci_decls = if cfg!(feature = "spsa") {
| --------- borrow later stored here
...
23 | &Vec::new()
| ^^^^^^^^^^ creates a temporary value which is freed while still in use
24 | };
| - temporary value is freed at the end of this statement
|
= note: consider using a `let` binding to create a longer lived value
For more information about this error, try `rustc --explain E0716`.
error: could not compile `macros` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
make: *** [Makefile:4: openbench] Error 101