[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] 7db8f558fd04ca08139569d86e15af7823e06b2a [INFO] checking brunocodutra/chessboard against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrunocodutra%2Fchessboard" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brunocodutra/chessboard on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-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-5-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cozy-chess-types v0.2.1 [INFO] [stderr] Downloaded derive_more-impl v1.0.0-beta.6 [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52ea04eebd4a918044ea5ea30a890f395f4c2d8687ff99a6d206a2ed517ee0d5 [INFO] running `Command { std: "docker" "start" "-a" "52ea04eebd4a918044ea5ea30a890f395f4c2d8687ff99a6d206a2ed517ee0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52ea04eebd4a918044ea5ea30a890f395f4c2d8687ff99a6d206a2ed517ee0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52ea04eebd4a918044ea5ea30a890f395f4c2d8687ff99a6d206a2ed517ee0d5", kill_on_drop: false }` [INFO] [stdout] 52ea04eebd4a918044ea5ea30a890f395f4c2d8687ff99a6d206a2ed517ee0d5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8766fb394a6cfd5ddfd6e025613d32036cd60015f8075e44f0d70e750d2588b5 [INFO] running `Command { std: "docker" "start" "-a" "8766fb394a6cfd5ddfd6e025613d32036cd60015f8075e44f0d70e750d2588b5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling rayon-core v1.12.1 [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] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Compiling cozy-chess v0.3.3 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Checking clap v4.5.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 (/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 11.90s [INFO] running `Command { std: "docker" "inspect" "8766fb394a6cfd5ddfd6e025613d32036cd60015f8075e44f0d70e750d2588b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8766fb394a6cfd5ddfd6e025613d32036cd60015f8075e44f0d70e750d2588b5", kill_on_drop: false }` [INFO] [stdout] 8766fb394a6cfd5ddfd6e025613d32036cd60015f8075e44f0d70e750d2588b5 [INFO] checking brunocodutra/chessboard against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbrunocodutra%2Fchessboard" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/brunocodutra/chessboard on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-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-5-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" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c3b45e5f26ba2e36ecb11ed9c9b31031f816bb73a93f46ac6bcefc7f39cb76e0 [INFO] running `Command { std: "docker" "start" "-a" "c3b45e5f26ba2e36ecb11ed9c9b31031f816bb73a93f46ac6bcefc7f39cb76e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c3b45e5f26ba2e36ecb11ed9c9b31031f816bb73a93f46ac6bcefc7f39cb76e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b45e5f26ba2e36ecb11ed9c9b31031f816bb73a93f46ac6bcefc7f39cb76e0", kill_on_drop: false }` [INFO] [stdout] c3b45e5f26ba2e36ecb11ed9c9b31031f816bb73a93f46ac6bcefc7f39cb76e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63bed3c8c6b96093a53e0d9762cf9b514025a9f1625f19ac94881ce0ed142cd3 [INFO] running `Command { std: "docker" "start" "-a" "63bed3c8c6b96093a53e0d9762cf9b514025a9f1625f19ac94881ce0ed142cd3", 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] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [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 unicode-xid v0.2.4 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.3.1 [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking itoa v1.0.10 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling cozy-chess v0.3.3 [INFO] [stderr] Checking getrandom v0.2.12 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking proptest v1.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking ruzstd v0.6.0 [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 (/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 benches/search.rs from 2021 edition to 2024 [INFO] [stderr] Migrating tests/perft.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 12.19s [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" "63bed3c8c6b96093a53e0d9762cf9b514025a9f1625f19ac94881ce0ed142cd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63bed3c8c6b96093a53e0d9762cf9b514025a9f1625f19ac94881ce0ed142cd3", kill_on_drop: false }` [INFO] [stdout] 63bed3c8c6b96093a53e0d9762cf9b514025a9f1625f19ac94881ce0ed142cd3