[INFO] cloning repository https://github.com/one0day/rust-data-structure [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/one0day/rust-data-structure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fone0day%2Frust-data-structure", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fone0day%2Frust-data-structure'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5b91d8e99c98446735b71ee76dcb323d777e267e [INFO] checking one0day/rust-data-structure against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fone0day%2Frust-data-structure" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/one0day/rust-data-structure 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/one0day/rust-data-structure [INFO] finished tweaking git repo https://github.com/one0day/rust-data-structure [INFO] tweaked toml for git repo https://github.com/one0day/rust-data-structure written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/one0day/rust-data-structure 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-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 369306f633a83da2fe5fbf249c48d7786171600fa4bf396840b00287cd3c2bfb [INFO] running `Command { std: "docker" "start" "-a" "369306f633a83da2fe5fbf249c48d7786171600fa4bf396840b00287cd3c2bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "369306f633a83da2fe5fbf249c48d7786171600fa4bf396840b00287cd3c2bfb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "369306f633a83da2fe5fbf249c48d7786171600fa4bf396840b00287cd3c2bfb", kill_on_drop: false }` [INFO] [stdout] 369306f633a83da2fe5fbf249c48d7786171600fa4bf396840b00287cd3c2bfb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 40e7d2b9cdf0ad5d4910a840ae6bb2b3555f9bcecf9e4bad9a4250169e4ce979 [INFO] running `Command { std: "docker" "start" "-a" "40e7d2b9cdf0ad5d4910a840ae6bb2b3555f9bcecf9e4bad9a4250169e4ce979", kill_on_drop: false }` [INFO] [stderr] Checking rust-data-structure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `value`, `prev`, and `next` are never read [INFO] [stdout] --> src/double_linked_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | prev: LinkNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | next: LinkNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/double_linked_list.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(value: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoubleLinkedList` is never constructed [INFO] [stdout] --> src/double_linked_list.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct DoubleLinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/double_linked_list.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl DoubleLinkedList [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | T: PartialEq, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 31 | { [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add(&mut self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn append(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn insert(&mut self, value: T, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn search(&self, value: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn remove(&mut self, value: T) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn traverse(&self, f: F) -> impl Iterator>>> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeIter` is never constructed [INFO] [stdout] --> src/double_linked_list.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct NodeIter [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_empty` and `length` are never used [INFO] [stdout] --> src/double_linked_list.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl DoubleLinkedList [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | T: PartialEq, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "40e7d2b9cdf0ad5d4910a840ae6bb2b3555f9bcecf9e4bad9a4250169e4ce979", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40e7d2b9cdf0ad5d4910a840ae6bb2b3555f9bcecf9e4bad9a4250169e4ce979", kill_on_drop: false }` [INFO] [stdout] 40e7d2b9cdf0ad5d4910a840ae6bb2b3555f9bcecf9e4bad9a4250169e4ce979 [INFO] checking one0day/rust-data-structure 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%2Fone0day%2Frust-data-structure" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/one0day/rust-data-structure 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/one0day/rust-data-structure [INFO] finished tweaking git repo https://github.com/one0day/rust-data-structure [INFO] tweaked toml for git repo https://github.com/one0day/rust-data-structure written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/one0day/rust-data-structure 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 0121cfc8e7267e043fdbf23fc9bd51757b2976f53175da2c9b2075862124af90 [INFO] running `Command { std: "docker" "start" "-a" "0121cfc8e7267e043fdbf23fc9bd51757b2976f53175da2c9b2075862124af90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0121cfc8e7267e043fdbf23fc9bd51757b2976f53175da2c9b2075862124af90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0121cfc8e7267e043fdbf23fc9bd51757b2976f53175da2c9b2075862124af90", kill_on_drop: false }` [INFO] [stdout] 0121cfc8e7267e043fdbf23fc9bd51757b2976f53175da2c9b2075862124af90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 6d7919b1844ed06cc2876e7813f9b2320e47ef1c9de50fce2411bfa5f61062b9 [INFO] running `Command { std: "docker" "start" "-a" "6d7919b1844ed06cc2876e7813f9b2320e47ef1c9de50fce2411bfa5f61062b9", kill_on_drop: false }` [INFO] [stderr] Checking rust-data-structure v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `value`, `prev`, and `next` are never read [INFO] [stdout] --> src/double_linked_list.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | value: T, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | prev: LinkNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | next: LinkNode, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/double_linked_list.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 13 | pub fn new(value: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoubleLinkedList` is never constructed [INFO] [stdout] --> src/double_linked_list.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct DoubleLinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/double_linked_list.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl DoubleLinkedList [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | T: PartialEq, [INFO] [stdout] | |_________________- associated items in this implementation [INFO] [stdout] 31 | { [INFO] [stdout] 32 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn length(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add(&mut self, value: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn append(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn insert(&mut self, value: T, index: usize) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn search(&self, value: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn remove(&mut self, value: T) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn traverse(&self, f: F) -> impl Iterator>>> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NodeIter` is never constructed [INFO] [stdout] --> src/double_linked_list.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 141 | struct NodeIter [INFO] [stdout] | ^^^^^^^^ [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/double_linked_list.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(value: T) -> Rc> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 15 | | value, [INFO] [stdout] 16 | | prev: None, [INFO] [stdout] 17 | | next: None, [INFO] [stdout] 18 | | })) [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/double_linked_list.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn search(&self, value: T) -> bool { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | / self.traverse(|node| node.borrow().value == value) [INFO] [stdout] 105 | | .next() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/double_linked_list.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | self.traverse(|node| node.borrow().value == value) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/double_linked_list.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(node) = self.traverse(|node| node.borrow().value == value).next() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/double_linked_list.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn traverse(&self, f: F) -> impl Iterator>>> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | next: self.head.clone(), [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 5 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-data-structure` (bin "rust-data-structure") due to 6 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `is_empty` and `length` are never used [INFO] [stdout] --> src/double_linked_list.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 28 | / impl DoubleLinkedList [INFO] [stdout] 29 | | where [INFO] [stdout] 30 | | T: PartialEq, [INFO] [stdout] | |_________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn length(&self) -> usize { [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/double_linked_list.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(value: T) -> Rc> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 14 | Rc::new(RefCell::new(Node { [INFO] [stdout] | _________________^ [INFO] [stdout] 15 | | value, [INFO] [stdout] 16 | | prev: None, [INFO] [stdout] 17 | | next: None, [INFO] [stdout] 18 | | })) [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/double_linked_list.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn search(&self, value: T) -> bool { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 104 | / self.traverse(|node| node.borrow().value == value) [INFO] [stdout] 105 | | .next() [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/double_linked_list.rs:104:30 [INFO] [stdout] | [INFO] [stdout] 104 | self.traverse(|node| node.borrow().value == value) [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/double_linked_list.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | if let Some(node) = self.traverse(|node| node.borrow().value == value).next() { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/double_linked_list.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 130 | pub fn traverse(&self, f: F) -> impl Iterator>>> [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 135 | next: self.head.clone(), [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 5 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-data-structure` (bin "rust-data-structure" test) due to 6 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "6d7919b1844ed06cc2876e7813f9b2320e47ef1c9de50fce2411bfa5f61062b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7919b1844ed06cc2876e7813f9b2320e47ef1c9de50fce2411bfa5f61062b9", kill_on_drop: false }` [INFO] [stdout] 6d7919b1844ed06cc2876e7813f9b2320e47ef1c9de50fce2411bfa5f61062b9