cargo rustc -r -p engine --bins --features tuning,log,classical -- -C target-cpu=native --emit link=Pluto-273CC756 Compiling unicode-ident v1.0.18 Compiling proc-macro2 v1.0.94 Compiling wasm-bindgen-shared v0.2.100 Compiling log v0.4.27 Compiling bumpalo v3.17.0 Compiling serde v1.0.219 Compiling autocfg v1.4.0 Compiling rustversion v1.0.20 Compiling wasm-bindgen v0.2.100 Compiling libc v0.2.171 Compiling once_cell v1.21.3 Compiling time-core v0.1.4 Compiling cfg-if v1.0.0 Compiling equivalent v1.0.2 Compiling powerfmt v0.2.0 Compiling hashbrown v0.15.2 Compiling num-conv v0.1.0 Compiling num-traits v0.2.19 Compiling time-macros v0.2.22 Compiling deranged v0.4.0 Compiling quote v1.0.40 Compiling syn v2.0.100 Compiling indexmap v2.9.0 Compiling winnow v0.7.6 Compiling num_threads v0.1.7 Compiling itoa v1.0.15 Compiling iana-time-zone v0.1.63 Compiling btoi v0.4.3 Compiling arrayvec v0.7.6 Compiling termcolor v1.4.1 Compiling bitflags v2.9.0 Compiling chrono v0.4.40 Compiling shakmaty v0.27.3 Compiling time v0.3.41 Compiling queues v1.1.0 Compiling toml_datetime v0.6.8 Compiling serde_spanned v0.6.8 Compiling toml_edit v0.22.24 Compiling simplelog v0.12.2 Compiling wasm-bindgen-backend v0.2.100 Compiling serde_derive v1.0.219 Compiling wasm-bindgen-macro-support v0.2.100 Compiling toml v0.8.20 Compiling wasm-bindgen-macro v0.2.100 Compiling js-sys v0.3.77 Compiling web-sys v0.3.77 Compiling engine v1.0.1 (/tmp/tmpze0he7ra/Pluto/Pluto-tmp/engine) error: format argument must be a string literal --> engine/src/main.rs:58:18 | 58 | out!(format!("{:?}", panic_info).as_str()); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: you might be missing a string literal to format with | 58 | out!("{}", format!("{:?}", panic_info).as_str()); | +++++ error[E0432]: unresolved import `logger::Logger` --> engine/src/main.rs:34:5 | 34 | use logger::Logger; | ^^^^^^^^^^^^^^ no `Logger` in `logger` error[E0412]: cannot find type `Rng` in this scope --> engine/src/uci.rs:208:42 | 208 | fn random_play(pos: Chess, rng: &mut Rng, depth: i32) -> Chess { | ^^^ not found in this scope | help: consider importing this struct | 18 + use crate::rng::Rng; | error[E0599]: no method named `fmt_spsa` found for struct `OptionDescriptor<bool>` in the current scope --> engine/src/config.rs:136:35 | 44 | pub struct OptionDescriptor<T> { | ------------------------------ method `fmt_spsa` not found for this struct ... 136 | $(self.$field.fmt_spsa(),)* | ^^^^^^^^ method not found in `OptionDescriptor<bool>` ... 152 | / make_config! { 153 | | move_overhead: usize = ("MoveOverhead", OptionKind::Spin, 0, 0, 10000, false); 154 | | threads: u8 = ("Threads", OptionKind::Spin, 1, 1, 1, false); 155 | | hash: usize = ("Hash", OptionKind::Spin, 255, 1, 1024, false); ... | 180 | | tc_elapsed_factor: i64 = ("TCElapsedFactor", OptionKind::Spin, 8, 1, 10, true); 181 | | } | |_- in this macro invocation | = note: the method was found for - `OptionDescriptor<f64>` - `OptionDescriptor<i32>` - `OptionDescriptor<i64>` - `OptionDescriptor<u64>` and 2 more types = note: this error originates in the macro `make_config` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0433]: failed to resolve: use of undeclared type `Logger` --> engine/src/uci.rs:238:18 | 238 | _ => Logger::log("unknown target: {}", target), | ^^^^^^ use of undeclared type `Logger` Some errors have detailed explanations: E0412, E0432, E0433, E0599. For more information about an error, try `rustc --explain E0412`. error: could not compile `engine` (bin "engine") due to 5 previous errors make: *** [Makefile:28: rule] Error 101