Downloading network hobbes-13.nnue
curl -L -o hobbes.nnue https://github.com/kelseyde/hobbes-networks/releases/download/hobbes-13/hobbes-13.nnue
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 1156k 100 1156k 0 0 5368k 0 --:--:-- --:--:-- --:--:-- 5368k
cargo rustc --release -p hobbes-chess-engine --jobs 16 -- -C target-cpu=native -C link-arg=/OPT:REF -C link-arg=/OPT:ICF --emit link=Hobbes-FB79BA5C
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\tmp8sonvgbr\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:29: openbench] Error 101