Downloading network hobbes-8.nnue
curl -L -o hobbes.nnue https://github.com/kelseyde/hobbes-networks/releases/download/hobbes-8/hobbes-8.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  385k  100  385k    0     0  2264k      0 --:--:-- --:--:-- --:--:-- 2264k
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-ED61FC58
    Updating crates.io index
 Downloading crates ...
  Downloaded rand_chacha v0.9.0
  Downloaded ppv-lite86 v0.2.21
  Downloaded cfg-if v1.0.1
  Downloaded rand_core v0.9.3
  Downloaded zerocopy v0.8.26
  Downloaded rand v0.9.2
  Downloaded getrandom v0.3.3
   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\tmpwwme5ahx\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

warning: unused variable: `w_king_sq`
   --> src\evaluation\network.rs:196:13
    |
196 |         let w_king_sq = king_square(board, *mv, new_pc, White);
    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_w_king_sq`
    |
    = note: `#[warn(unused_variables)]` on by default

warning: unused variable: `b_king_sq`
   --> src\evaluation\network.rs:197:13
    |
197 |         let b_king_sq = king_square(board, *mv, new_pc, Black);
    |             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_king_sq`

warning: unused variable: `w_bucket`
   --> src\evaluation\network.rs:200:13
    |
200 |         let w_bucket = 0;
    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_w_bucket`

warning: unused variable: `b_bucket`
   --> src\evaluation\network.rs:202:13
    |
202 |         let b_bucket = 0;
    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_bucket`

For more information about this error, try `rustc --explain E0658`.
warning: `hobbes-chess-engine` (bin "hobbes-chess-engine") generated 4 warnings
error: could not compile `hobbes-chess-engine` (bin "hobbes-chess-engine") due to 5 previous errors; 4 warnings emitted
make: *** [Makefile:29: openbench] Error 101