cargo rustc --release -p hobbes-chess-engine --features "tuning" --jobs 16 -- -C target-cpu=native -C link-arg=/OPT:REF -C link-arg=/OPT:ICF --emit link=Hobbes-AE59A5C6
Compiling zerocopy v0.8.26
Compiling getrandom v0.3.3
Compiling cfg-if v1.0.1
Compiling arrayvec v0.7.4
Compiling rand_core v0.9.3
Compiling ppv-lite86 v0.2.21
Compiling rand_chacha v0.9.0
Compiling rand v0.9.2
Compiling hobbes-chess-engine v0.1.0 (C:\Users\liamt\AppData\Local\Temp\tmpts_8k3y8\Hobbes\Hobbes-tmp)
error[E0658]: mutable references are not allowed in constant functions
--> src\board.rs:562:26
|
562 | pub const fn set_frc(&mut self, frc: bool) {
| ^^^^^^^^^
|
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-19; consider upgrading it if it is out of date
error[E0658]: mutable references are not allowed in constant functions
--> src\tt.rs:120:27
|
120 | pub const fn birthday(&mut self) {
| ^^^^^^^^^
|
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
= help: add `#![feature(const_mut_refs)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-19; consider upgrading it if it is out of date
error[E0658]: floating point arithmetic is not allowed in constant functions
--> src\time.rs:56:24
|
56 | let fraction = best_move_nodes as f32 / nodes as f32;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241> for more information
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-19; consider upgrading it if it is out of date
error[E0658]: floating point arithmetic is not allowed in constant functions
--> src\time.rs:57:9
|
57 | (1.5 - fraction) * 1.35
| ^^^^^^^^^^^^^^^^
|
= note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241> for more information
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-19; consider upgrading it if it is out of date
error[E0658]: floating point arithmetic is not allowed in constant functions
--> src\time.rs:57:9
|
57 | (1.5 - fraction) * 1.35
| ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #57241 <https://github.com/rust-lang/rust/issues/57241> for more information
= help: add `#![feature(const_fn_floating_point_arithmetic)]` to the crate attributes to enable
= note: this compiler was built on 2024-04-19; consider upgrading it if it is out of date
For more information about this error, try `rustc --explain E0658`.
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 5 previous errors
make: *** [Makefile:26: openbench] Error 101