[INFO] cloning repository https://github.com/DashaPoliazz/bicycles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DashaPoliazz/bicycles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDashaPoliazz%2Fbicycles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDashaPoliazz%2Fbicycles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1bfa29ce7b4a0a9f7d838f84077c84f907ca18fa [INFO] checking DashaPoliazz/bicycles/1bfa29ce7b4a0a9f7d838f84077c84f907ca18fa 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%2FDashaPoliazz%2Fbicycles" "/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/DashaPoliazz/bicycles 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/DashaPoliazz/bicycles [INFO] finished tweaking git repo https://github.com/DashaPoliazz/bicycles [INFO] tweaked toml for git repo https://github.com/DashaPoliazz/bicycles written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 24 packages to latest compatible versions [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [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-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66aa639cce6622c037d5149ba8c345be3aacfb895efa2e49ccf11274283ed25c [INFO] running `Command { std: "docker" "start" "-a" "66aa639cce6622c037d5149ba8c345be3aacfb895efa2e49ccf11274283ed25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66aa639cce6622c037d5149ba8c345be3aacfb895efa2e49ccf11274283ed25c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66aa639cce6622c037d5149ba8c345be3aacfb895efa2e49ccf11274283ed25c", kill_on_drop: false }` [INFO] [stdout] 66aa639cce6622c037d5149ba8c345be3aacfb895efa2e49ccf11274283ed25c [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=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] 0959af77c978414ce54fac4f77edadb6d78dc13592a34472d830d4cc01b978cd [INFO] running `Command { std: "docker" "start" "-a" "0959af77c978414ce54fac4f77edadb6d78dc13592a34472d830d4cc01b978cd", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking heap v0.1.0 (/opt/rustwide/workdir/data_structures/heap) [INFO] [stderr] Checking binary_tree v0.1.0 (/opt/rustwide/workdir/data_structures/binary_tree) [INFO] [stderr] Checking quick_sort v0.1.0 (/opt/rustwide/workdir/algoritms/quick_sort) [INFO] [stderr] Checking bicycles v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking bubble_sort v0.1.0 (/opt/rustwide/workdir/algoritms/bubble_sort) [INFO] [stderr] Checking singly_linked_list v0.1.0 (/opt/rustwide/workdir/data_structures/singly_linked_list) [INFO] [stderr] Checking doubly_linked_list v0.1.0 (/opt/rustwide/workdir/data_structures/doubly_linked_list) [INFO] [stderr] Checking merge_sort v0.1.0 (/opt/rustwide/workdir/algoritms/merge_sort) [INFO] [stdout] warning: struct `LinkedList` is never constructed [INFO] [stdout] --> data_structures/singly_linked_list/src/lib.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct LinkedList(Option<(T, Box>)>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_front`, and `push_back` are never used [INFO] [stdout] --> data_structures/singly_linked_list/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl LinkedList { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 4 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | pub fn push_front(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 13 | pub fn push_back(&mut self, val: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `partition` is never used [INFO] [stdout] --> algoritms/quick_sort/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn partition(left: usize, right: usize, xs: &mut Vec) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `qs` is never used [INFO] [stdout] --> algoritms/quick_sort/src/lib.rs:17:4 [INFO] [stdout] | [INFO] [stdout] 17 | fn qs(left: usize, right: usize, xs: &mut Vec) { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `quick_sort` is never used [INFO] [stdout] --> algoritms/quick_sort/src/lib.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn quick_sort(xs: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> data_structures/binary_tree/src/lib.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Node [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] --> data_structures/binary_tree/src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Node [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: PartialOrd, [INFO] [stdout] | |__________________- associated function in this implementation [INFO] [stdout] 13 | { [INFO] [stdout] 14 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubble_sort` is never used [INFO] [stdout] --> algoritms/bubble_sort/src/lib.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn bubble_sort(v: &mut [T]) -> &[T] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinarySearchTree` is never constructed [INFO] [stdout] --> data_structures/binary_tree/src/lib.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct BinarySearchTree(Option>>); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert`, `inorder`, and `inorder_traverse` are never used [INFO] [stdout] --> data_structures/binary_tree/src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 24 | / impl BinarySearchTree [INFO] [stdout] 25 | | where [INFO] [stdout] 26 | | T: PartialOrd, [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] 27 | { [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn insert(&mut self, value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn inorder(&self) -> Vec [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn inorder_traverse(&self, mut result: Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [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] --> data_structures/binary_tree/src/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 17 | left: BinarySearchTree(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] --> data_structures/binary_tree/src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 18 | right: BinarySearchTree(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: aborting due to 2 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binary_tree` (lib) due to 3 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> data_structures/heap/src/lib.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | for n in 0..11 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_parent` is never used [INFO] [stdout] --> data_structures/heap/src/lib.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Heap [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: PartialOrd, [INFO] [stdout] 13 | | F: Fn(&T, &T) -> bool, [INFO] [stdout] | |__________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 104 | fn get_parent(&self, idx: usize) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> data_structures/binary_tree/src/lib.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let mut inorder_traversal = bst.inorder(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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] --> data_structures/binary_tree/src/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 17 | left: BinarySearchTree(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] --> data_structures/binary_tree/src/lib.rs:18:20 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 18 | right: BinarySearchTree(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] warning: function `merge` is never used [INFO] [stdout] --> algoritms/merge_sort/src/lib.rs:1:4 [INFO] [stdout] | [INFO] [stdout] 1 | fn merge(left: &[T], right: &[T]) -> Vec [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `merge_sort` is never used [INFO] [stdout] --> algoritms/merge_sort/src/lib.rs:28:4 [INFO] [stdout] | [INFO] [stdout] 28 | fn merge_sort(xs: Vec) -> Vec [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `binary_tree` (lib test) due to 3 previous errors; 1 warning emitted [INFO] [stdout] warning: type alias `NodeStrongRef` is never used [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type NodeStrongRef = Rc>; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeWeakRef` is never used [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type NodeWeakRef = Weak>; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `set_next`, and `set_prev` are never used [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 13 | impl Node { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 14 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn set_next(&mut self, next: NodeStrongRef>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn set_prev(&mut self, prev: NodeWeakRef>) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DEQ` is never constructed [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | struct DEQ { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> data_structures/doubly_linked_list/src/lib.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 37 | impl DEQ { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 38 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn peek_front(&self) -> Option [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn peek_back(&self) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | fn push_front(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn push_back(&mut self, value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn pop_front(&mut self) -> Option [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn pop_back(&mut self) -> Option [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] --> data_structures/doubly_linked_list/src/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 17 | prev: 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] --> data_structures/doubly_linked_list/src/lib.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 18 | next: 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: aborting due to 2 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Heap` is never constructed [INFO] [stdout] --> data_structures/heap/src/lib.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Heap [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> data_structures/heap/src/lib.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Heap [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: PartialOrd, [INFO] [stdout] 13 | | F: Fn(&T, &T) -> bool, [INFO] [stdout] | |__________________________- associated items in this implementation [INFO] [stdout] 14 | { [INFO] [stdout] 15 | fn new(comparator: F) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | fn heapify_up(&mut self, mut idx: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | fn heapify_down(&mut self, idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn swap_with_left(&mut self, parent_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | fn swap_with_right(&mut self, parent_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_left_child_idx(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn get_left_child(&self, idx: usize) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | fn get_right_child_idx(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn get_right_child(&self, idx: usize) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | fn get_parent_idx(&self, idx: usize) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | fn get_parent(&self, idx: usize) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doubly_linked_list` (lib) due to 3 previous errors; 7 warnings emitted [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] --> data_structures/doubly_linked_list/src/lib.rs:17:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 17 | prev: 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] --> data_structures/doubly_linked_list/src/lib.rs:18:19 [INFO] [stdout] | [INFO] [stdout] 14 | 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] 18 | next: 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: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `doubly_linked_list` (lib test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "0959af77c978414ce54fac4f77edadb6d78dc13592a34472d830d4cc01b978cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0959af77c978414ce54fac4f77edadb6d78dc13592a34472d830d4cc01b978cd", kill_on_drop: false }` [INFO] [stdout] 0959af77c978414ce54fac4f77edadb6d78dc13592a34472d830d4cc01b978cd