[INFO] cloning repository https://github.com/Migorithm/ralgorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Migorithm/ralgorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMigorithm%2Fralgorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMigorithm%2Fralgorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2bc56224fa8d4126f8b73c096bc195c058746e56 [INFO] checking Migorithm/ralgorithm/2bc56224fa8d4126f8b73c096bc195c058746e56 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMigorithm%2Fralgorithm" "/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/Migorithm/ralgorithm on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Migorithm/ralgorithm [INFO] finished tweaking git repo https://github.com/Migorithm/ralgorithm [INFO] tweaked toml for git repo https://github.com/Migorithm/ralgorithm written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Migorithm/ralgorithm 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b915b7da8e550e3ca1b1684cac98b3752aef5c535ba4adf5e9bed7b4753c87d [INFO] running `Command { std: "docker" "start" "-a" "3b915b7da8e550e3ca1b1684cac98b3752aef5c535ba4adf5e9bed7b4753c87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b915b7da8e550e3ca1b1684cac98b3752aef5c535ba4adf5e9bed7b4753c87d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b915b7da8e550e3ca1b1684cac98b3752aef5c535ba4adf5e9bed7b4753c87d", kill_on_drop: false }` [INFO] [stdout] 3b915b7da8e550e3ca1b1684cac98b3752aef5c535ba4adf5e9bed7b4753c87d [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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1a225f2cc0dccf766f04181cbde90f89f5a5234dc4f7ef50bd504096437fbc0 [INFO] running `Command { std: "docker" "start" "-a" "b1a225f2cc0dccf766f04181cbde90f89f5a5234dc4f7ef50bd504096437fbc0", kill_on_drop: false }` [INFO] [stderr] Checking algo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/algorithms/btree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/algorithms/btree.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | fn send_event_a(&self, e: &EventA) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn send_event_b(&self, e: &EventB) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn send_event_c(&self, e: &EventC) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | fn send_event_a(&self, e: &EventA) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn send_event_b(&self, e: &EventB) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | fn send_event_c(&self, e: &EventC) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algo` (lib) due to 4 previous errors; 29 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: struct `DoubleArray` is never constructed [INFO] [stdout] --> src/data_structure/array_doubling.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct DoubleArray { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `len`, and `capacity` are never used [INFO] [stdout] --> src/data_structure/array_doubling.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl DoubleArray { [INFO] [stdout] | -------------------------------------------------------------- methods in this implementation [INFO] [stdout] 7 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PowerAdapter` is never constructed [INFO] [stdout] --> src/designs/adapter/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct PowerAdapter { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `convert`, `convert_bolt`, and `connect` are never used [INFO] [stdout] --> src/designs/adapter/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 10 | / impl PowerAdapter [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: TPlug, [INFO] [stdout] | |_____________- associated items in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | fn new(port: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn convert(self, port: U) -> PowerAdapter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn convert_bolt(&self) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn connect(&self, receptacle: impl TReceptacle) -> Result<(), &'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Memento` is never used [INFO] [stdout] --> src/designs/memento/mod.rs:1:7 [INFO] [stdout] | [INFO] [stdout] 1 | trait Memento { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Document` is never constructed [INFO] [stdout] --> src/designs/memento/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct Document { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `save`, and `edit` are never used [INFO] [stdout] --> src/designs/memento/mod.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Document { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new(content: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn save(&self) -> DocumentBackup { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn edit(&mut self, new_content: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DocumentBackup` is never constructed [INFO] [stdout] --> src/designs/memento/mod.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | struct DocumentBackup { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `KimbabType` is never used [INFO] [stdout] --> src/designs/factory/mod.rs:2:6 [INFO] [stdout] | [INFO] [stdout] 2 | enum KimbabType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TKimbabStore` is never used [INFO] [stdout] --> src/designs/factory/mod.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | trait TKimbabStore { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TKimbab` is never used [INFO] [stdout] --> src/designs/factory/mod.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | trait TKimbab { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NYKimbabStore` is never constructed [INFO] [stdout] --> src/designs/factory/mod.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | struct NYKimbabStore; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NYTunaKimbab` is never constructed [INFO] [stdout] --> src/designs/factory/mod.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | struct NYTunaKimbab; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NYVeggieKimbab` is never constructed [INFO] [stdout] --> src/designs/factory/mod.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | struct NYVeggieKimbab; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventA` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct EventA; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventB` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct EventB; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventC` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct EventC; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TSender` is never used [INFO] [stdout] --> src/designs/visitor/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait TSender { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TNotification` is never used [INFO] [stdout] --> src/designs/visitor/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait TNotification { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmailSender` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct EmailSender; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlackSender` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct SlackSender; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/designs/visitor/mod.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn main() { [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/algorithms/search/binary_search_tree.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | left: None, [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/algorithms/search/binary_search_tree.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | right: None, [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/algorithms/search/binary_search_tree.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn delete(&mut self, value: T) -> Option>> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Some(Box::new(self.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 3 previous errors; 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:36:28 [INFO] [stdout] | [INFO] [stdout] 36 | fn send_event_a(&self, e: &EventA) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn send_event_b(&self, e: &EventB) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:44:28 [INFO] [stdout] | [INFO] [stdout] 44 | fn send_event_c(&self, e: &EventC) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:51:28 [INFO] [stdout] | [INFO] [stdout] 51 | fn send_event_a(&self, e: &EventA) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:55:28 [INFO] [stdout] | [INFO] [stdout] 55 | fn send_event_b(&self, e: &EventB) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/designs/visitor/mod.rs:59:28 [INFO] [stdout] | [INFO] [stdout] 59 | fn send_event_c(&self, e: &EventC) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `convert` is never used [INFO] [stdout] --> src/designs/adapter/mod.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 10 | / impl PowerAdapter [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: TPlug, [INFO] [stdout] | |_____________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 17 | fn convert(self, port: U) -> PowerAdapter { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Tuna` is never constructed [INFO] [stdout] --> src/designs/factory/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 2 | enum KimbabType { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] 3 | Tuna, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventA` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct EventA; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventB` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct EventB; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventC` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct EventC; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TSender` is never used [INFO] [stdout] --> src/designs/visitor/mod.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait TSender { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `TNotification` is never used [INFO] [stdout] --> src/designs/visitor/mod.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | trait TNotification { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EmailSender` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | struct EmailSender; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlackSender` is never constructed [INFO] [stdout] --> src/designs/visitor/mod.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | struct SlackSender; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/designs/visitor/mod.rs:64:4 [INFO] [stdout] | [INFO] [stdout] 64 | fn main() { [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/algorithms/search/binary_search_tree.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 13 | left: None, [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/algorithms/search/binary_search_tree.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 10 | pub fn new(value: T) -> Self { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 14 | right: None, [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/algorithms/search/binary_search_tree.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn delete(&mut self, value: T) -> Option>> { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 78 | Some(Box::new(self.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 3 previous errors; 17 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `algo` (lib test) due to 4 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "b1a225f2cc0dccf766f04181cbde90f89f5a5234dc4f7ef50bd504096437fbc0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a225f2cc0dccf766f04181cbde90f89f5a5234dc4f7ef50bd504096437fbc0", kill_on_drop: false }` [INFO] [stdout] b1a225f2cc0dccf766f04181cbde90f89f5a5234dc4f7ef50bd504096437fbc0