[INFO] cloning repository https://github.com/sbesselsen/rust-chess [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sbesselsen/rust-chess" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbesselsen%2Frust-chess", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbesselsen%2Frust-chess'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72eccbc1dea513ca60c938e49aa4d0a92b76bee5 [INFO] checking sbesselsen/rust-chess against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbesselsen%2Frust-chess" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sbesselsen/rust-chess on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sbesselsen/rust-chess [INFO] finished tweaking git repo https://github.com/sbesselsen/rust-chess [INFO] tweaked toml for git repo https://github.com/sbesselsen/rust-chess written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sbesselsen/rust-chess 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8c9fc09b3cdb48f749a9e992155d1692c7b1b6fe6bbfe21854397a2a2bd952ba [INFO] running `Command { std: "docker" "start" "-a" "8c9fc09b3cdb48f749a9e992155d1692c7b1b6fe6bbfe21854397a2a2bd952ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8c9fc09b3cdb48f749a9e992155d1692c7b1b6fe6bbfe21854397a2a2bd952ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8c9fc09b3cdb48f749a9e992155d1692c7b1b6fe6bbfe21854397a2a2bd952ba", kill_on_drop: false }` [INFO] [stdout] 8c9fc09b3cdb48f749a9e992155d1692c7b1b6fe6bbfe21854397a2a2bd952ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9509ae1327d754c3f724beacaf6f40e7e7503bce06ba8904fda3011d186377b [INFO] running `Command { std: "docker" "start" "-a" "c9509ae1327d754c3f724beacaf6f40e7e7503bce06ba8904fda3011d186377b", kill_on_drop: false }` [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `is_checked` [INFO] [stdout] --> src/engine/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use analysis::{ is_checked, is_threatened_by }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_checked` [INFO] [stdout] --> src/engine/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use analysis::{ is_checked, is_threatened_by }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schaap_index` [INFO] [stdout] --> src/tests.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | let schaap_index = tree.add_child("schaap", 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schaap_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 262 | let aap1 = tree.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 267 | let aap1 = tree2.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/tests.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | let board = Board::parse_str(" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schaap_index` [INFO] [stdout] --> src/tests.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | let schaap_index = tree.add_child("schaap", 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schaap_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 262 | let aap1 = tree.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 267 | let aap1 = tree2.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/tests.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | let board = Board::parse_str(" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util/grow_tree.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let len = items.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `item`, `item_mut`, `root`, `parent`, and `map` are never used [INFO] [stdout] --> src/util/grow_tree.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GrowTree { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn item(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn item_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn root(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn parent(&self, index: usize) -> Option<(usize, &T)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn map(&self, f: F) -> GrowTree [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util/grow_tree.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let len = items.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `item`, `item_mut`, `root`, `parent`, and `map` are never used [INFO] [stdout] --> src/util/grow_tree.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GrowTree { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn item(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn item_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn root(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn parent(&self, index: usize) -> Option<(usize, &T)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn map(&self, f: F) -> GrowTree [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "c9509ae1327d754c3f724beacaf6f40e7e7503bce06ba8904fda3011d186377b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9509ae1327d754c3f724beacaf6f40e7e7503bce06ba8904fda3011d186377b", kill_on_drop: false }` [INFO] [stdout] c9509ae1327d754c3f724beacaf6f40e7e7503bce06ba8904fda3011d186377b [INFO] checking sbesselsen/rust-chess against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsbesselsen%2Frust-chess" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sbesselsen/rust-chess on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sbesselsen/rust-chess [INFO] finished tweaking git repo https://github.com/sbesselsen/rust-chess [INFO] tweaked toml for git repo https://github.com/sbesselsen/rust-chess written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sbesselsen/rust-chess 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f80573f3c0d285a0a8624f4fd46d39e051dfeb0c5d324d03c7a67f4440336376 [INFO] running `Command { std: "docker" "start" "-a" "f80573f3c0d285a0a8624f4fd46d39e051dfeb0c5d324d03c7a67f4440336376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f80573f3c0d285a0a8624f4fd46d39e051dfeb0c5d324d03c7a67f4440336376", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f80573f3c0d285a0a8624f4fd46d39e051dfeb0c5d324d03c7a67f4440336376", kill_on_drop: false }` [INFO] [stdout] f80573f3c0d285a0a8624f4fd46d39e051dfeb0c5d324d03c7a67f4440336376 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=forbid -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 50f5632637e31692141fc3466f9f9dbc9b14977773d1ee42732111776b75825e [INFO] running `Command { std: "docker" "start" "-a" "50f5632637e31692141fc3466f9f9dbc9b14977773d1ee42732111776b75825e", kill_on_drop: false }` [INFO] [stderr] Checking chess v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `is_checked` [INFO] [stdout] --> src/engine/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use analysis::{ is_checked, is_threatened_by }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `is_checked` [INFO] [stdout] --> src/engine/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | pub use analysis::{ is_checked, is_threatened_by }; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schaap_index` [INFO] [stdout] --> src/tests.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | let schaap_index = tree.add_child("schaap", 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schaap_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 262 | let aap1 = tree.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 267 | let aap1 = tree2.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/tests.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | let board = Board::parse_str(" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util/grow_tree.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let len = items.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `item`, `item_mut`, `root`, `parent`, and `map` are never used [INFO] [stdout] --> src/util/grow_tree.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GrowTree { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn item(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn item_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn root(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn parent(&self, index: usize) -> Option<(usize, &T)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn map(&self, f: F) -> GrowTree [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/grow_tree.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn map(&self, f: F) -> GrowTree [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | all_items: self.all_items.iter().map(f).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/grow_tree.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn map_into(self, f: F) -> GrowTree [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | all_items: self.all_items.into_iter().map(f).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `schaap_index` [INFO] [stdout] --> src/tests.rs:261:7 [INFO] [stdout] | [INFO] [stdout] 261 | let schaap_index = tree.add_child("schaap", 0); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_schaap_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 262 | let aap1 = tree.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `aap1` [INFO] [stdout] --> src/tests.rs:267:7 [INFO] [stdout] | [INFO] [stdout] 267 | let aap1 = tree2.add_child("aap 1", aap_index); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_aap1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `board` [INFO] [stdout] --> src/tests.rs:297:7 [INFO] [stdout] | [INFO] [stdout] 297 | let board = Board::parse_str(" [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_board` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len` [INFO] [stdout] --> src/util/grow_tree.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | let len = items.len(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `item`, `item_mut`, `root`, `parent`, and `map` are never used [INFO] [stdout] --> src/util/grow_tree.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GrowTree { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn item(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn item_mut(&mut self, index: usize) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn root(&self) -> &T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn parent(&self, index: usize) -> Option<(usize, &T)> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn map(&self, f: F) -> GrowTree [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/grow_tree.rs:63:24 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn map(&self, f: F) -> GrowTree [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 63 | all_items: self.all_items.iter().map(f).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/util/grow_tree.rs:80:28 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn map_into(self, f: F) -> GrowTree [INFO] [stdout] | ---- ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | all_items: self.all_items.into_iter().map(f).collect(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` (bin "chess" test) due to 3 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `chess` (bin "chess") due to 3 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "50f5632637e31692141fc3466f9f9dbc9b14977773d1ee42732111776b75825e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "50f5632637e31692141fc3466f9f9dbc9b14977773d1ee42732111776b75825e", kill_on_drop: false }` [INFO] [stdout] 50f5632637e31692141fc3466f9f9dbc9b14977773d1ee42732111776b75825e