[INFO] cloning repository https://github.com/brunocodutra/chessboard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/brunocodutra/chessboard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrunocodutra%2Fchessboard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrunocodutra%2Fchessboard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9560826b64fc22050d69ef8a33dfc1bb34e288fb [INFO] checking brunocodutra/chessboard against master#91c0823ee63e793d990bb9fed898dc95b5d6db51 for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrunocodutra%2Fchessboard" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brunocodutra/chessboard on toolchain 91c0823ee63e793d990bb9fed898dc95b5d6db51 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/brunocodutra/chessboard [INFO] finished tweaking git repo https://github.com/brunocodutra/chessboard [INFO] tweaked toml for git repo https://github.com/brunocodutra/chessboard written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/brunocodutra/chessboard already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-strategy v0.3.1 [INFO] [stderr] Downloaded structmeta v0.2.0 [INFO] [stderr] Downloaded cozy-chess-types v0.2.1 [INFO] [stderr] Downloaded structmeta-derive v0.2.0 [INFO] [stderr] Downloaded derive_more-impl v1.0.0-beta.6 [INFO] [stderr] Downloaded ruzstd v0.6.0 [INFO] [stderr] Downloaded serde_json v1.0.113 [INFO] [stderr] Downloaded derive_more v1.0.0-beta.6 [INFO] [stderr] Downloaded cozy-chess v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe708813b2afcf6bdc22f891ea5d17a194fcdfc9fc8a8c110c3ee0de0a7d0070 [INFO] running `Command { std: "docker" "start" "-a" "fe708813b2afcf6bdc22f891ea5d17a194fcdfc9fc8a8c110c3ee0de0a7d0070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe708813b2afcf6bdc22f891ea5d17a194fcdfc9fc8a8c110c3ee0de0a7d0070", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe708813b2afcf6bdc22f891ea5d17a194fcdfc9fc8a8c110c3ee0de0a7d0070", kill_on_drop: false }` [INFO] [stdout] fe708813b2afcf6bdc22f891ea5d17a194fcdfc9fc8a8c110c3ee0de0a7d0070 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+91c0823ee63e793d990bb9fed898dc95b5d6db51" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4929613f54d2421ca744f100328931a33fc2ae437ba2661b71cfb915660a85f1 [INFO] running `Command { std: "docker" "start" "-a" "4929613f54d2421ca744f100328931a33fc2ae437ba2661b71cfb915660a85f1", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling cozy-chess-types v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Compiling cozy-chess v0.3.3 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking ruzstd v0.6.0 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling derive_more-impl v1.0.0-beta.6 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Compiling test-strategy v0.3.1 [INFO] [stderr] Checking derive_more v1.0.0-beta.6 [INFO] [stderr] Checking chessboard v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 33.73s [INFO] running `Command { std: "docker" "inspect" "4929613f54d2421ca744f100328931a33fc2ae437ba2661b71cfb915660a85f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4929613f54d2421ca744f100328931a33fc2ae437ba2661b71cfb915660a85f1", kill_on_drop: false }` [INFO] [stdout] 4929613f54d2421ca744f100328931a33fc2ae437ba2661b71cfb915660a85f1 [INFO] checking brunocodutra/chessboard against try#519d6e23a6cb73c4d0f295f71ad37db8e95c54ab for pr-125384-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrunocodutra%2Fchessboard" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brunocodutra/chessboard on toolchain 519d6e23a6cb73c4d0f295f71ad37db8e95c54ab [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-0-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/brunocodutra/chessboard [INFO] finished tweaking git repo https://github.com/brunocodutra/chessboard [INFO] tweaked toml for git repo https://github.com/brunocodutra/chessboard written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/brunocodutra/chessboard already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b57b9fee08f6468021a6231ad41552cda1af9fd3d7ba84649217516c88ae947b [INFO] running `Command { std: "docker" "start" "-a" "b57b9fee08f6468021a6231ad41552cda1af9fd3d7ba84649217516c88ae947b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b57b9fee08f6468021a6231ad41552cda1af9fd3d7ba84649217516c88ae947b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b57b9fee08f6468021a6231ad41552cda1af9fd3d7ba84649217516c88ae947b", kill_on_drop: false }` [INFO] [stdout] b57b9fee08f6468021a6231ad41552cda1af9fd3d7ba84649217516c88ae947b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+519d6e23a6cb73c4d0f295f71ad37db8e95c54ab" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6bf8da272acb4ecde5428da5ac09f10d80bcab0d3ca82e4ff9d605b52ac1f1db [INFO] running `Command { std: "docker" "start" "-a" "6bf8da272acb4ecde5428da5ac09f10d80bcab0d3ca82e4ff9d605b52ac1f1db", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling cozy-chess-types v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling cozy-chess v0.3.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling derive_more-impl v1.0.0-beta.6 [INFO] [stderr] Compiling structmeta-derive v0.2.0 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking ruzstd v0.6.0 [INFO] [stderr] Compiling structmeta v0.2.0 [INFO] [stderr] Compiling test-strategy v0.3.1 [INFO] [stderr] Checking derive_more v1.0.0-beta.6 [INFO] [stderr] Checking chessboard v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating lib/lib.rs from 2021 edition to 2024 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Fixed lib/nnue.rs (1 fix) [INFO] [stderr] Migrating bin/main.rs from 2021 edition to 2024 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Migrating tests/perft.rs from 2021 edition to 2024 [INFO] [stderr] Migrating benches/search.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 32.89s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking chessboard v0.1.0 (/tmp/fixit) [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | self.transformer().refresh(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | self.transformer().refresh(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | self.transformer().add(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | self.transformer().add(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | self.transformer().remove(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | self.transformer().remove(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | self.transformer().refresh(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | self.transformer().refresh(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | self.transformer().add(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | self.transformer().add(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 47 | self.transformer().remove(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | self.transformer().remove(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chessboard` (lib) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:28:45 [INFO] [stdout] | [INFO] [stdout] 28 | self.transformer().refresh(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:29:47 [INFO] [stdout] | [INFO] [stdout] 29 | self.transformer().refresh(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:34:41 [INFO] [stdout] | [INFO] [stdout] 34 | self.transformer().add(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:35:43 [INFO] [stdout] | [INFO] [stdout] 35 | self.transformer().add(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:40:44 [INFO] [stdout] | [INFO] [stdout] 40 | self.transformer().remove(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/material.rs:41:46 [INFO] [stdout] | [INFO] [stdout] 41 | self.transformer().remove(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:35:45 [INFO] [stdout] | [INFO] [stdout] 35 | self.transformer().refresh(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:36:47 [INFO] [stdout] | [INFO] [stdout] 36 | self.transformer().refresh(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:41:41 [INFO] [stdout] | [INFO] [stdout] 41 | self.transformer().add(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:42:43 [INFO] [stdout] | [INFO] [stdout] 42 | self.transformer().add(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:47:44 [INFO] [stdout] | [INFO] [stdout] 47 | self.transformer().remove(us, &mut self.0[0]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `self.0` as mutable because it is also borrowed as immutable [INFO] [stdout] --> lib/nnue/positional.rs:48:46 [INFO] [stdout] | [INFO] [stdout] 48 | self.transformer().remove(them, &mut self.0[1]); [INFO] [stdout] | ------------------ ^^^^^^ - ... and the immutable borrow might be used here, when that temporary is dropped and runs the destructor for type `impl Deref>` [INFO] [stdout] | | | [INFO] [stdout] | | mutable borrow occurs here [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | a temporary with access to the immutable borrow is created here ... [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chessboard` (lib test) due to 13 previous errors [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "6bf8da272acb4ecde5428da5ac09f10d80bcab0d3ca82e4ff9d605b52ac1f1db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bf8da272acb4ecde5428da5ac09f10d80bcab0d3ca82e4ff9d605b52ac1f1db", kill_on_drop: false }` [INFO] [stdout] 6bf8da272acb4ecde5428da5ac09f10d80bcab0d3ca82e4ff9d605b52ac1f1db